Declare an itinerary's first revision
**Required permission:** `referential.itinerary:write`
/referential/v1/lines/{lineId}/itinerariesRequired permission: referential.itinerary:write
Authorization
oauth2 In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/referential/v1/lines/{lineId}/itineraries" \ -H "Content-Type: application/json" \ -d '{ "code": "string", "effective_from": "2019-08-24", "line_id": "string", "stops": [ { "distance_from_origin_meters": 0, "kind": "ORIGIN", "station_id": "string", "time_from_origin_minutes": 0 } ] }'{ "id": "string"}List a line's itineraries
Returns every revision of every itinerary on the line, closed revisions included. **Required permission:** `referential.itinerary:read`
Who operates a line on a date
Derived from the register: the carriers holding active authorizations covering the line on that date, each with the authorization ids it holds. A carrier not active today (suspended or still pending) is left out, whatever the date: a carrier's status keeps no history. Several carriers operating one line on the same date is the ordinary case, e.g. 14 on one line in the reference register. **Required permission:** `referential.authorization:read`