API referenceEndpoints
Give a waiting arriving coach an arrival bay by hand
The coach leaves the queue; the others keep their order. **Required permission:** `traffic.assignment:write`
POST
/traffic/v1/arrival-queue/{visitId}/bayThe coach leaves the queue; the others keep their order.
Required permission: traffic.assignment:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*GiveArrivalBayByHandRequest
Response Body
*/*
*/*
curl -X POST "https://example.com/traffic/v1/arrival-queue/{visitId}/bay" \ -H "Content-Type: application/json" \ -d '{ "bay_id": "string" }'{ "bay_code": "string", "bay_id": "string", "given_at": "2019-08-24T14:15:22Z", "given_by": "string", "visit_id": "string"}Read the arrivals queue in its order, with each coach's waiting time
**Required permission:** `traffic.assignment:read`
Search bay assignments
Returns the commitments matching the filter, page by page, in the order coaches stand at the bay. A period selects every commitment whose occupancy window overlaps it, so one running from before the period into it is included. **Required permission:** `traffic.assignment:read`