POST web/Deal/DealSettlement

Request Information

URI Parameters

None.

Body Parameters

CreateDealSettlements
NameDescriptionTypeAdditional information
detail

PaymentDetail

None.

settlements

DealSettlements

Required

Request Formats

application/json, text/json

Sample:
{
  "detail": {
    "entity": {
      "value": "sample string 1",
      "id": 2
    },
    "booker_value": "sample string 1",
    "trader": {
      "value": "sample string 1",
      "id": 2
    },
    "recordid": 2
  },
  "settlements": {
    "action": {
      "value": "sample string 1",
      "id": 2
    },
    "currency": {
      "value": "sample string 1",
      "id": 2
    },
    "amount": 1.0,
    "value_date": "sample string 2",
    "account_id": "sample string 3",
    "payee": {
      "value": "sample string 1",
      "id": 2
    }
  }
}

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 'CreateDealSettlements'.

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.