Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Is required

Description

versionYes

See Product version

sessionidNoSession ID
video_inYesCamera ID in the format "TYPE:ID", for example "CAM:1"
commandYesCommand to receive list of records: arc.intervals
time_fromYesStart of interested time range
time_toNoEnd of interested time range
max_countNoMaximal number of records in reply
split_thresholdNoTime for combining several intervals (in seconds). Intervals, distance between which will be less than specified value, will be combined in one.
login NoIntellect username, if set
password NoIntellect user password, if set
formatNoSets the response format (see General information on HTTP API)

...

Request example:

GET http://127.0.0.1:8085/web2/secure/video/action.do?version=4.9.0.0&sessionid=29101F1&video_in=CAM:5&command=arc.intervals&time_from=2013-03-20T00:00:00.000+04:00&time_to=2013-03-22T23:59:59.999+04:00&max_count=100&split_threshold=10399&login=USER&password=PASS

...

Response example:

XML:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<records count="1" complete="YES" sort="INCREASE">
    <record>
        <from>2011-09-01T00:00:00-05:00</from>
        <to>2011-09-01T00:00:35-05:00</to>
    </record>
    <record>
        <from>2011-09-01T00:00:35-05:00</from>
        <to>2011-09-01T00:01:10-05:00</to>
    </record>
</records>

...