May this coach run this line on this date?
Composes the line's authorizations, each authorization's status and term, and the coach it covers. Names every authorization that admitted the coach, ordered by grant number, with the carrier accountable under each; on a refusal, names every failed condition of every candidate. The vehicle's own administrative state is a separate check. **Required permission:** `referential.authorization:read`
/referential/v1/lines/{lineId}/eligibilityComposes the line's authorizations, each authorization's status and term, and the coach it covers. Names every authorization that admitted the coach, ordered by grant number, with the carrier accountable under each; on a refusal, names every failed condition of every candidate. The vehicle's own administrative state is a separate check.
Required permission: referential.authorization:read
Authorization
oauth2 In: header
Query Parameters
The date to answer as of, ISO format; the station's today when omitted.
dateResponse Body
*/*
curl -X GET "https://example.com/referential/v1/lines/{lineId}/eligibility?vehicle_id=string"{ "eligible": true, "grants": [ { "grant_id": "string", "holder_carrier_id": "string", "number": "string" } ], "reasons": [ "string" ]}List the authorizations covering a line on a date
Several is the ordinary case; which of them runs a given departure is not decided here. Each status is derived on the supplied date, not the server date. **Required permission:** `referential.authorization:read`
List a line's itineraries
Returns every revision of every itinerary on the line, closed revisions included. **Required permission:** `referential.itinerary:read`