Search bay occupancies
Returns the occupancies of a bay or of a coach, newest first, page by page, each with its coach. With open=true, only the one standing now: an empty page means the bay is free, or the coach stands at no bay. **Required permission:** `traffic.assignment:read`
/traffic/v1/bay-occupanciesReturns the occupancies of a bay or of a coach, newest first, page by page, each with its coach. With open=true, only the one standing now: an empty page means the bay is free, or the coach stands at no bay.
Required permission: traffic.assignment:read
Authorization
oauth2 In: header
Query Parameters
The bay whose occupancies are read. A bay or a coach is required.
The coach whose occupancies are read. A bay or a coach is required.
Only the occupancy standing now when true, only ended ones when false.
Zero-based page index, at most 10000.
int32Page size, at most 200; 50 when absent.
int32Response Body
*/*
curl -X GET "https://example.com/traffic/v1/bay-occupancies"{ "data": [ { "bay_assignment_id": "string", "bay_id": "string", "correction_status": "NONE", "freed_at": "2019-08-24T14:15:22Z", "freed_by": "string", "freed_source": "string", "id": "string", "occupied_at": "2019-08-24T14:15:22Z", "occupied_by": "string", "occupied_source": "string", "vehicle_id": "string" } ], "page": 0, "size": 0, "total": 0}Get a bay conflict
Returns one clash by id, open or resolved, with both windows as planned and as compared, and the buffer and rule version that widened them. **Required permission:** `traffic.assignment:read`
Get a bay occupancy
Returns one occupancy by id, current or ended, and whether it is disputed. **Required permission:** `traffic.assignment:read`