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`
/referential/v1/carriers/{id}/onboarding/validationA 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
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/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"}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`
Validate a carrier's training or contract
A person validates one onboarding step the register cannot read — `TRAINING` or `CONTRACT` — with a note, kept with who and when; the onboarding shows it done. **Required permission:** `referential.carrier:write`