API referenceEndpoints
Get a hold
Returns one hold by id, released or still standing. **Required permission:** `traffic.bay-availability:read`
GET
/traffic/v1/bay-reservations/{id}Returns one hold by id, released or still standing.
Required permission: traffic.bay-availability:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/bay-reservations/string"{ "bay_id": "string", "ends_at": "2019-08-24T14:15:22Z", "id": "string", "reason": "string", "released_at": "2019-08-24T14:15:22Z", "released_by": "string", "released_reason": "string", "reserved_at": "2019-08-24T14:15:22Z", "reserved_by": "string", "starts_at": "2019-08-24T14:15:22Z", "status": "ACTIVE"}Hold a bay aside
Holds a bay for a window with no departure attached, for an event, a control operation or a coach kept in place on instruction. **Required permission:** `traffic.bay-availability:write`
Give a held bay back
Ends a hold, so the bay is assignable again from that moment. Freeing a bay is not filling it: nothing is assigned to it in return. **Required permission:** `traffic.bay-availability:write`