Hold a bay aside
Holds a bay for a window with no departure attached, for an event, a control operation or a coach kept in place on instruction. **Required permission:** `traffic.bay-availability:write`
/traffic/v1/bay-reservationsHolds a bay for a window with no departure attached, for an event, a control operation or a coach kept in place on instruction.
Required permission: traffic.bay-availability:write
Authorization
oauth2 In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/traffic/v1/bay-reservations" \ -H "Content-Type: application/json" \ -d '{ "bay_id": "string", "ends_at": "2019-08-24T14:15:22Z", "reason": "string", "starts_at": "2019-08-24T14:15:22Z" }'{ "bay_id": "string", "ends_at": "2019-08-24T14:15:22Z", "id": "string", "reason": "string", "released_at": "2019-08-24T14:15:22Z", "released_by": "string", "released_reason": "string", "reserved_at": "2019-08-24T14:15:22Z", "reserved_by": "string", "starts_at": "2019-08-24T14:15:22Z", "status": "ACTIVE"}Confirm a day's bay plan
Commits each proposed bay in the planner's name, as a suggestion accepted, each judged again as it is committed: a bay no longer free or no longer fitting is refused for that departure alone, and its line keeps the refusal's code. Departures already holding a bay, or with no free bay, are left to the planner. **Required permission:** `traffic.bay-plan:write`
Get a hold
Returns one hold by id, released or still standing. **Required permission:** `traffic.bay-availability:read`