Assign an authorization to a holder
Hands the authorization to a carrier — the register's Exploitant — from a date. Any holder in place is closed the day before, so the register keeps one answer per date. **Required permission:** `referential.authorization:write`
/referential/v1/authorizations/{id}/holdersHands the authorization to a carrier — the register's Exploitant — from a date. Any holder in place is closed the day before, so the register keeps one answer per date.
Required permission: referential.authorization: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/authorizations/string/holders" \ -H "Content-Type: application/json" \ -d '{ "carrier_id": "string", "effective_from": "2019-08-24" }'{ "id": "string"}Issue a transport authorization's driver fallback code
Draws the code the driver types at the gate when the plate is read but the RFID tag is not (RG-111, RG-303) — digits of the station's length — and replaces any previous one. **The code is in this answer and nowhere else**: only a one-way copy is kept, so it cannot be read back, and an operator who loses it issues another. The history keeps who, when and why, never the code. **Required permission:** `referential.authorization:write`
Put a line under an authorization
Records that the authorization covers the line from a date, with the reference times H it carries on that line: required for FIXE, COORDINATION and PASSAGER, refused for ARRIVEE, each naming one of the line's itinerary codes. Several authorizations may cover one line at once — that is what a rotation is. **Required permission:** `referential.authorization:write`