文档首页/ ISDP/ API参考/ API接口/ 任务管理/ 作业标准管理/ 获取告警的设备列表(API名称:getAlarmTypeIsdpDeviceIds)
更新时间:2024-02-19 GMT+08:00
分享

获取告警的设备列表(API名称:getAlarmTypeIsdpDeviceIds)

功能介绍

获取告警的设备列表

相关接口

接口名称

调用说明

获取Token

调用该接口获取到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

响应状态码:

  • 0-成功
  • 其他-失败

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
        }
    ]
}

相关文档