Read one commitment's history
Returns the append-only entries about this commitment, in the order they happened. A departure's own journal spans every commitment it ever had; this is the trace of one of them. **Required permission:** `traffic.assignment:read`
/traffic/v1/bay-assignments/{id}/historyReturns the append-only entries about this commitment, in the order they happened. A departure's own journal spans every commitment it ever had; this is the trace of one of them.
Required permission: traffic.assignment:read
Authorization
oauth2 In: header
Path Parameters
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/bay-assignments/string/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" } ]}Get a bay assignment
Returns one commitment by id, released or still standing. **Required permission:** `traffic.assignment:read`
Mark a bay occupied
Records the moment a coach starts standing at the bay. The first observation is the bay's answer: an identical one changes nothing, one from the same source is a conflict, and one from another accepted source either corroborates it or opens a disagreement beside it. **Required permission:** `traffic.assignment:write`