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`
/referential/v1/carriers/{id}/ticketing-model-migrationsEvery 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
Authorization
oauth2 In: header
Path Parameters
Response Body
*/*
curl -X GET "https://example.com/referential/v1/carriers/string/ticketing-model-migrations"{ "data": [ { "approved_at": "2019-08-24T14:15:22Z", "approved_by": "string", "carrier_id": "string", "change_reason": "string", "changed_at": "2019-08-24T14:15:22Z", "changed_by": "string", "effective_from": "2019-08-24", "from_ticketing_model": "string", "held_reason": "string", "id": "string", "reason": "string", "scheduled_at": "2019-08-24T14:15:22Z", "scheduled_by": "string", "status": "string", "target_ticketing_model": "string", "took_effect_at": "2019-08-24T14:15:22Z" } ]}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`
Schedule a ticketing-model migration
Schedules the carrier's switch to another ticketing model from a station day ahead, with why. It waits for a second person's approval. Sales made before that day keep their model. **Required permission:** `referential.carrier:write`