API referenceEndpoints
Declare a transport authorization
Records one authorization number under a dossier, with its own série, categories and validity. The dossier is created on first use.
POST
/referential/v1/authorizations/authorizationsRecords one authorization number under a dossier, with its own série, categories and validity. The dossier is created on first use.
Authorization
oauth2 AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/referential/v1/authorizations/authorizations" \ -H "Content-Type: application/json" \ -d '{ "dossier": "string", "number": "string" }'{ "id": "string"}Put a line under an authorization
Records that the authorization covers the line from a date. Several authorizations may cover one line at once — that is what a rotation is.
Revoke a transport authorization
Withdraws it before its term. Nothing is deleted: a departure run under it while it was live stays explainable afterwards.