API referenceEndpoints
Get a vehicle mismatch
**Required permission:** `traffic.assignment:read`
GET
/traffic/v1/vehicle-mismatches/{id}Required permission: traffic.assignment:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/vehicle-mismatches/string"{ "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"}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`
Settle a vehicle mismatch
Confirms the observed coach as the departure's coach — an ordinary replacement, judged as the entrance judges one — or keeps the commitment, with the operator's reason. The closure is journalled and announced. **Required permission:** `traffic.vehicle-mismatch:resolve`