API referenceEndpoints
Read what is committed against a departure
The kinds committed against the departure as their holders answer now — a ticket sold, a coach committed, a bay assigned — and none when nothing is. No ticket, bay or coach itself is named. **Required permission:** `traffic.departure:read`
GET
/traffic/v1/departures/{id}/commitmentsThe kinds committed against the departure as their holders answer now — a ticket sold, a coach committed, a bay assigned — and none when nothing is. No ticket, bay or coach itself is named.
Required permission: traffic.departure:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Departure id
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/departures/string/commitments"{ "asked_at": "2019-08-24T14:15:22Z", "committed": [ "TICKET" ], "departure_id": "string"}