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`
/referential/v1/authorizations/{id}/namesReplaces 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
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
*/*
curl -X PUT "https://example.com/referential/v1/authorizations/string/names" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'{ "access_window_minutes": 0, "arrival_axis_code": "string", "category_codes": [ "string" ], "coach": { "capacity": 0, "plate_number": "string", "uhf_tag_missing": true, "vehicle_id": "string" }, "commercial_name": "string", "coordination_id": "string", "created_at": "2019-08-24T14:15:22Z", "dossier": "string", "dossier_id": "string", "driver_code_issued_at": "2019-08-24T14:15:22Z", "grade_code": "string", "id": "string", "number": "string", "owner_name": "string", "series_code": "string", "service_type": "ARRIVEE", "source": { "document": "string", "page": "string", "row": "string" }, "status": "ACTIVE", "updated_at": "2019-08-24T14:15:22Z", "valid_from": "2019-08-24", "valid_until": "2019-08-24"}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`
List a transport authorization's reference times
Every line the authorization covers or covered, oldest period first, with the reference times H it carries on that line by itinerary code. For a passing coach, each H of the period covering the day asked (today when none) comes with its departure that day: H plus the station's passing coach stop in force that day, on the next day past midnight; `passing_coach_stop_missing` when none is in force. **Required permission:** `referential.authorization:read`