Search vehicle mismatches
Returns the differences on one departure, or the open ones station-wide, oldest first, at most 200. **Required permission:** `traffic.assignment:read`
/traffic/v1/vehicle-mismatchesReturns the differences on one departure, or the open ones station-wide, oldest first, at most 200.
Required permission: traffic.assignment:read
Authorization
oauth2 In: header
Query Parameters
The departure whose differences are read; every departure when omitted.
Only the differences still open. True when omitted.
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/vehicle-mismatches"[ { "assigned_vehicle_id": "string", "bay_assignment_id": "string", "bay_occupancy_id": "string", "confirmed_assignment_id": "string", "id": "string", "observed_at": "2019-08-24T14:15:22Z", "observed_vehicle_id": "string", "raised_at": "2019-08-24T14:15:22Z", "resolution": "string", "resolution_reason": "string", "resolved_at": "2019-08-24T14:15:22Z", "resolved_by": "string", "scheduled_departure_id": "string", "status": "string", "vehicle_assignment_id": "string" }]Replace a departure's coach
Moves the departure to another coach under a controlled reason, a breakdown among them. The commitment that stood is ended and readable as it was; the one that now stands is a new record over the same window, under the authorization settled afresh for the replacing coach. A caller without the planner's right replaces a coach only on a departure of the current station day. **Required permission:** `traffic.vehicle-assignment:commit`
Get a vehicle mismatch
**Required permission:** `traffic.assignment:read`