Create a report of aggregated api request metrics for a given time range and list of organisations.
request aggregated api request metrics data for a set of orgs and a given time range.
OK.
Bad request.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
{- "clientIds": [
- "string"
], - "endDate": "2019-08-24",
- "startDate": "2019-08-24"
}
[- {
- "clientID": "string",
- "dailyAPICallCount": 0,
- "dailyActiveUser": 0,
- "organisationID": "c9a1447d-b72f-46e6-b1d0-da6e4d92aa47",
- "time": "2019-08-24T14:15:22Z"
}
]
Create a report of aggregated camera metrics for a given time range and list of cameras.
request aggregated video metrics data for a set of cameras and a given time range.
OK.
Bad request.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
{- "cameraIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "endDate": "2019-08-24",
- "startDate": "2019-08-24",
- "timeGrain": "1h"
}
[- {
- "cameraId": "cbc3283e-6217-4855-9934-148717cbeefe",
- "lateCount": 0,
- "missingCount": 0,
- "onTimeCount": 0,
- "time": "2019-08-24T14:15:22Z"
}
]
Create a report of live occupancies for a list of occupancy monitors.
request live occupancies for a list of occupancy monitors.
OK.
Bad request.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
{- "occupancyMonitorIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "organisationIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "siteIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
[- {
- "occupancy": 0,
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "time": "2019-08-24T14:15:22Z"
}
]
Create a report of occupancy counts for a given time range and set of monitors.
request occupancy data for a set of monitors and a given time range.
OK.
Bad request.
Authentication failed.
Not allowed.
Payload too large.
Unprocessable entity.
Failed.
{- "endDate": "2019-08-24",
- "isOpen": false,
- "limit": 0,
- "metrics": [
- "occupancy_avg"
], - "occupancyMonitorIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "startDate": "2019-08-24",
- "timeGrain": "1m"
}
[- {
- "inCountSum": 0,
- "occupancyAvg": 0,
- "occupancyMax": 0,
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "outCountSum": 0,
- "time": "2019-08-24T14:15:22Z"
}
]
Create a peel off report for a given time range and set of monitors.
request peel off data for a set of monitors and a given time range.
OK
bad request
Authentication failed.
not allowed
Payload too large
unprocessable entity
failed
{- "endDate": "2019-08-24",
- "isOpen": false,
- "peelOffMonitorIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "startDate": "2019-08-24",
- "timeGrain": "1s"
}
[- {
- "base": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "peelOff": 0,
- "rate": 0,
- "time": "2019-08-24T14:15:22Z"
}
]
Create a report of people counts for a given time range and set of monitors.
request people count data for a set of monitors and a given time range.
OK
bad request
Authentication failed.
not allowed
Payload too large
unprocessable entity
failed
{- "endDate": "2019-08-24",
- "isOpen": false,
- "peopleCountMonitorIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "startDate": "2019-08-24",
- "timeGrain": "1s"
}
[- {
- "direction1Alias": "string",
- "direction1Count": 0,
- "direction2Alias": "string",
- "direction2Count": 0,
- "monitorName": "string",
- "peopleCountMonitorId": "af5c9ece-4147-4fc4-9db3-7065170e641f",
- "time": "2019-08-24T14:15:22Z"
}
]