POST api/CancelOrder

Request Information

URI Parameters

None.

Body Parameters

OrderC
NameDescriptionTypeAdditional information
OrderID

integer

None.

Line

integer

None.

Qty

integer

None.

Reason

string

None.

CancelCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderID": 1,
  "Line": 2,
  "Qty": 3,
  "Reason": "sample string 4",
  "CancelCode": "sample string 5"
}

text/xml

Sample:
<OrderC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WoApp.Controllers">
  <CancelCode>sample string 5</CancelCode>
  <Line>2</Line>
  <OrderID>1</OrderID>
  <Qty>3</Qty>
  <Reason>sample string 4</Reason>
</OrderC>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.