PUT web/Order

Request Information

URI Parameters

None.

Body Parameters

UpdateOrder
NameDescriptionTypeAdditional information
order

Orders

Required

orderlist_transaction

OrderListTransactions

None.

Request Formats

application/json, text/json

Sample:
{
  "order": {
    "record_id": 1,
    "entity": {
      "value": "sample string 1",
      "id": 2
    },
    "order_type": {
      "value": "sample string 1",
      "id": 2
    },
    "cancel_link": {
      "value": "sample string 1",
      "id": 2
    },
    "email_address": "sample string 2",
    "order_basis": {
      "value": "sample string 1",
      "id": 2
    },
    "deal_type": {
      "value": "sample string 1",
      "id": 2
    },
    "start_date": "sample string 3",
    "value_date": "sample string 4",
    "status": {
      "value": "sample string 1",
      "id": 2
    },
    "entry_date": "sample string 5",
    "expiry_type": {
      "value": "sample string 1",
      "id": 2
    },
    "expiry_date": "sample string 6",
    "expiry_time": "sample string 7",
    "remarks": "sample string 8"
  },
  "orderlist_transaction": {
    "type": "sample string 1",
    "buy_currency": {
      "value": "sample string 1",
      "id": 2
    },
    "sell_currency": {
      "value": "sample string 1",
      "id": 2
    },
    "amount": 2.0,
    "rate": 3.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 'UpdateOrder'.

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.