POST api/Orders/SetLineStatus
Sets the status of order lines.
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.SetLineStatusArgumentsName | Description | Type | Additional information |
---|---|---|---|
OrderId | integer |
Required |
|
Lines | Collection of EskimoClassLibraries.LineStatusSub |
Required |
Request Formats
application/json, text/json
Sample:
{ "OrderId": 1, "Lines": [ { "LineId": "sample string 1", "NewStatus": 0 }, { "LineId": "sample string 1", "NewStatus": 0 } ] }
application/xml, text/xml
Sample:
<SetLineStatusArguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <Lines> <LineStatusSub> <LineId>sample string 1</LineId> <NewStatus>InitialStatus</NewStatus> </LineStatusSub> <LineStatusSub> <LineId>sample string 1</LineId> <NewStatus>InitialStatus</NewStatus> </LineStatusSub> </Lines> <OrderId>1</OrderId> </SetLineStatusArguments>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |