CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

Obtain a multipart download task.

Author 马扬Updated 2026-07-17 16:45:11Doc ID 1358658 words · 3 min readView original ↗

Interface description

Obtain a multipart download task.

Request Example

https://v7.cmsv8.com/StandardApiAction_downloadTasklist.action?jsession=66d754dd7f41473dbd2&devIdno=013300000001&status=1&taskTag=123&begintime=2024-12-01 00:00:00&endtime=2024-12-01 23:59:59&currentPage=1&pageRecords=10

Request parameters

Parameter name Parameter type Must Example Parameter meaning
jsession string Yes 66d754dd7f41473dbd2 Session number
devIdno string No 013300000001 Device#
begintime string Yes 2024- 12- 01 00:00:00 The file start time, greater than or equal to the source file start time, and less than or equal to the source file end time
endtime string Yes 2024- 12- 01 23:59:59 The file end time, greater than or equal to the source file start time, and less than or equal to the source file end time
taskTag string No tsts Recording file tags
status number No 1 Download status, 1 not downloaded, 2 downloading, 3 downloading failed, 4 downloaded
currentPage number No 1 The current page number to be queried. If it is empty, the page number is not paginated.
pageRecords number No 10 Number of pages per page, if empty, no page

Return parameters

Parameter Name parameter Type meaning of parameters
result number interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy = 1 & pageType = 3 & docId = 1321 & type = 1 "Error Code Description").
pagination object paging Parameters
currentPage number current Pages
totalPages number total Pages
pageRecords number number of entries per page
totalRecords number total
startRecord number start Record Count
endRecord number number of Ended Records
nextPage number next Page
previousPage number previous Page
hasNextPage boolean is there a next page
hasPreviousPage boolean whether there is a previous page
primaryKey string primary Key
sortParams string sort Parameters
pagin string
rp string
query string
qtype string
directQuery boolean
page boolean
infos array
id number ID
did string the device number indicates the license plate number when querying the video on the server.
ftp number file type 1 picture file, 2 means video recording
fph string recording file path
ctm number task generation time unit: seconds
fbtm number file Start Time Unit: Seconds
fetm number file End Time Unit: Seconds
vtp number video type 0 means regular, 1 means alarm
len number file Size
chn number device channel (starting from 0) 0 means channel 1,1 means channel 2
stu number download Status
err string when the download fails, the reason for the failure
dbtm string download Start Time Unit: Seconds
detm string download End Time Unit: Seconds
dph string download Path
svr string storage Server Number
dtp number1 means full file download, 2 means segmented download
uid number user ID, submit the user ID corresponding to the download, that is, the current jsession login user ID.
lab string video File Label
sbtm number source file start time unit: seconds
setm number source file end time unit: seconds
nfbtm number file Start Time Unit: Seconds
nfetm number file End Time Unit: Seconds
guid string GUID
downUrl string download Link
playbackUrl string playback Link
lanip string
clientIp string customer Address
clientIp2 string customer Address 2
clientIp3 string customer Address 3
clientPort string client port
fbtmStr file Start Time
fetmStr string file End Time Unit
dbtmStr string download start time
detmStr string download end time
sbtmStr string source file start time
setmStr string source file end time

Return Example

{
  "result": 0,
  "pagination": {
    "currentPage": 1,
    "totalPages": 1,
    "pageRecords": 10,
    "totalRecords": 1,
    "startRecord": 0,
    "endRecord": 0,
    "nextPage": 1,
    "previousPage": 1,
    "hasNextPage": false,
    "hasPreviousPage": false,
    "primaryKey": "id",
    "sortParams": null,
    "pagin": null,
    "rp": null,
    "query": null,
    "qtype": null,
    "directQuery": false,
    "page": false
  },
  "infos": [
    {
      "id": 127126,
      "did": "013300000001",
      "ftp": 2,
      "fph": "D:/softwareFile/MulMDVR/Record/H20100628-083724P2N2P0.264",
      "ctm": 1732688399000,
      "fbtm": 1732667844000,
      "fetm": 1732669642000,
      "vtp": 0,
      "len": 23211837,
      "chn": 1,
      "stu": 1,
      "err": null,
      "dbtm": null,
      "detm": null,
      "dph": null,
      "svr": null,
      "dtp": 1,
      "uid": 3259,
      "lab": "tsts",
      "sbtm": 1732667844000,
      "setm": 1732669642000,
      "nfbtm": 1732667844,
      "nfetm": 1732669642,
      "guid": null,
      "downUrl": null,
      "playbackUrl": null,
      "lanip": null,
      "clientIp": null,
      "clientIp2": null,
      "clientIp3": null,
      "clientPort": null,
      "fbtmStr": "2024-12-01 08:37:24",
      "fetmStr": "2024-12-01 09:07:22",
      "dbtmStr": null,
      "detmStr": null,
      "sbtmStr": "2024-12-01 08:37:24",
      "setmStr": "2024-12-01 09:07:22"
    }
  ]
}
Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com