POST web/Order/IFTHENOrder

Request Information

URI Parameters

None.

Body Parameters

CreateOrderBook
NameDescriptionTypeAdditional information
order

OrderBook

None.

orderlist_transaction

OrderBookListTransaction

None.

Request Formats

application/json, text/json

Sample:
{
  "order": {
    "order_type": {
      "value": "sample string 1",
      "id": 2
    },
    "entry_date": "sample string 1",
    "expiry_type": {
      "value": "sample string 1",
      "id": 2
    },
    "expiry_date": "sample string 2",
    "expiry_time": "sample string 3"
  },
  "orderlist_transaction": {
    "type": "sample string 1",
    "order_basis": {
      "value": "sample string 1",
      "id": 2
    },
    "buy_currency": {
      "value": "sample string 1",
      "id": 2
    },
    "sell_currency": {
      "value": "sample string 1",
      "id": 2
    },
    "buy_amount": 2.0,
    "sell_amount": 3.0,
    "rate": 4.0
  }
}

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

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.