POST api/RestaurantQRCode/PlaceCustomerOrder
Request Information
URI Parameters
None.
Body Parameters
CustomerPlaceOrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| QRToken | string |
None. |
|
| IdempotencyKey | string |
None. |
|
| CustomerName | string |
None. |
|
| CustomerMobile | string |
None. |
|
| OrderNotes | string |
None. |
|
| PaymentMethod | string |
None. |
|
| Items | Collection of CustomerOrderItemDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"QRToken": "sample string 1",
"IdempotencyKey": "sample string 2",
"CustomerName": "sample string 3",
"CustomerMobile": "sample string 4",
"OrderNotes": "sample string 5",
"PaymentMethod": "sample string 6",
"Items": [
{
"MenuItemId": 1,
"Quantity": 2,
"SpecialInstructions": "sample string 3"
},
{
"MenuItemId": 1,
"Quantity": 2,
"SpecialInstructions": "sample string 3"
}
]
}
text/xml
Sample:
<CustomerPlaceOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectAPI.Models">
<CustomerMobile>sample string 4</CustomerMobile>
<CustomerName>sample string 3</CustomerName>
<IdempotencyKey>sample string 2</IdempotencyKey>
<Items>
<CustomerOrderItemDTO>
<MenuItemId>1</MenuItemId>
<Quantity>2</Quantity>
<SpecialInstructions>sample string 3</SpecialInstructions>
</CustomerOrderItemDTO>
<CustomerOrderItemDTO>
<MenuItemId>1</MenuItemId>
<Quantity>2</Quantity>
<SpecialInstructions>sample string 3</SpecialInstructions>
</CustomerOrderItemDTO>
</Items>
<OrderNotes>sample string 5</OrderNotes>
<PaymentMethod>sample string 6</PaymentMethod>
<QRToken>sample string 1</QRToken>
</CustomerPlaceOrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />