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`
/referential/v1/authorization-proposals/receiptsKeeps 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
Authorization
oauth2 In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/referential/v1/authorization-proposals/receipts" \ -F file="string"{ "already_kept": 0, "kept": 0, "lines": [ { "field": "string", "line": 0, "outcome": "string", "proposal_id": "string", "reason": "string" } ], "unreadable": 0}List the ministry's proposals in one status, the first received first
Each as received, with its decision; one whose dossier and number the register holds names that authorization and what accepting it would change. **Required permission:** `referential.authorization:read`
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`