Read a departure's selling log
Returns every time the departure's selling opened or closed, oldest first, under `changes`: `opened`, the `reason` (FIRST_ON_SALE, DAY_OPENED, COACH_IN_STATION, PASSING_OPENED, REOPENED, DELAYED, DAY_CLOSED, PASSING_CUTOFF, IMMINENT_DEPARTURE, DEPARTURE_TIME, CANCELLED, CLOSED, WITHDRAWN, COACH_NOT_IN_STATION, PASSING_NOT_YET_OPEN, NOT_SELLABLE), the instant `at` and the departure time then in force. Empty for a departure never on sale. **Required permission:** `ticketing.seat-inventory:read`
/ticketing/v1/departures/{departureId}/selling-changesReturns every time the departure's selling opened or closed, oldest first, under changes: opened, the reason (FIRST_ON_SALE, DAY_OPENED, COACH_IN_STATION, PASSING_OPENED, REOPENED, DELAYED, DAY_CLOSED, PASSING_CUTOFF, IMMINENT_DEPARTURE, DEPARTURE_TIME, CANCELLED, CLOSED, WITHDRAWN, COACH_NOT_IN_STATION, PASSING_NOT_YET_OPEN, NOT_SELLABLE), the instant at and the departure time then in force. Empty for a departure never on sale.
Required permission: ticketing.seat-inventory:read
Authorization
oauth2 In: header
Response Body
*/*
curl -X GET "https://example.com/ticketing/v1/departures/{departureId}/selling-changes"{ "changes": [ { "at": "2019-08-24T14:15:22Z", "departs_at": "2019-08-24T14:15:22Z", "opened": true, "reason": "string", "sequence": 0 } ], "departure_id": "string"}Read a departure's seat inventory
Returns the departure's capacity — null while nobody has stated it — every stretch of its route from one stop to the next with the seats sold, held and available there, every declaration, and how many of its tickets the station's cancellation of the departure affected, to refund or rebook. For a coach with numbered seats, `numbered_seats` is true and `seat_map` lists its seats in display order, each saying whether it is still `free`. **Required permission:** `ticketing.seat-inventory:read`
Read the parcel price a sale started now is charged
The station's parcel price rule in force at the start of today's station day (TKT-088): `price_per_parcel`, in the register's currency, for each of the party's parcels. A sale started now charges its parcels this, whatever the counter sends; 0 while the station has set none. **Required permission:** `ticketing.sale:read`