Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page GetLiveUrl request  Export of ECHD archive records Next page


General request format:

GET http://IP-address:port/downloadarchivefile?cameraid={cam_id}&fromdatetime={from_time}&todatetime={to_time}

Request parameters:

ParameterIs requiredDescription
cam_idYesCamera ID
from_timeYesThe start time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS
to_timeYesThe end time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS
formatNo

The format in which the archive will be exported. Format options: mp4, avi, flv, mov, asf.

If the format is not specified in the request body, then the value of the ExportContainerFormat registry key is used (see Registry keys reference guide). If the key is not specified, then the archive is exported in mp4 format

Request example:

GET http://127.0.0.1:80/downloadarchivefile?cameraid=1&fromdatetime=2024-10-01T00:00:00&todatetime=2024-10-01T01:20:05

Response example:

HTTP/l.1 200 OK
Content-Type: application/octet-stream

The command will result in a file containing an archive fragment. The camera name and time range will be indicated in the file name.

Example file name: Camera[4](2024-08-13T11_00_00 - 2024-08-13T12_10_00).mp4.

  • No labels