POST api/draftorderv2/savedraftorderlinediscount
Request Information
URI Parameters
None.
Body Parameters
DraftOrderLineDiscount| Name | Description | Type | Additional information |
|---|---|---|---|
| ChannelOrderRef | string |
None. |
|
| LineNo | integer |
None. |
|
| DiscGiven | decimal number |
None. |
|
| DiscReason | integer |
None. |
|
| InPerc | boolean |
None. |
|
| UpdatedBy | string |
None. |
|
| ClientID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ChannelOrderRef": "sample string 1",
"LineNo": 2,
"DiscGiven": 3.0,
"DiscReason": 4,
"InPerc": true,
"UpdatedBy": "sample string 6",
"ClientID": 7
}
application/xml, text/xml
Sample:
<DraftOrderLineDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Modulusv4.Domain"> <ChannelOrderRef>sample string 1</ChannelOrderRef> <ClientID>7</ClientID> <DiscGiven>3</DiscGiven> <DiscReason>4</DiscReason> <InPerc>true</InPerc> <LineNo>2</LineNo> <UpdatedBy>sample string 6</UpdatedBy> </DraftOrderLineDiscount>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |