API referenceEndpoints
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.
GET
/referential/v1/authorizations/lines/{lineId}/authorizationsSeveral is the ordinary case; which of them runs a given departure is not decided here.
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
lineId*string
Query Parameters
on*string
Format
dateResponse Body
*/*
curl -X GET "https://example.com/referential/v1/authorizations/lines/string/authorizations?on=2019-08-24"[ { "id": "string", "dossierId": "string", "dossier": "string", "number": "string", "serie": "string", "categories": [ "string" ], "genre": "string", "validFrom": "2019-08-24", "validUntil": "2019-08-24", "status": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }]May this coach run this line on this date?
Composes the line's authorization, the authorization's status and term, and the coach the authorization covers. Every failed condition is named — the vehicle's own administrative state is a separate check.
List the authorizations under a dossier
Returns every authorization number in the file, by number.