POST api/weborder/alternative
Provides a true/false on creation of a web order, given an alternative web order create model.
Request Information
URI Parameters
None.
Body Parameters
The alternative web order create model.
PublicAPI.Models.WebOrderHeaderCreateDTOAlternativeOfLineCreateModelAlternativeName | Description | Type | Additional information |
---|---|---|---|
OrderNo | string |
Required String length: inclusive between 0 and 255 |
|
ShopId | integer |
Required Range: inclusive between 1 and 2147483647 |
|
OrderReference | string |
String length: inclusive between 0 and 255 |
|
OrderedOn | date |
None. |
|
PickedUpOn | date |
None. |
|
IsPaid | boolean |
Required Range: inclusive between false and true |
|
LoyaltyMemberId | string |
String length: inclusive between 0 and 255 |
|
MemberId | integer |
Required Range: inclusive between 0 and 2147483647 |
|
ReceiveAddress | string |
String length: inclusive between 0 and 255 |
|
ReturnAddress | string |
String length: inclusive between 0 and 2147483647 |
|
WebOrderLines | Collection of LineCreateModelAlternative |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderNo": "sample string 1", "ShopId": 2, "OrderReference": "sample string 3", "OrderedOn": "2025-05-04T05:13:32.459092+02:00", "PickedUpOn": "2025-05-04T05:13:32.459092+02:00", "IsPaid": true, "LoyaltyMemberId": "sample string 5", "MemberId": 6, "ReceiveAddress": "sample string 7", "ReturnAddress": "sample string 8", "WebOrderLines": [ { "Ean": "sample string 1", "SalesPrice": 2.1, "EffectiveSalesPrice": 3.1, "DiscountAmount": 4.1, "DeliveryNo": "sample string 5", "Notes": "sample string 6" }, { "Ean": "sample string 1", "SalesPrice": 2.1, "EffectiveSalesPrice": 3.1, "DiscountAmount": 4.1, "DeliveryNo": "sample string 5", "Notes": "sample string 6" } ] }
application/xml, text/xml
Sample:
<WebOrderHeaderCreateDTOAlternativeOfWebOrderLineCreateDTOAlternativeiTlCtTkQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <ReceiveAddress>sample string 7</ReceiveAddress> <ReturnAddress>sample string 8</ReturnAddress> <WebOrderLines> <WebOrderLineCreateDTOAlternative> <DeliveryNo>sample string 5</DeliveryNo> <DiscountAmount>4.1</DiscountAmount> <EffectiveSalesPrice>3.1</EffectiveSalesPrice> <Notes>sample string 6</Notes> <SalesPrice>2.1</SalesPrice> <Ean>sample string 1</Ean> </WebOrderLineCreateDTOAlternative> <WebOrderLineCreateDTOAlternative> <DeliveryNo>sample string 5</DeliveryNo> <DiscountAmount>4.1</DiscountAmount> <EffectiveSalesPrice>3.1</EffectiveSalesPrice> <Notes>sample string 6</Notes> <SalesPrice>2.1</SalesPrice> <Ean>sample string 1</Ean> </WebOrderLineCreateDTOAlternative> </WebOrderLines> <IsPaid>true</IsPaid> <LoyaltyMemberId>sample string 5</LoyaltyMemberId> <MemberId>6</MemberId> <OrderNo>sample string 1</OrderNo> <OrderReference>sample string 3</OrderReference> <OrderedOn>2025-05-04T05:13:32.459092+02:00</OrderedOn> <PickedUpOn>2025-05-04T05:13:32.459092+02:00</PickedUpOn> <ShopId>2</ShopId> </WebOrderHeaderCreateDTOAlternativeOfWebOrderLineCreateDTOAlternativeiTlCtTkQ>
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>