SmartGare
API referenceEndpoints

Read this terminal's counter

Returns the counter the terminal presenting its secret in SmartGare-Counter-Terminal is paired with, as the station register declares it now. **Required permission:** `ticketing.agent-session:read`

GET/ticketing/v1/counter-terminals/current

Returns the counter the terminal presenting its secret in SmartGare-Counter-Terminal is paired with, as the station register declares it now.

Required permission: ticketing.agent-session:read

AuthorizationBearer <token>

In: header

Header Parameters

smart_gare-_counter-_terminal*string

Response Body

*/*

*/*

curl -X GET "https://example.com/ticketing/v1/counter-terminals/current" \  -H "smart_gare-_counter-_terminal: string"
{  "counter": {    "code": "string",    "name": "string",    "printer_place": "string",    "retired": true,    "station_id": "string"  },  "counter_code": "string",  "id": "string",  "label": "string",  "paired_at": "2019-08-24T14:15:22Z",  "paired_by": "string"}