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`
/traffic/v1/departures/{departureId}/seatsThe 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
Authorization
oauth2 In: header
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/departures/{departureId}/seats"{ "available": 0, "capacity": 0, "departure_id": "string", "held": 0, "sold": 0}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`
Get a departure
**Required permission:** `traffic.departure:read`