Visitor demographics endpoint can be used to send data for detected visitor's age and gender.
Demographic data is usually obtained with different (camera) system, and only for part of the visitors. This API endpoint allows sending of the data separately, so that we can then combine data with visitor information.
Our analytics backend will use combined data to project gender & age group estimates into actual visitor counts.
POST https://api.zoined.com/visitorDemographics?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
- Mock serverhttps://zapi-api.zoined.com/_mock/visitorDemographics
- https://api.zoined.comhttps://api.zoined.com/visitorDemographics
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/visitorDemographics?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organisation_id": "540",
"department_id": "540",
"counter_id": "540",
"date": "2016-01-01",
"time": "15:00:00",
"gender": "m",
"age": 25,
"visitors": 1000,
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }