SmartGare
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}/authorizations

Several is the ordinary case; which of them runs a given departure is not decided here.

AuthorizationBearer <token>

In: header

Path Parameters

lineId*string

Query Parameters

on*string
Formatdate

Response 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"  }]