SmartGare
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}/bay

The coach leaves the queue; the others keep their order.

Required permission: traffic.assignment:write

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"}