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`
/referential/v1/authorizations/{id}/reference-timesEvery 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
Authorization
oauth2 In: header
Path Parameters
Query Parameters
The day a passing coach's departures are answered for; today at the station when absent.
dateResponse Body
*/*
curl -X GET "https://example.com/referential/v1/authorizations/string/reference-times"{ "data": [ { "effective_from": "2019-08-24", "effective_to": "2019-08-24", "line_id": "string", "reference_times": [ { "departs_at": "2019-08-24T14:15:22Z", "itinerary_code": "string", "time": "string" } ] } ], "day": "2019-08-24", "passing_coach_stop_minutes": 0, "passing_coach_stop_missing": true}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`
Revoke a transport authorization
Withdraws it before its term. Nothing is deleted: a departure run under it while it was live stays explainable afterwards. **Required permission:** `referential.authorization:write`