API referenceEndpoints
Declare an itinerary's first revision
POST
/referential/v1/lines/{lineId}/itinerariesAuthorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
lineId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/referential/v1/lines/string/itineraries" \ -H "Content-Type: application/json" \ -d '{ "lineId": "string", "code": "string", "effectiveFrom": "2019-08-24", "stops": [ { "stationId": "string", "kind": "ORIGIN" } ] }'{ "id": "string"}