GET cashdesk/getProducts?CashDesk={CashDesk}&Token={Token}
Retrieve products list for cashdesk.
Request Information
Authorization
- Authorization by token required
Availability
- Method can be used
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CashDesk |
The cash desk identification. The cash desk identification is used to identify the cash desk where the request is coming from. |
string |
Required |
Token |
The action is authorized by this token. Token should generated by calling action "POST login". Expiration time of each token is 20 seconds |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Response Codes
Http Code | Error Number | Description |
---|---|---|
200 request succesfully done | 0 | Successfully done |
400 bad request | 1002 | Entry parameter missing or parameter bindigs failed |
401 unauthorized | 1000 | Token {0} not found |
401 unauthorized | 1001 | Token {0} already expired |
401 unauthorized | 1006 | Ip filter violated for ip client address [{0}] |
401 unauthorized | 1007 | Ip filter [{0}] parsing failed |
401 unauthorized | 1008 | Request rate policy violated for [{0}] |
403 server refuses fo fulfill the request | 8 | Not licensed |
415 unsupported Media Type | The request entity has a media type which the server or resource does not support. Only application/json and application/xml are supported | |
500 internal error | Server exception description |
Resource Description
CashDeskGetProductsRespName | Description | Type | Additional information |
---|---|---|---|
Products | Collection of CashDeskProduct |
None. |
Response Formats
application/json
Sample:
{"Products":[{"ProductId":"7944540a-e206-ef11-8188-40cc26b417b1","Name":"Product 1","OrderCode":"P1","DeliveryDate":"\/Date(1757282400000)\/","ProductType":"Frozen","AvailableFree":10,"AvailableTotal":20,"DeliveryFrom":"\/Date(1757320534282)\/","DeliveryTo":"\/Date(1757334934282)\/","Price":123,"VatRate":12,"PriceWithoutVat":109.82,"ErrorCode":0,"ErrorText":null},{"ProductId":"6d44540a-e206-ef11-8188-40cc26b417b1","Name":"Product 2","OrderCode":"P2","DeliveryDate":"\/Date(1757282400000)\/","ProductType":"Meal 1","AvailableFree":5,"AvailableTotal":7,"DeliveryFrom":"\/Date(1757320534282)\/","DeliveryTo":"\/Date(1757334934282)\/","Price":132,"VatRate":12,"PriceWithoutVat":117.86,"ErrorCode":0,"ErrorText":null}]}
application/xml
Sample:
<CashDeskGetProductsResp> <Products> <CashDeskProduct> <ProductId>7944540a-e206-ef11-8188-40cc26b417b1</ProductId> <Name>Product 1</Name> <OrderCode>P1</OrderCode> <DeliveryDate>2025-09-08T00:00:00+02:00</DeliveryDate> <ProductType>Frozen</ProductType> <AvailableFree>10</AvailableFree> <AvailableTotal>20</AvailableTotal> <DeliveryFrom>2025-09-08T10:35:34.282868+02:00</DeliveryFrom> <DeliveryTo>2025-09-08T14:35:34.282868+02:00</DeliveryTo> <Price>123</Price> <VatRate>12</VatRate> <PriceWithoutVat>109.82</PriceWithoutVat> <ErrorCode>0</ErrorCode> </CashDeskProduct> <CashDeskProduct> <ProductId>6d44540a-e206-ef11-8188-40cc26b417b1</ProductId> <Name>Product 2</Name> <OrderCode>P2</OrderCode> <DeliveryDate>2025-09-08T00:00:00+02:00</DeliveryDate> <ProductType>Meal 1</ProductType> <AvailableFree>5</AvailableFree> <AvailableTotal>7</AvailableTotal> <DeliveryFrom>2025-09-08T10:35:34.282868+02:00</DeliveryFrom> <DeliveryTo>2025-09-08T14:35:34.282868+02:00</DeliveryTo> <Price>132</Price> <VatRate>12</VatRate> <PriceWithoutVat>117.86</PriceWithoutVat> <ErrorCode>0</ErrorCode> </CashDeskProduct> </Products> </CashDeskGetProductsResp>