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`
/ticketing/v1/counter-terminals/currentReturns 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
Authorization
oauth2 In: header
Header Parameters
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"}Pair a counter terminal
Pairs the terminal the supervisor stands at with a declared counter in service, and answers the terminal's secret, once, with the counter's printer as it answers now: READY, NOT_READY or NOT_CHECKED with the reason. The terminal keeps the secret and sends it in SmartGare-Counter-Terminal. **Required permission:** `ticketing.counter-terminal:pair`
Unpair a counter terminal
Ends a terminal's pairing when it is replaced or moved: its secret opens no shift from then on and its counter can be paired again. A shift already open is untouched. **Required permission:** `ticketing.counter-terminal:pair`