People Count Monitors

APIs to manage an Organisation's people count monitors.

Create/Update people count monitor

Update a people count monitor if it exists, create a new one otherwise.

Securityo_auth
Request
Request Body schema: application/json
required

A people count monitor to put.

dailyResetMin
integer or null <uint64> [ 0 .. 1440 ]
Default: 0
direction1Alias
string
direction2Alias
string
id
string or null <uuid>
name
string
reportingEndDate
string or null <date>
reportingStartDate
string or null <date>
siteId
required
string <uuid>
state
string
Enum: "active" "deleted"
Responses
201

Created.

204

Updated.

400

Bad request.

401

Authentication failed.

403

Not allowed.

410

Gone.

422

Unprocessable entity.

500

Failed.

put/people-count-monitors
Request samples
application/json
{
  • "dailyResetMin": 0,
  • "direction1Alias": "string",
  • "direction2Alias": "string",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "reportingEndDate": "2019-08-24",
  • "reportingStartDate": "2019-08-24",
  • "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
  • "state": "active"
}
Response samples
application/json
{
  • "dailyResetMin": 0,
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "direction1Alias": "string",
  • "direction2Alias": "string",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "reportingEndDate": "2019-08-24",
  • "reportingStartDate": "2019-08-24",
  • "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
  • "state": "active"
}

Delete people count monitor

Set the state of a people count monitor to deleted.

Securityo_auth
Request
path Parameters
peopleCountMonitorId
required
string <uuid>

the ID of the people count monitor to delete.

Responses
204

OK.

400

Bad request.

401

Authentication failed.

403

Not allowed.

404

Not found.

410

Gone.

422

Unprocessable entity.

500

Failed.

delete/people-count-monitors/{peopleCountMonitorId}
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string"
}

Get people count monitor

Get a people count monitor identified by the provided ID.

Securityo_auth
Request
path Parameters
peopleCountMonitorId
required
string <uuid>

The ID of the people count monitor.

Responses
200

OK.

401

Authentication failed.

403

Not allowed.

404

Not found.

422

Unprocessable entity.

500

Failed.

get/people-count-monitors/{peopleCountMonitorId}
Request samples
Response samples
application/json
{
  • "dailyResetMin": 0,
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "direction1Alias": "string",
  • "direction2Alias": "string",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "reportingEndDate": "2019-08-24",
  • "reportingStartDate": "2019-08-24",
  • "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
  • "state": "active"
}

List people count monitors

Get all available occupancy monitors subject to filters.

Securityo_auth
Request
query Parameters
organisationId
string <uuid>

the ID of the associated organisation.

siteId
string <uuid>

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

cameraPositionId
string <uuid>

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

state
string

People count monitors state.

Enum: "active" "deleted"
Responses
200

OK.

401

Authentication failed.

403

Not allowed.

422

Unprocessable entity.

500

Failed.

get/people-count-monitors
Request samples
Response samples
application/json
[
  • {
    }
]