Go to documentation repository
Page History
...
General request format:
GET http://IP-address:port/getarchivetaskstatus?archivetaskid={archivetaskid}
Request parameters:
Parameter | Is required | Description |
---|---|---|
archivetaskid | Yes | Task ID (see the response in Creating archive export request) |
Request example:
GET http://
...
127.
...
0.
...
0.
...
1:80/getarchivetaskstatus?archivetaskid=104b38d4-07d7-4d2f-84da-49b3e255d2bf
...
Response example:
{
Code Block | ||
---|---|---|
| ||
{
|
...
"Percents" : 100, |
...
"Url" : "http://192.168.15.182:80/download?file=104b38d4-07d7-4d2f-84da-49b3e255d2bf", |
...
"CameraId" : "1", |
...
"From" : "2016-06-27T15:10:00.000+03:00", |
...
"To" : "2016-06-27T15:11:00.000+03:00", |
...
"ArchiveTaskId" : "104b38d4-07d7-4d2f-84da-49b3e255d2bf", |
...
"ErrorMessage" : "null", |
...
"State" : "ReadyForDownload" |
...
}
} |
Response parameters:
Parameter | Description |
---|---|
Percents | Percentage of task completion |
Url | Link to a file. The required |
...
file can be downloaded using |
...
this URL link | |
CameraId | Camera ID |
From | The start time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS |
To | The end time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS |
ArchiveTaskId | Task ID |
ErrorMessage | Error messages |
State | Task creation result |
Overview
Content Tools