Put a coach under an authorization
Records which vehicle runs under the authorization from a date. Any coach in place is closed the day before — the register carries one vehicle per authorization number. Dated on the first day of the coach in place, it corrects a coach named by mistake instead: the coach in place is replaced and the new one covers from that same day, unless the station's rule refuses it. The correction requires a reason and is kept in the authorization's history with who and when. **Required permission:** `referential.authorization:write`
/referential/v1/authorizations/{id}/vehicle-coveragesRecords which vehicle runs under the authorization from a date. Any coach in place is closed the day before — the register carries one vehicle per authorization number. Dated on the first day of the coach in place, it corrects a coach named by mistake instead: the coach in place is replaced and the new one covers from that same day, unless the station's rule refuses it. The correction requires a reason and is kept in the authorization's history with who and when.
Required permission: referential.authorization: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/authorizations/string/vehicle-coverages" \ -H "Content-Type: application/json" \ -d '{ "effective_from": "2019-08-24", "vehicle_id": "string" }'{ "id": "string"}Extend a transport authorization's term
Moves validUntil later on the same instrument and returns its unchanged id. A lapsed authorization becomes active when the new term covers the station date; a revoked authorization remains revoked. **Required permission:** `referential.authorization:write`
Open one barrier to try it
Orders the barrier at the address open once through the station's hardware bridge, with no coach and no visit; it goes back by itself. Answers the order's outcome — DELIVERED, NOT_DELIVERED or OUTCOME_UNKNOWN — and never fails because of the bridge. DELIVERED says the order was taken, never that the arm rose. Each request opens it once, even while a coach's visit is open at that lane. **Required permission:** `referential.barrier-test-opening:create`