API referenceEndpoints
Get an itinerary revision
**Required permission:** `referential.itinerary:read`
GET
/referential/v1/itineraries/{id}Required permission: referential.itinerary:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
*/*
curl -X GET "https://example.com/referential/v1/itineraries/string"{ "code": "string", "created_at": "2019-08-24T14:15:22Z", "departure_zone_id": "string", "effective_from": "2019-08-24", "effective_to": "2019-08-24", "id": "string", "line_id": "string", "stops": [ { "alight_only": true, "distance_from_origin_meters": 0, "id": "string", "kind": "ORIGIN", "position": 0, "station_id": "string", "time_from_origin_minutes": 0 } ], "updated_at": "2019-08-24T14:15:22Z", "version": 0}What the station already knows of a route's legs
For the stations of a route being entered, in calling order, answers each leg's km and minutes on the most recently saved current route that calls at the two stations one after the other, and names that route; a leg no such route knows has no figure. It only suggests: nothing is saved. **Required permission:** `referential.itinerary:read`
Change an itinerary by declaring its successor revision
**Required permission:** `referential.itinerary:write`