SmartGare
API referenceEndpoints

Assign an authorization to a carrier

Hands the authorization to a carrier from a date. Any holder in place is closed the day before, so the register keeps one answer per date.

POST/referential/v1/authorizations/holders

Hands the authorization to a carrier from a date. Any holder in place is closed the day before, so the register keeps one answer per date.

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/holders" \  -H "Content-Type: application/json" \  -d '{    "transportAuthorizationId": "string",    "carrierId": "string",    "effectiveFrom": "2019-08-24"  }'
{  "id": "string"}