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`
/traffic/v1/bay-plans/{serviceDate}/confirmationCommits 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
Authorization
oauth2 In: header
Response Body
*/*
*/*
*/*
curl -X POST "https://example.com/traffic/v1/bay-plans/{serviceDate}/confirmation"{ "bay_hold_rule_version_id": "string", "confirmed_at": "2019-08-24T14:15:22Z", "confirmed_by": "string", "id": "string", "lines": [ { "bay_assignment_id": "string", "bay_id": "string", "departure_at": "2019-08-24T14:15:22Z", "outcome": "ASSIGNED", "planned_from": "2019-08-24T14:15:22Z", "planned_until": "2019-08-24T14:15:22Z", "preferred": true, "proposal": "BAY", "refusal_code": "string", "scheduled_departure_id": "string" } ], "proposed_at": "2019-08-24T14:15:22Z", "proposed_by": "string", "service_date": "2019-08-24", "shortages": [ { "capacity": 0, "demand": 0, "ends_at": "2019-08-24T14:15:22Z", "order_rule_version_id": "string", "scheduled_departure_ids": [ "string" ], "starts_at": "2019-08-24T14:15:22Z" } ], "status": "PROPOSED"}Read a day's bay plan
The plan proposed for the day, and what the planner's confirmation made of it. **Required permission:** `traffic.assignment:read`
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`