Skip to content

People Count Monitors

APIs to manage an Organisation's people count monitors.

List people count monitors

Request

Get all available occupancy monitors subject to filters.

Security
api_key
Query
organisationIdstring, (uuid)

the ID of the associated organisation.

siteIdstring, (uuid)

the ID of the site the people count monitors are linked to.

cameraPositionIdstring, (uuid)

the ID of a camera position linked to the people count monitors.

statestring

People count monitors state.

Enum:"active""deleted"
curl -i -X GET \
  'https://coreapi.hoxton.ai/_mock/v1/people-count-monitors?organisationId=497f6eca-6276-4993-bfeb-53cbbbba6f08&siteId=497f6eca-6276-4993-bfeb-53cbbbba6f08&cameraPositionId=497f6eca-6276-4993-bfeb-53cbbbba6f08&state=active' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK.

Bodyapplication/json
Array [
dailyResetTimestring or null^([01]\d|2[0-3]):[0-5]\d$
Default:"00:00"
deletedAtstring or null, (date-time)read-only
direction1Aliasstring
direction2Aliasstring
idstring or null, (uuid)
namestring
openingHourobject or null
reportingEndDatestring or null, (date)
reportingStartDatestring or null, (date)
siteIdstring, (uuid)required
statestring
Enum:"active""deleted"
]
Response
[ { "dailyResetTime": "00:00", "deletedAt": "2019-08-24T14:15:22Z", "direction1Alias": "string", "direction2Alias": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHour": {}, "reportingEndDate": "2019-08-24", "reportingStartDate": "2019-08-24", "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1", "state": "active" } ]