SmartGare
API referenceEndpoints

Get a bay occupancy

Returns one occupancy by id, current or ended, and whether it is disputed. **Required permission:** `traffic.assignment:read`

GET/traffic/v1/bay-occupancies/{id}

Returns one occupancy by id, current or ended, and whether it is disputed.

Required permission: traffic.assignment:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/traffic/v1/bay-occupancies/string"
{  "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"}