中科图灵开放平台 / 智慧消防视频管理模块 / 根据条件查询当前单位下的视频设备

根据条件查询当前单位下的视频设备

接口描述: 根据条件查询当前单位下的视频设备

HTTP/HTTPS
请求协议
GET
请求方式
UTF-8
编码格式
JSON
返回格式
v1.0
版本号

接口参数

参数名字类型是否必须默认值其他说明
access_token字符串可选访问令牌,仅当开启签名验证时需要传递,生成令牌可使用App.Auth.ApplyToken接口
deptId整型必须-示例
videoName字符串必须-示例
buildId整型必须-示例
pageNum字符串必须-示例
pageSize字符串必须-示例
apiRequestRaw字符串可选-
headerInfo字符串可选-[]

返回字段

返回结果类型说明
ret整型状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误
data对象或混合类型业务数据,由各自接口指定,通常为对象
data.code字符串
data.msg字符串
data.data数组
data.data>>id字符串
data.data>>name字符串
data.data>>videoNo字符串
data.data>>videoTypeId字符串
data.data>>videoPlatformId字符串
data.data>>paramJson字符串
data.data>>createTime字符串
data.data>>updateTime字符串
data.data>>delFlag字符串
data.data>>deptId字符串
data.data>>tenantId字符串
data.data>>channel字符串
data.data>>deptName字符串
data.data>>deviceTypeName字符串
data.data>>videoPlatformName字符串
data.data>>videoPlatformType字符串
data.data>>videoLiveAddress字符串
data.data>>alarmLogResList字符串
data.data>>faultNumber字符串
data.data>>alarmNumber字符串
data.data>>videoAnalysisList字符串
data.data>>deviceStatus字符串
data.data>>videoStatus字符串
data.data>>supportPlayBack字符串
data.data>>videoTypeName字符串
data.data>>pushScopeId字符串
data.data>>buildId字符串
data.data>>floor字符串
data.data>>mark字符串
data.data>>addressDesc字符串
data.data>>buildName字符串
data.data>>videoAlarmTypeList字符串
data.data>>videoAlarmNameList字符串
data.data>>lastUploadTime字符串
data.data>>pic字符串
data.data>>token字符串
msg字符串提示信息,失败时的错误提示

在线测试   

参数是否必须
service 必须
access_token 可选
deptId 必须
videoName 必须
buildId 必须
pageNum 必须
pageSize 必须
apiRequestRaw 可选
headerInfo 可选

客户端请求示例

成功响应返回示例:
{
    "code": 0,
    "msg": null,
    "data": [
        {
            "id": 23,
            "name": "消控宝3",
            "videoNo": "uTwEbcJfo27oLyUlkiQE",
            "videoTypeId": 6,
            "videoPlatformId": 12,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:30",
            "updateTime": "2021-05-12 17:14:30",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/whKV_bBpgrwfVEuWwp-WoimysXKQvGY9YdR_cdu5YSw_0.m3u8?token=1f3fb2e85ee341b1942124a3ff136a0f&session=493a06fd255b482e8038fdfc703c34fa",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 24,
            "name": "特斯联明火识别摄像头",
            "videoNo": "wP1cb0UVMhPyyL6uiQuI",
            "videoTypeId": 6,
            "videoPlatformId": 13,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/XXl_Ho4JaruvkzBbM8Ra02Dxp1i9kbV1OOMfSOur6jg_0.m3u8?token=28edcd3df4064d8199a74230ae773ea9&session=47423d887bc94758b650913fd72ee7e4",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 29,
            "name": "特斯联消控宝设备1",
            "videoNo": "wP1cb0UVMhPyyL6uiQuI",
            "videoTypeId": 6,
            "videoPlatformId": 13,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/XXl_Ho4JaruvkzBbM8Ra02Dxp1i9kbV1OOMfSOur6jg_0.m3u8?token=de777ab0385f4e4f8884d70668dce4ba&session=3a9c8317741a4d1ba62d3f27d5cd06b1",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 30,
            "name": "消控宝人员离岗",
            "videoNo": "phR9t1X451fl2yatTCqG",
            "videoTypeId": 6,
            "videoPlatformId": 13,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/Og86NboFm4eRhDHLysr4AIkLu0nMRFOJ1oNnoEu2ykU_0.m3u8?token=dc430ea177f6423f8fe6190f66926800&session=8aa84876f9da43cdbb2b3b46a2b0676f",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 32,
            "name": "特斯联消控宝设备2",
            "videoNo": "wP1cb0UVMhPyyL6uiQuI",
            "videoTypeId": 6,
            "videoPlatformId": 13,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/XXl_Ho4JaruvkzBbM8Ra02Dxp1i9kbV1OOMfSOur6jg_0.m3u8?token=de777ab0385f4e4f8884d70668dce4ba&session=3a9c8317741a4d1ba62d3f27d5cd06b1",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 33,
            "name": "特斯联消控宝设备3",
            "videoNo": "wP1cb0UVMhPyyL6uiQuI",
            "videoTypeId": 6,
            "videoPlatformId": 13,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/XXl_Ho4JaruvkzBbM8Ra02Dxp1i9kbV1OOMfSOur6jg_0.m3u8?token=de777ab0385f4e4f8884d70668dce4ba&session=3a9c8317741a4d1ba62d3f27d5cd06b1",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 34,
            "name": "特斯联消控宝设备4",
            "videoNo": "wP1cb0UVMhPyyL6uiQuI",
            "videoTypeId": 6,
            "videoPlatformId": 13,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/XXl_Ho4JaruvkzBbM8Ra02Dxp1i9kbV1OOMfSOur6jg_0.m3u8?token=de777ab0385f4e4f8884d70668dce4ba&session=3a9c8317741a4d1ba62d3f27d5cd06b1",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 38,
            "name": "摄像头",
            "videoNo": "F05694283",
            "videoTypeId": 1,
            "videoPlatformId": 9,
            "paramJson": "{\"identifyCode\":\"MSIBBN\"}",
            "createTime": "2021-05-12 17:14:44",
            "updateTime": "2021-05-12 17:14:44",
            "delFlag": "0",
            "deptId": 460,
            "tenantId": 98,
            "channel": 2,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://easy.turing.ac.cn/hls/stream_2/stream_2_live.m3u8",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 39,
            "name": "展厅摄像头",
            "videoNo": "E95765661",
            "videoTypeId": 1,
            "videoPlatformId": 9,
            "paramJson": "{\"identifyCode\":\"JKLSNR\"}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://hls01open.ys7.com/openlive/53f105893b0d4f0493b88918df5fe9be.hd.m3u8",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        },
        {
            "id": 42,
            "name": "销控宝",
            "videoNo": "uTwEbcJfo27oLyUlkiQE",
            "videoTypeId": 6,
            "videoPlatformId": 12,
            "paramJson": "{}",
            "createTime": "2021-05-12 17:14:31",
            "updateTime": "2021-05-12 17:14:31",
            "delFlag": "1",
            "deptId": 460,
            "tenantId": 98,
            "channel": 1,
            "deptName": null,
            "deviceTypeName": null,
            "videoPlatformName": null,
            "videoPlatformType": null,
            "videoLiveAddress": "https://live-3a16.aliplus.com/live/whKV_bBpgrwfVEuWwp-WoimysXKQvGY9YdR_cdu5YSw_0.m3u8?token=bf36ca83b1f34fb394dcebc2420ebb15&session=36812e3b461b4b0bbb88c230e2192fc7",
            "alarmLogResList": null,
            "faultNumber": 0,
            "alarmNumber": 0,
            "videoAnalysisList": null,
            "deviceStatus": 2,
            "videoStatus": null,
            "supportPlayBack": 1,
            "videoTypeName": null,
            "pushScopeId": null,
            "buildId": null,
            "floor": null,
            "mark": null,
            "addressDesc": null,
            "buildName": null,
            "videoAlarmTypeList": null,
            "videoAlarmNameList": null,
            "lastUploadTime": null,
            "pic": null,
            "token": null
        }
    ]
}
失败响应返回示例:

错误列表

错误状态码错误描述信息
400ret=400,客户端参数错误或非法请求
404表示接口服务不存在
406ret=406,access_token令牌校验不通过
407ret=407,app_key权限不足,或未知应用
408ret=408,当前用户禁止使用,或用户未登录
409ret=409,接口流量不足
500表示服务端内部错误

本文档生成时间:2024-05-22 10:48:17