Read who can replace a departure's coach
In the order the supervisor is offered them: the same carrier's coaches free over the departure's window that the register lets take it over (`SPARE`, replaced directly); then the same line's later departures of that carrier whose coach could swap, both departures still able to run (`SWAP`, recorded as a programme swap); then other carriers' coaches, free and admitted the same way, each needing an agreement (`OTHER_CARRIER`, replaced as a sub-contract). Reading records nothing. **Required permission:** `traffic.assignment:read`
/traffic/v1/departures/{departureId}/replacement-candidatesIn the order the supervisor is offered them: the same carrier's coaches free over the departure's window that the register lets take it over (SPARE, replaced directly); then the same line's later departures of that carrier whose coach could swap, both departures still able to run (SWAP, recorded as a programme swap); then other carriers' coaches, free and admitted the same way, each needing an agreement (OTHER_CARRIER, replaced as a sub-contract). Reading records nothing.
Required permission: traffic.assignment:read
Authorization
oauth2 In: header
Response Body
*/*
*/*
curl -X GET "https://example.com/traffic/v1/departures/{departureId}/replacement-candidates"{ "assignment_id": "string", "candidates": [ { "authorization_id": "string", "carrier_id": "string", "kind": "SPARE", "needs_agreement": true, "partner_departure_id": "string", "vehicle_id": "string" } ], "carrier_id": "string", "departure_id": "string", "vehicle_id": "string"}Read the window a bay booking for the departure is given
Returns the window an operator's booking of a bay for this departure would be given now: the departure's time, less the preparation and plus the finishing the station's bay hold in force states, as the evening plan draws it. It serves clash warnings only; a bay is freed when its coach is seen leaving or an operator marks it free. A station with no bay hold in force answers `traffic.bay_hold_not_in_force`. **Required permission:** `traffic.assignment:read`
Read a departure's seats
The seats on the departure's busiest stretch, counted against the coach committed now: its capacity (null while nothing gives one), the seats sold, the seats held at a checkout, and the seats still free. **Required permission:** `traffic.seat:read`