POST web/DrawDown/ValidateDrawDownTransactions

Request Information

URI Parameters

None.

Body Parameters

ValidateDrawDownTransactions
NameDescriptionTypeAdditional information
detail

DrawDownTransactionsDetail

None.

deal

DrawdownDeal

Required

Request Formats

application/json, text/json

Sample:
{
  "detail": {
    "trans_id": 1,
    "buy_amount": 2.1,
    "exchange_rate": 3.1,
    "market_rate": 4.1,
    "sell_amount": 5.1,
    "drawdown_type_id": 6
  },
  "deal": {
    "value_date": "sample string 1",
    "remarks": "sample string 2",
    "deal_type": {
      "value": "sample string 1",
      "id": 2
    },
    "inv_org_id": "sample string 3",
    "trans_type": "sample string 4"
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ValidateDrawDownTransactions'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.