Dahua API People Counting Granularity

Sofeltis

n3wb
Dec 2, 2024
1
0
Novi Sad
Hello,

Can someone share with me, what is correct syntax for Granularity Week and Year in Dahua API People Counting?


This is for Day and Month API which works, for Week and Year it doesn't.

Code:
http://IP-Address/cgi-bin/videoStatServer.cgi?action=startFind&channel=1&condition.StartTime=2023-1-1%200:00:00&condition.EndTime=2023-12-31%2023:59:59&condition.Granularity=Month
http://IP-Address/cgi-bin/videoStatServer.cgi?action=startFind&channel=1&condition.StartTime=2023-1-1%200:00:00&condition.EndTime=2023-12-31%2023:59:59&condition.Granularity=Month

With this URL above I'm getting token.

But, when I try to execute

Code:
http://IP-Address/cgi-bin/videoStatServer.cgi?action=startFind&channel=1&condition.StartTime=2024-1-1%200:00:00&condition.EndTime=2023-1-31%2023:59:59&condition.Granularity=Week

I'm getting

Code:
Error
Bad Request!