POST fxo/Order/AmendOrder

Request Information

URI Parameters

None.

Body Parameters

AmendOrder
NameDescriptionTypeAdditional information
order

AmendOrderBook

None.

order_detail

OrderDetail

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",
    "is_cancel_order": true
  },
  "order_detail": {
    "order_id": 1,
    "order_detail_id": "sample string 2",
    "type": "sample string 3",
    "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": 4.0,
    "sell_amount": 5.0,
    "rate": 6.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 'AmendOrder'.

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.