POST cyapi/pos/getSaleId
Request Information
URI Parameters
None.
Body Parameters
GetSaleIdRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| sktno | string |
None. |
|
| sktno | string |
None. |
|
| terminalNo | string |
None. |
|
| proType | integer |
None. |
|
| version | string |
None. |
|
| timeStamp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"sktno": "sample string 1",
"terminalNo": "sample string 3",
"proType": 4,
"version": "sample string 5",
"timeStamp": "sample string 6"
}
application/xml, text/xml
Sample:
<GetSaleIdRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosLibrary.PubData"> <proType>4</proType> <sktno>sample string 2</sktno> <terminalNo>sample string 3</terminalNo> <timeStamp>sample string 6</timeStamp> <version>sample string 5</version> <sktno>sample string 1</sktno> </GetSaleIdRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetSaleIdResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| saleId | integer |
None. |
|
| retCode | string |
None. |
|
| retMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"saleId": 1,
"retCode": "sample string 2",
"retMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<GetSaleIdResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosLibrary.PubData"> <retCode>sample string 2</retCode> <retMessage>sample string 3</retMessage> <saleId>1</saleId> </GetSaleIdResponse>