POST web/Deal/Revenue

Request Information

URI Parameters

None.

Body Parameters

CreateRevenue
NameDescriptionTypeAdditional information
master

RevenueMaster

None.

detail

RevenueDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "master": {
    "record_id": "sample string 1",
    "entity_id": "sample string 2",
    "booker_id": "sample string 3",
    "trader_id": "sample string 4"
  },
  "detail": {
    "revenue_currency": "sample string 1",
    "revenue_type_id": "sample string 2",
    "inv_act_type": "sample string 3",
    "fee_amount": 4.1
  }
}

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

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.