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`
/ticketing/v1/agent-sessionsSigns 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
Authorization
oauth2 In: header
Header Parameters
The paired counter terminal's secret, given once at its pairing.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/ticketing/v1/agent-sessions" \ -H "Content-Type: application/json" \ -d '{}'{ "agent": "string", "id": "string", "opened_at": "2019-08-24T14:15:22Z", "workstation": "string"}Read each safety release source's signal, raised or cleared, and since when
**Required permission:** `supervision.live-view:read`
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`