Skip to main content

Waiting info

GET{{server}}/api/v1/counter/waitingInfo

This endpoint returns the actual waiting info as numbers only. It's recommended to call it after a transaction stopped on the counter and at initialization.

Response

  • callable (number): Number of callable tickets on the counter.

  • total (number): Number of total waiting tickets in the branch.

  • all (number): Number of all live tickets in the branch.

  • local (number): Number of tickets on local waitlist.

  • global (number): Number of tickets on global waitlist.

If you would like to get callable tickets with all information, you should call the "List callable tickets" endpoint.

Request​

Authorization​

HeaderValue
AuthorizationBearer {{counterToken}}

Headers​

KeyValue
Acceptapplication/json
X-WSID{{counterWsID}}

Code snippets​

curl -X GET '{{server}}/api/v1/counter/waitingInfo' \
-H 'Accept: application/json' \
-H 'X-WSID: {{counterWsID}}' \
-H 'Authorization: Bearer {{counterToken}}'

Example​

Example request
GET{{server}}/api/v1/counter/waitingInfo
Headers (2)
KeyValue
Acceptapplication/json
X-WSID{{counterWsID}}
Example response 200 Ok
Response headers (9)
KeyValue
Access-Control-Expose-Headers*
Cache-Controlno-store, no-cache, must-revalidate
Access-Control-Allow-Origin*
Access-Control-Allow-MethodsPOST, PUT, GET, OPTIONS, DELETE
Access-Control-Allow-Credentialstrue
Content-Length53
Access-Control-Max-Age86400
Access-Control-Allow-HeadersContent-Type, Authorization, X-Requested-With
Content-Typeapplication/json;charset=utf-8
Body
{
"total": 4,
"all": 5,
"global": 1,
"local": 0,
"callable": 4
}