SmartGare
API referenceEndpoints

Follow a carrier's onboarding

A checklist read from the register on the station's day: the record holds what the carrier's tier requires, it is activated, an authorization in force covers a line, and a coach in service has a permit covering the day. Each step says what is missing. **Required permission:** `referential.carrier:read`

GET/referential/v1/carriers/{id}/onboarding

A checklist read from the register on the station's day: the record holds what the carrier's tier requires, it is activated, an authorization in force covers a line, and a coach in service has a permit covering the day. Each step says what is missing.

Required permission: referential.carrier:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/carriers/string/onboarding"
{  "carrier_id": "string",  "on": "2019-08-24",  "ready": true,  "steps": [    {      "count": 0,      "done": true,      "missing": [        "string"      ],      "note": "string",      "step": "string",      "unknown": true,      "validated_at": "2019-08-24T14:15:22Z",      "validated_by": "string"    }  ],  "validated": {    "note": "string",    "validated_at": "2019-08-24T14:15:22Z",    "validated_by": "string"  }}