Interface description
FTP Upload Status Query
Request Example
https://v7.cmsv8.com/StandardApiAction_queryFtpStatus.action?jsession=66d754dd7f41473dbd2&seq=1&devIdno=013300000001
Request parameters
| Parameter name |
Parameter type |
Must |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| seq |
number |
no |
1 |
task serial number |
| devIdno |
string |
No |
013300000001 |
Device |
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&lang=en "Error Code Description"). |
| info | object | |
| status | number | task Status 0: Paused Status 1: Downloading 2: Canceled 3: Failed 4: Success |
| downloadUrl | string | download Link |
| playUrl | string | play Link |
Return Example
{
"result": 0,
"info":{
"status":4,
"downloadUrl":https://v7.cmsv8.com:16611/3/5?DownType=3&DevIDNO=013300000001&FLENGTH=206580&FOFFSET=0&MTYPE=0&FPATH=CH7_0_0_0_0_200617-160534_200617-160554.avi&SAVENAME=CH7_0_0_0_0_200617-160534_200617-160554.avi&jsession=66d754dd7f41473dbd2,
"playUrl":https://v7.cmsv8.com:16611/3/5?DownType=5&DevIDNO=013300000001&FILELOC=2&FILESVR=1&FILECHN=0&FILEBEG=0&FILEEND=0&PLAYIFRM=0&PLAYFILE=CH7_0_0_0_0_200617-160534_200617-160554.avi&PLAYBEG=0&PLAYEND=0&PLAYCHN=0&jsession=66d754dd7f41473dbd2
}
}