List of events. Visitor counting
Viewing the list of visitor counting events.
GET/api/v1/analytic-case/{case}/visitor-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 | |||||||
camerarequired | array | Array of camera IDs for which events will be displayed | |||||||
agerequired | string | Age for filtering | |||||||
sexrequired | string | Gender for filtering | |||||||
steprequired | string | Filtering within a single day | |||||||
daterequired | string | Template for filtering by date. This field is required when there is no filtering by «from» and «to» fields | |||||||
timezonerequired | string | Timezone for filtering by date template. Example - Europe/Paris. This field is required when filtering by date | |||||||
fromrequired | string | Date from which the filtering will be applied. This field is required when there is no filtering by the «date» field | |||||||
torequired | string | Date until which the filtering will be applied. This field is required when there is no filtering by the «date» field |
Response | |||||||||
200 | Returns a list of data for chart plotting | ||||||||
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
|