Change an itinerary by declaring its successor revision
**Required permission:** `referential.itinerary:write`
/referential/v1/itineraries/{id}/revisionsRequired permission: referential.itinerary:write
Authorization
oauth2 In: header
Path Parameters
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 '{ "effective_from": "2019-08-24", "stops": [ { "distance_from_origin_meters": 0, "kind": "ORIGIN", "station_id": "string", "time_from_origin_minutes": 0 } ] }'{ "id": "string", "version": 0}Get an itinerary revision
**Required permission:** `referential.itinerary:read`
Place a test code on a keypad
Has the keypad at the address take a fresh eight-digit code through the station's hardware bridge, for the plate TEST, which names no coach, valid five minutes. Answers the order's outcome — DELIVERED, NOT_DELIVERED or OUTCOME_UNKNOWN — and, unless NOT_DELIVERED, the code and when it runs out; never fails because of the bridge. Nothing is kept of the code. Each request places one code, which replaces the one before. **Required permission:** `referential.keypad-test-code:create`