Protokół: HTTPS
Metoda: POST
URL: aibox.cbcpoland.pl/wp-content/tools/?nav=events
Załącz Zdjęcie: Zaznaczone (1 przed oraz 1 po)
{
"from_mac": "{{MAC}}",
"rule_name": "{{RULE NAME}}",
"trigger_type": "{{TRIGGER TYPE}}",
"trigger_name": "{{TRIGGER NAME}}",
"ch": {{CH}},
"ch_name": "{{CH NAME}}",
"sys_timestamp": {{SYSTEM TIMESTAMP}},
"video_timestamp": {{VIDEO TIMESTAMP}},
"duration": {{LOITERING DURATION}},
"object_count": {{# OF OBJECTS}},
"object_list": [{{LIST OBJECTS[PARAM=COMMA]}}{
"track_id": {{::OBJ[TRACK ID]}},
"class": "{{::OBJ[CLASS]}}",
"score": {{::OBJ[SCORE]}},
"direction": "{{::OBJ[DIRECTION]}}",
"face_name": "{{::OBJ[FACE_NAME]}}",
"face_group_name": "{{::OBJ[FACE_GROUP_NAME]}}",
"lp_text": "{{::OBJ[LICENSE_PLATE_TEXT]}}",
"bbox": [
{{::OBJ[BBOX_X1]}},
{{::OBJ[BBOX_Y1]}},
{{::OBJ[BBOX_X2]}},
{{::OBJ[BBOX_Y2]}}
]
}{{LIST OBJECTS[PARAM=COMMA]}}]
}
<vca>
<host>{{MAC}}</host>
<time>{{SYSTEM TIME ISO8601}}</time>
<type>{{TRIGGER TYPE}}</type>
<channel>{{CH}}</channel>
<zone>
<id>{{TRIGGER NAME}}</id>
<channel>{{CH}}</channel>
</zone>
</vca>
usn={{MAC}};tp={{TRIGGER TYPE}};ch={{CH}};cl={{LIST OBJECTS}}{{::OBJ[CLASS]}},{{LIST OBJECTS}};rn={{RULE NAME}};zn={{TRIGGER NAME}};_ts={{SYSTEM TIMESTAMP}};rl={{RULE NO}}