Accept a proposal from the ministry
Records it as a new authorization, as a declaration does, or corrects the authorization holding its dossier and number, each change kept in its history; keeps who accepted it and when. **Required permission:** `referential.authorization:write`
/referential/v1/authorization-proposals/{id}/acceptanceRecords it as a new authorization, as a declaration does, or corrects the authorization holding its dossier and number, each change kept in its history; keeps who accepted it and when.
Required permission: referential.authorization:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/referential/v1/authorization-proposals/string/acceptance" \ -H "Content-Type: application/json" \ -d '{}'{ "accepted_at": "2019-08-24T14:15:22Z", "accepted_by": "string", "authorization_id": "string", "changes": [ "string" ], "corrected": true, "proposal_id": "string"}Receive the ministry's authorization file
Keeps each line as a proposal and reports what became of each; nothing enters the register. CSV with a header row: dossier and number required; lineCode, holderCarrierCode, vehiclePlate, serviceType, seriesCode, categoryCodes (';'), validFrom, validUntil, sourceDocument, sourcePage and sourceRow read when present. A line received before is kept once. **Required permission:** `referential.authorization:write`
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`