获取告警的设备列表(API名称:getAlarmTypeIsdpDeviceIds)
功能介绍
获取告警的设备列表
相关接口
接口名称 |
调用说明 |
---|---|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
---|---|---|---|
GET |
https://isdp+域名/openapi/v1/openTask/getAlarmTypeIsdpDeviceIds |
OpenAPI |
application/json |
请求头
KEY |
VALUE |
是否必填 |
描述 |
---|---|---|---|
Content-Type |
application/json |
是 |
无 |
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
无
响应参数
参数 |
类型 |
描述 |
---|---|---|
stateCode |
String |
响应状态码:
|
errorMessage |
String |
响应描述 |
result |
Object |
响应结果内容data、分页数据 |
Result:
参数 |
类型 |
描述 |
---|---|---|
aiIsdpDeviceIds |
List<Object> |
AI评审告警设备列表 |
sosIsdpDeviceIds |
List<Object> |
SOS设备列表 |
handUpIsdpDeviceIds |
List<Object> |
举手设备列表 |
Object:
参数 |
类型 |
描述 |
---|---|---|
isdpDeviceId |
String |
ISDP唯一设备ID |
deviceType |
String |
设备名称 |
alarmType |
Integer |
告警类型 1:举手 2:AI评审告警 3:SOS |
请求示例
无
响应示例
{ "aiIsdpDeviceIds": [ { "isdpDeviceId": "20210112--1", "deviceType": "INTELLIGENT_SAFETY_HELMET", "alarmType": 2 }, { "isdpDeviceId": "lbkq100--1", "deviceType": "MONITOR_BALL", "alarmType": 2 }, { "isdpDeviceId": "zhangyz008--1", "deviceType": "BODY_WORN_CAMERA", "alarmType": 2 }, { "isdpDeviceId": "05238798083419790101#9acedeced6794b468330d3c15ecb36b3", "deviceType": "WEBCAM", "alarmType": 2 }, { "isdpDeviceId": "14776771015--1", "deviceType": "MOBILE", "alarmType": 2 }, { "isdpDeviceId": "dc003--1", "deviceType": "INTELLIGENT_SAFETY_HELMET", "alarmType": 2 } ], "sosIsdpDeviceIds": [ { "isdpDeviceId": "y310301--1", "deviceType": "MONITOR_BALL", "alarmType": 3 }, { "isdpDeviceId": "159868370777--1", "deviceType": "MONITOR_BALL", "alarmType": 3 }, { "isdpDeviceId": "100735@isdp--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "17748538279--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "14776771015--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "15619074201--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "x00646600--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "A002--1", "deviceType": "BODY_WORN_CAMERA", "alarmType": 3 }, { "isdpDeviceId": "15219074201--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "15986837076--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "qinchuang--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "15077568888--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "2023h8--1", "deviceType": "INTELLIGENT_SAFETY_HELMET", "alarmType": 3 }, { "isdpDeviceId": "15077563333--1", "deviceType": "MOBILE", "alarmType": 3 }, { "isdpDeviceId": "lizhuang12321--1", "deviceType": "INTELLIGENT_SAFETY_HELMET", "alarmType": 3 } ], "handUpIsdpDeviceIds": [ { "isdpDeviceId": "159868370777--1", "deviceType": "MONITOR_BALL", "alarmType": 1 } ] }