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
CashDeskGetProductsResp| Name | 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(1779573600000)\/","ProductType":"Frozen","AvailableFree":10,"AvailableTotal":20,"DeliveryFrom":"\/Date(1779585308496)\/","DeliveryTo":"\/Date(1779599708496)\/","Price":123,"VatRate":12,"PriceWithoutVat":109.82,"ErrorCode":0,"ErrorText":null},{"ProductId":"6d44540a-e206-ef11-8188-40cc26b417b1","Name":"Product 2","OrderCode":"P2","DeliveryDate":"\/Date(1779573600000)\/","ProductType":"Meal 1","AvailableFree":5,"AvailableTotal":7,"DeliveryFrom":"\/Date(1779585308496)\/","DeliveryTo":"\/Date(1779599708496)\/","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>2026-05-24T00:00:00+02:00</DeliveryDate>
<ProductType>Frozen</ProductType>
<AvailableFree>10</AvailableFree>
<AvailableTotal>20</AvailableTotal>
<DeliveryFrom>2026-05-24T03:15:08.496283+02:00</DeliveryFrom>
<DeliveryTo>2026-05-24T07:15:08.496283+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>2026-05-24T00:00:00+02:00</DeliveryDate>
<ProductType>Meal 1</ProductType>
<AvailableFree>5</AvailableFree>
<AvailableTotal>7</AvailableTotal>
<DeliveryFrom>2026-05-24T03:15:08.496283+02:00</DeliveryFrom>
<DeliveryTo>2026-05-24T07:15:08.496283+02:00</DeliveryTo>
<Price>132</Price>
<VatRate>12</VatRate>
<PriceWithoutVat>117.86</PriceWithoutVat>
<ErrorCode>0</ErrorCode>
</CashDeskProduct>
</Products>
</CashDeskGetProductsResp>
text/json
Sample:
{
"Products": [
{
"ProductId": "1a94fa5b-3ba2-41a4-8809-fce9ba8e0ec2",
"Name": "sample string 2",
"OrderCode": "sample string 3",
"DeliveryDate": "2026-05-25T05:58:40.6313828+02:00",
"ProductType": "sample string 5",
"AvailableFree": 6,
"AvailableTotal": 7,
"DeliveryFrom": "2026-05-25T05:58:40.6313828+02:00",
"DeliveryTo": "2026-05-25T05:58:40.6313828+02:00",
"Price": 10.0,
"VatRate": 11.0,
"PriceWithoutVat": 12.0,
"ErrorCode": 13,
"ErrorText": "sample string 14"
},
{
"ProductId": "1a94fa5b-3ba2-41a4-8809-fce9ba8e0ec2",
"Name": "sample string 2",
"OrderCode": "sample string 3",
"DeliveryDate": "2026-05-25T05:58:40.6313828+02:00",
"ProductType": "sample string 5",
"AvailableFree": 6,
"AvailableTotal": 7,
"DeliveryFrom": "2026-05-25T05:58:40.6313828+02:00",
"DeliveryTo": "2026-05-25T05:58:40.6313828+02:00",
"Price": 10.0,
"VatRate": 11.0,
"PriceWithoutVat": 12.0,
"ErrorCode": 13,
"ErrorText": "sample string 14"
}
]
}
text/xml
Sample:
<CashDeskGetProductsResp xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Products>
<CashDeskProduct>
<ProductId>1a94fa5b-3ba2-41a4-8809-fce9ba8e0ec2</ProductId>
<Name>sample string 2</Name>
<OrderCode>sample string 3</OrderCode>
<DeliveryDate>2026-05-25T05:58:40.6313828+02:00</DeliveryDate>
<ProductType>sample string 5</ProductType>
<AvailableFree>6</AvailableFree>
<AvailableTotal>7</AvailableTotal>
<DeliveryFrom>2026-05-25T05:58:40.6313828+02:00</DeliveryFrom>
<DeliveryTo>2026-05-25T05:58:40.6313828+02:00</DeliveryTo>
<Price>10</Price>
<VatRate>11</VatRate>
<PriceWithoutVat>12</PriceWithoutVat>
<ErrorCode>13</ErrorCode>
<ErrorText>sample string 14</ErrorText>
</CashDeskProduct>
<CashDeskProduct>
<ProductId>1a94fa5b-3ba2-41a4-8809-fce9ba8e0ec2</ProductId>
<Name>sample string 2</Name>
<OrderCode>sample string 3</OrderCode>
<DeliveryDate>2026-05-25T05:58:40.6313828+02:00</DeliveryDate>
<ProductType>sample string 5</ProductType>
<AvailableFree>6</AvailableFree>
<AvailableTotal>7</AvailableTotal>
<DeliveryFrom>2026-05-25T05:58:40.6313828+02:00</DeliveryFrom>
<DeliveryTo>2026-05-25T05:58:40.6313828+02:00</DeliveryTo>
<Price>10</Price>
<VatRate>11</VatRate>
<PriceWithoutVat>12</PriceWithoutVat>
<ErrorCode>13</ErrorCode>
<ErrorText>sample string 14</ErrorText>
</CashDeskProduct>
</Products>
</CashDeskGetProductsResp>