SmartGare
API referenceEndpoints

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`

POST/referential/v1/authorization-proposals/{id}/acceptance

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

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*AcceptAuthorizationProposalRequest

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"}