SmartGare
API referenceEndpoints

Change an itinerary by declaring its successor revision

POST/referential/v1/itineraries/{id}/revisions
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/itineraries/string/revisions" \  -H "Content-Type: application/json" \  -d '{    "effectiveFrom": "2019-08-24",    "stops": [      {        "stationId": "string",        "kind": "ORIGIN"      }    ]  }'
{  "id": "string",  "version": 0}