End an entry of the fixed-bay plan
Stops the entry from a day, with a reason. The entry is kept. **Required permission:** `traffic.fixed-bay:write`
/traffic/v1/fixed-bays/{id}/endStops the entry from a day, with a reason. The entry is kept.
Required permission: traffic.fixed-bay: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/traffic/v1/fixed-bays/string/end" \ -H "Content-Type: application/json" \ -d '{ "ends_on": "2019-08-24", "reason": "string" }'{ "authorization_id": "string", "bay_id": "string", "coordination_clash": "string", "ended_at": "2019-08-24T14:15:22Z", "ended_by": "string", "ended_reason": "string", "ends_on": "2019-08-24", "id": "string", "line_id": "string", "planned_at": "2019-08-24T14:15:22Z", "planned_by": "string", "reason": "string", "starts_on": "2019-08-24"}Move an authorized line to another bay
Ends the entry that day and starts a new one on the new bay, keeping both. The same bay again changes nothing. **Required permission:** `traffic.fixed-bay:write`
Read a coordination's programme on a line
Which permit and coach drive each departure of a line a coordination operates, over rotation days `from` to `to` (both included, 31 at most): the line's departures are counted from the coordination's reference day in the order they were planned, a departure before the rotation-day start counting with the day before and a cancelled one keeping its place, and the n-th goes to the permit at position n modulo the day's table, frozen coaches left out. With `vehicle_id`, only that coach's departures. Reading records nothing. **Required permission:** `traffic.assignment:read`