POST api/TillMenu/SaleIDs
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.clsNextSaleArgumentsName | Description | Type | Additional information |
---|---|---|---|
ReserveOrderTypes |
See api/Sales/Channels |
Collection of integer |
None. |
TillNumber | integer |
Required |
|
StoreNumber | string |
Required String length: inclusive between 3 and 3 |
Request Formats
application/json, text/json
Sample:
{ "ReserveOrderTypes": [ 1, 2 ], "TillNumber": 1, "StoreNumber": "sample string 2" }
application/xml, text/xml
Sample:
<clsNextSaleArguments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <ReserveOrderTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ReserveOrderTypes> <StoreNumber>sample string 2</StoreNumber> <TillNumber>1</TillNumber> </clsNextSaleArguments>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EskimoClassLibraries.clsNextSaleIDInfoName | Description | Type | Additional information |
---|---|---|---|
ReceiptNumber | integer |
None. |
|
StoreNumber | string |
None. |
|
TillNumber | integer |
None. |
|
OrderNumbers | Collection of EskimoClassLibraries.OrderIDs |
None. |
Response Formats
application/json, text/json
Sample:
{ "ReceiptNumber": 1, "StoreNumber": "sample string 2", "TillNumber": 3, "OrderNumbers": [ { "OrderType": 1, "Value": 2 }, { "OrderType": 1, "Value": 2 } ] }
application/xml, text/xml
Sample:
<clsNextSaleIDInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <OrderNumbers> <OrderIDs> <OrderType>1</OrderType> <Value>2</Value> </OrderIDs> <OrderIDs> <OrderType>1</OrderType> <Value>2</Value> </OrderIDs> </OrderNumbers> <ReceiptNumber>1</ReceiptNumber> <StoreNumber>sample string 2</StoreNumber> <TillNumber>3</TillNumber> </clsNextSaleIDInfo>