ttpPOST h http://localhost:10000IP-address:port/prefix/firserver/GetAnalitycByTime
JSON parameters:
| Code Block |
|---|
{
"server_id": "1",
"minAge": 5,
"maxAge": 45,
"dateTimeFrom": "2019-01-17T21:00:00.000",
"dateTimeTo": "2020-01-18T20:59:59.000",
"cameraIds": [
"1"
],
"genders": [
0
1,
2
],
"returnLocalTime" : 0,
"timePeriod" : 0
} |
where:
...
...
...
...
|
| maxAge | No | Maximum age of persons |
| dateTimeFrom | Yes | Time |
...
| in UTC format, starting from which the data should be obtained |
...
...
| in UTC format, up to which the data should be obtained |
...
...
...
...
| of persons whose data should be obtained: 0 - Unknown, 1 - Males, 2 - Females |
...
...
| No | Time format of the face capture: 0 - time in UTC format, 1- local time of the Server |
...
...
| No | Type of grouping the analytic data: 0 - by hour, 1 - by day, 2 - by month, 3 - by year |
...
Example request:
POST http://localhost:10000/firserver/GetAnalitycByTime
Response example:
Rows[ { "dateTimeFrom": "2019-02-25T21:00:00.000",
" | timestamp27T18000029T20:59:59.000",
"cameraIds": [
"1"
| value { "age": 27"returnLocalTime" : 0,
"timePeriod" : 0
} |
|
Example answer:
| Expand |
|---|
gender{ males10 "females9,"unknown":0
}smile319,
"unknown": 0
},
"smile": {
"males": 3,
"females": | },
1,
"unknown": 0
},
"angry": {
| },
},
}
}
}
]
}
]
"Responce": {
"Status": "SUCCESS"
}
} |
|
| Info |
|---|
|
age = 0 means that age is not defined.
|
| Parameter | Parameter description |
|---|
| Rows |
|
| timestamp |
|
| value |
|
| Responce |
|
| Status |
|