Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Using the archive  Getting list of records (2nd way) Next page


General request format:

GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&video_in={video_in}&command=arc.intervals&time_from={time_from}&time_to={time_to}&max_count={max_count}&split_threshold={split_threshold}&login={login}&password={password}

Request parameters:

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 NoAxxon PSIM username, if set
password NoAxxon PSIM 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=1.0.1.224&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:

<?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>

JSON:

{ 'count' : 1,
  'complete' : 'YES',
  'sort' : 'INCREASE',
  'cam' : '1',
  'records' : [ {
     'from' : '2019-01-22T12:41:10.144+03:00',
    'to' : '2019-01-23T08:28:47.346+03:00'
  }]
}
  • No labels