Read the state of a position
Returns the open agent session at the named workstation, whoever holds it, and the caller's own open agent session wherever it is, each with the register it is working on. Either is null when nothing is open; an unknown workstation reads as nothing open, not as not found. **Required permission:** `ticketing.agent-session:read`
/ticketing/v1/agent-sessions/currentReturns the open agent session at the named workstation, whoever holds it, and the caller's own open agent session wherever it is, each with the register it is working on. Either is null when nothing is open; an unknown workstation reads as nothing open, not as not found.
Required permission: ticketing.agent-session:read
Authorization
oauth2 In: header
Query Parameters
Response Body
*/*
curl -X GET "https://example.com/ticketing/v1/agent-sessions/current"{ "own": { "agent": "string", "id": "string", "opened_at": "2019-08-24T14:15:22Z", "register": { "currency": "string", "declared_float": 0, "id": "string", "opened_at": "2019-08-24T14:15:22Z", "status": "OPEN" }, "workstation": "string" }, "workstation": { "agent": "string", "id": "string", "opened_at": "2019-08-24T14:15:22Z", "register": { "currency": "string", "declared_float": 0, "id": "string", "opened_at": "2019-08-24T14:15:22Z", "status": "OPEN" }, "workstation": "string" }}Open an agent session
Signs the calling agent in at a workstation. A paired counter terminal sends its secret in SmartGare-Counter-Terminal and is signed in at the counter it is paired with. Without it, `workstation` names the counter, accepted only while no terminal is paired. **Required permission:** `ticketing.agent-session:write`
Read the counter's printer
Returns the printer of the counter the caller is signed in at as a sale's start would find it: READY, NOT_READY or NOT_CHECKED with the reason in words, and whether the deployment has a station bridge at all. Nothing is held, printed or recorded. **Required permission:** `ticketing.agent-session:read`