SmartGare
API referenceEndpoints

Validate a carrier's whole onboarding

A person validates the carrier's onboarding once every step is done, with a note, kept with who and when; the carrier may then start at the station (REF-143). **Required permission:** `referential.carrier:write`

POST/referential/v1/carriers/{id}/onboarding/validation

A person validates the carrier's onboarding once every step is done, with a note, kept with who and when; the carrier may then start at the station (REF-143).

Required permission: referential.carrier:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*ValidateCarrierOnboardingStepRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/carriers/string/onboarding/validation" \  -H "Content-Type: application/json" \  -d '{    "note": "string"  }'
{  "carrier_id": "string",  "found": [    {      "count": 0,      "step": "string"    }  ],  "found_at": "2019-08-24T14:15:22Z",  "note": "string",  "validated_at": "2019-08-24T14:15:22Z",  "validated_by": "string"}