PUT api/weborder
Provides a true/false on update of a web order, given a web order update model.
Request Information
URI Parameters
None.
Body Parameters
The web order update model
HeaderUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderNo | string |
String length: inclusive between 0 and 255 |
|
| ReceiveAddress | string |
String length: inclusive between 0 and 255 |
|
| ReturnAddress | string |
String length: inclusive between 0 and 2147483647 |
|
| WebOrderLines | Collection of LineUpdateModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderNo": "sample string 1",
"ReceiveAddress": "sample string 2",
"ReturnAddress": "sample string 3",
"WebOrderLines": [
{
"Id": 1,
"SalesPrice": 2.1,
"EffectiveSalesPrice": 3.1,
"DiscountAmount": 4.1,
"DeliveryNo": "sample string 5",
"Notes": "sample string 6"
},
{
"Id": 1,
"SalesPrice": 2.1,
"EffectiveSalesPrice": 3.1,
"DiscountAmount": 4.1,
"DeliveryNo": "sample string 5",
"Notes": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<WebOrderHeaderUpdateDTOOfWebOrderLineUpdateDTOiTlCtTkQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
<ReceiveAddress>sample string 2</ReceiveAddress>
<ReturnAddress>sample string 3</ReturnAddress>
<WebOrderLines>
<WebOrderLineUpdateDTO>
<DeliveryNo>sample string 5</DeliveryNo>
<DiscountAmount>4.1</DiscountAmount>
<EffectiveSalesPrice>3.1</EffectiveSalesPrice>
<Notes>sample string 6</Notes>
<SalesPrice>2.1</SalesPrice>
<Id>1</Id>
</WebOrderLineUpdateDTO>
<WebOrderLineUpdateDTO>
<DeliveryNo>sample string 5</DeliveryNo>
<DiscountAmount>4.1</DiscountAmount>
<EffectiveSalesPrice>3.1</EffectiveSalesPrice>
<Notes>sample string 6</Notes>
<SalesPrice>2.1</SalesPrice>
<Id>1</Id>
</WebOrderLineUpdateDTO>
</WebOrderLines>
<OrderNo>sample string 1</OrderNo>
</WebOrderHeaderUpdateDTOOfWebOrderLineUpdateDTOiTlCtTkQ>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Bool
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>