API referenceEndpoints
Read the ticketing model in force on a day
The model the carrier held on a station day, today when none is stated. **Required permission:** `referential.carrier:read`
GET
/referential/v1/carriers/{id}/ticketing-modelThe model the carrier held on a station day, today when none is stated.
Required permission: referential.carrier:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Query Parameters
as_of?string
Station day, ISO date; today when absent.
Format
dateResponse Body
*/*
curl -X GET "https://example.com/referential/v1/carriers/string/ticketing-model"{ "as_of": "2019-08-24", "carrier_id": "string", "ticketing_model": "string"}Suspend a carrier
Sets a carrier status to suspended. **Required permission:** `referential.carrier:write`
List a carrier's ticketing-model migrations
Every migration of the carrier — waiting, cancelled or taken effect — by effective day, with who scheduled, approved, moved or withdrew it, when and why. **Required permission:** `referential.carrier:read`