List of events. Counting people in the area
View the list of people counting events in the area. The response will be provided based on the desired chart type.
GET/api/v1/analytic-case/{case}/person-counting/historyHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
caseoptional | int | Unique identifier of the analytics case | |||||||
chartoptional | str | line - line chart bar - bar chart | |||||||
daterequired | int | Date for which the history is requested | |||||||
camerasrequired | array | Array of camera IDs for which the events will be displayed | |||||||
daterequired | string | Template for date filtering. This field is mandatory when there is no filtering by the «from» and «to» fields | |||||||
timezonerequired | string | Timezone for date filtering. Example - Europe/Paris. This field is mandatory when filtering by date | |||||||
fromrequired | string | Start date for filtering. This field is mandatory when there is no filtering by the «date» field | |||||||
torequired | string | End date for filtering. This field is mandatory when there is no filtering by the «date» field |
Response | |||||||||
200 | Returns a list of data for building a line chart | ||||||||
JSON
| |||||||||
200 | Returns a list of data for building a bar chart | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|