Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Archive export  Getting export status Next page


By default, the archive is exported in mp4 format. You can change the format using the ExportContainerFormat registry key (see Registry keys reference guide). The export of the archive in H.264 or MPEG4 formats is supported. 

General request format:

POST http://IP-address:port/createarchivetask

Content Type: application/json
Content:
{
 "CameraId": "{CameraId}",
 "From": "{From}",
 "To": "{To}"
}

Request parameters:

Parameter

Required

Description

CameraIdYes

Camera ID

FromYesThe start time of the archive fragment in the UTC format: YYYY-MM-DDTHH:MM:SS
ToNoThe end time of the archive fragment in the UTC format: YYYY-MM-DDTHH:MM:SS (if not specified, the entire archive will be given to the last record)

Request example:

POST http://127.0.0.1:80/createarchivetask


Content Type: application/json
Content:
{
 "CameraId": "1",
 "From": "2016-06-27T15:10:00.00Z",
 "To": "2016-06-27T15:20:00.00Z"
}

Response example:

In the export folder (C:\Users\User\Documents, by default), a folder is created with an export request ID in its name (084b56a5-bd49-4327-82db-9bc911f7ff96 in the example below). Inside the folder there is a file in mp4 format.

{
    "CameraId" : "1",
    "From" : "2016-06-27T15:10:00.00Z",
    "To" : "2016-06-27T15:20:00.00Z",
    "ArchiveTaskId" : "084b56a5-bd49-4327-82db-9bc911f7ff96",
    "ErrorMessage" : null,
    "State" : "Created"
}

Response example:

Parameter

Description

CameraId

Camera ID

FromThe start time of the archive fragment in the UTC format: YYYY-MM-DDTHH:MM:SS
ToThe end time of the archive fragment in the UTC format: YYYY-MM-DDTHH:MM:SS
ArchiveTaskIdTask ID
ErrorMessageError messages
StateTask creation result

  • No labels