List the complete authorization register
One bounded page at a time; with source_document, only the authorizations read from that document (REF-097). **Required permission:** `referential.authorization:read`
/referential/v1/authorizationsOne bounded page at a time; with source_document, only the authorizations read from that document (REF-097).
Required permission: referential.authorization:read
Authorization
oauth2 In: header
Query Parameters
int320 <= value <= 9999999int321 <= value <= 200Only the authorizations read from this document (REF-097).
0 <= length <= 200Response Body
*/*
curl -X GET "https://example.com/referential/v1/authorizations"{ "data": [ { "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" } ], "page": 0, "size": 0, "total": 0}Reject a proposal from the ministry, with a reason
Keeps it as rejected, with who, when and why; nothing is recorded. **Required permission:** `referential.authorization:write`
Declare a transport authorization
Records one authorization number under a dossier, with its own series, categories and validity. Classification codes must come from the service classification catalogs. The dossier is created on first use. The coach it names runs under it from its first day, or from today when it states none. **Required permission:** `referential.authorization:write`