| GET | /POS/Shared/Receipts/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | POS_SharedReceipt | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ReceiptID | form | Guid | No | |
| ReceiptNum | form | int | No | |
| PosId | form | int | No | |
| CashierId | form | int | No | |
| AltNum | form | string | No | |
| StoreType | form | int | No | |
| CreateTime | form | DateTime | No | |
| ExpirationDate | form | DateTime? | No | |
| Data | form | byte[] | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .wire suffix or ?format=wire
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /POS/Shared/Receipts/{Id} HTTP/1.1
Host: 10.10.0.107
Accept: application/x-wire
HTTP/1.1 200 OK
Content-Type: application/x-wire
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":{"ReceiptID":"00000000000000000000000000000000","ReceiptNum":0,"PosId":0,"CashierId":0,"AltNum":"String","StoreType":0,"CreateTime":"\/Date(-62135596800000-0000)\/","ExpirationDate":"\/Date(-62135596800000-0000)\/","Data":"AA=="}}