APIs to manage an Organisation's occupancy monitor camera positions.
Update an occupancy monitor's camera position if it exists, create a new object linking the given occupancy monitor to the given camera position otherwise.
OK.
OK.
Bad request.
Authentication failed.
Not allowed.
Gone.
Unprocessable entity.
Failed.
{- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inDirection": "direction_1",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
{- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inDirection": "direction_1",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
Set the state of an occupancy monitor camera position to deleted.
OK.
Authentication failed.
Not allowed.
Not found.
Gone.
Unprocessable entity.
Failed.
{- "code": 0,
- "message": "string"
}
Get an occupancy monitor camera position identified by the provided ID.
OK.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inDirection": "direction_1",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
Get all available occupancy monitor camera positions subject to filters.
OK.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
[- {
- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inDirection": "direction_1",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
]