queryCloudRecordBitmap:按月查询云录像掩码
功能详情
查询设备/通道某年某月的云录像覆盖的掩码,返回Bitmap,表示该月中每一天是否存在云录像,1表示有录像,0表示没有录像。
请求地址
https://openapi.lechange.cn/openapi/queryCloudRecordBitmap
子账户token请求所需最小权限
"Permission":"RecordReplay" "Resource":"cam:序列号:通道号"
传入参数说明
参数名 | 参数类型 | 是否必填 | 默认值 | 合法值 | 参数说明 |
---|---|---|---|---|---|
token | String | 是 | 管理员或者子账户accessToken | ||
deviceId | String | 是 | 设备序列号 | ||
channelId | String | 是 | 通道号 | ||
year | Integer | 是 | [1,N](N为正整数) | 年 | |
month | Integer | 是 | [1,12]正整数 | 月 |
样例输入
{
"id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"system":{
"ver":"1.0",
"appId":"lcdxxxxxxxxx",
"sign":"74bc756ebd53e9eef2836f8cf1730c10",
"time":1599031074,
"nonce":"8ec8a7bd1d1c95420de20d92422d457d"
},
"params":{
"token":"At_12345678901234567890123456789012",
"deviceId":"MEGREZ0000001842",
"channelId":"0",
"year":2016,
"month":5
}
}
返回data字段说明
字段名 | 字段类型 | 字段说明 | |
---|---|---|---|
bitmap | String | 云录像掩码 |
样例输出
{
"id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"result":{
"data":{
"bitmap":"1111100000111110000011111000001"
},
"code":"0",
"msg":"操作成功"
}
}