VIVOTEK
User's Manual - 91
In addition to these, if you want to acquire the report directly from CGI, use the following
command to receive the report in different formats:
http://{IP}/cgi-bin/admin/scevent_pull.cgi?
format={xml,json,csv}&
starttime={starttime timestamp} &
endtime={endtime timestamp} &
aggregation={aggregation level in seconds} &
lite={0,1}&
localtime={0,1}
The syntax is as follows:
Key
Description
starttime
Querying start time timestamp
endtime
Querying end time timestamp
aggregation
Report aggregation level for each record in seconds
format
[Option] Report format including XML(default), JSON, CSV
lite
[Option] Flag turns on to ignore in/out if zero records. [default turn off : 0]
localtime
[Option] Flag turns on to take input starttime, endtime as camera local
time. [default turn off : 0 -> input starttime, endtime is in UTC timestamp]
A sample line looks like this:
http://172.19.11.142/Stereo-Counting /cgi-bin/report_pull.cgi?starttime=2017-11-
14T00:00:00&endtime=2017-11-20T00:00:00&aggregation=3600&format=xml&lite=0&localtime=0&co
untingeventdb=0