Skip to content

List occupancy monitor camera positions

Request

Get all available occupancy monitor camera positions subject to filters.

Security
api_key
Query
organisationIdstring, (uuid)

the ID of the associated organisation.

siteIdstring, (uuid)

the ID of the site the occupancy monitor camera positions are linked to.

cameraIdstring, (uuid)

the ID of a camera linked to the occupancy monitor camera positions.

occupancyMonitorIdstring, (uuid)

the ID of the occupancy monitor the occupancy monitor camera position is linking.

statestring

Occupancy monitor camera position state.

Enum:"active""deleted"
curl -i -X GET \
  'https://coreapi.hoxton.ai/_mock/v1/occupancy-monitor-camera-positions?organisationId=497f6eca-6276-4993-bfeb-53cbbbba6f08&siteId=497f6eca-6276-4993-bfeb-53cbbbba6f08&cameraId=497f6eca-6276-4993-bfeb-53cbbbba6f08&occupancyMonitorId=497f6eca-6276-4993-bfeb-53cbbbba6f08&state=active' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK.

Bodyapplication/json
Array [
cameraPositionIdstring, (uuid)required
deletedAtstring or null, (date-time)read-only
idstring or null, (uuid)
inDirectionstringrequired
Enum:"direction_1""direction_2"
occupancyMonitorIdstring, (uuid)required
statestring
Enum:"active""deleted"
]
Response
[ { "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" } ]