Read a departure's assignment history
Returns the append-only journal of what happened to this departure's commitments, in the order it happened. **Required permission:** `traffic.assignment:read`
/traffic/v1/departures/{departureId}/assignment-historyReturns the append-only journal of what happened to this departure's commitments, in the order it happened.
Required permission: traffic.assignment:read
Authorization
oauth2 In: header
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/departures/{departureId}/assignment-history"{ "data": [ { "accountable_carrier_id": "string", "assignment_id": "string", "assignment_type": "BAY", "bay_id": "string", "changed_at": "2019-08-24T14:15:22Z", "changed_by": "string", "corrected_instant": "2019-08-24T14:15:22Z", "corrects_entry_id": "string", "event_type": "CREATED", "grant_id": "string", "grant_number": "string", "id": "string", "originated_from": "OPERATOR", "passed_over_authorization_ids": [ "string" ], "reason": "string", "replaced_vehicle_id": "string", "rule_version_id": "string", "scheduled_departure_id": "string", "source": "string", "turn_consumed_authorization_id": "string", "vehicle_id": "string" } ]}Read how far ahead departures exist
Station-wide from the last recorded pass that generated every schedule, and line by line, with the moment the answer was computed. **Required permission:** `traffic.departure:read`
Read what a departure is committed to
Returns the live commitments and the moment the answer was current as of, so a stale answer can be recognised as stale. A departure committed to nothing answers with nothing rather than failing. Once a coach is committed, it also answers the bay the fixed-bay plan gives the departure's line and the coach's authorization that day, or that the plan names none. **Required permission:** `traffic.assignment:read`