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`
/referential/v1/authorizations/{id}/linesRecords 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
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/lines" \ -H "Content-Type: application/json" \ -d '{ "effective_from": "2019-08-24", "line_id": "string" }'{ "id": "string"}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`
Set or correct the owner and the commercial name a transport authorization prints
Replaces both names as a whole: a name left out is cleared. Each name that changes is kept in the history with its previous value, who, when and why. The same names again change nothing. The names never change what the authorization allows. **Required permission:** `referential.authorization:write`