Reschedule a ticketing-model migration
Moves the waiting migration to another station day ahead, with why; the new day is approved again. **Required permission:** `referential.carrier:write`
/referential/v1/carriers/{id}/ticketing-model-migrations/{migrationId}Moves the waiting migration to another station day ahead, with why; the new day is approved again.
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 PATCH "https://example.com/referential/v1/carriers/string/ticketing-model-migrations/{migrationId}" \ -H "Content-Type: application/json" \ -d '{ "effective_from": "2019-08-24", "reason": "string" }'{ "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"}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`
Approve a ticketing-model migration
A second person approves the waiting migration; only an approved one takes effect. **Required permission:** `referential.carrier:approve-ticketing-model-migration`