获取防区列表
GET
https://api2.hik-cloud.com/api/v1/device/isapi/alarmHost/configurationZones
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/device/isapi/alarmHost/configurationZones' \
--header 'Authorization: Bearer '
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"List": [
{
"Zone": {
"id": 0,
"zoneName": "防区 1",
"detectorType": "other",
"zoneType": "Instant",
"subSystemNo": 1,
"delayTime": 1,
"stayAwayEnabled": false,
"silentEnabled": false,
"timeoutLimit": true,
"timeoutType": "tigger",
"timeout": 30,
"RelatedChanList": [
{
"RelatedChan": {
"relator": "host",
"cameraSeq": "",
"relatedChan": 0
}
}
],
"moduleChannel": 255,
"moduleType": "localWired",
"moduleStatus": "online",
"sensitivity": 10,
"resistor": 2.2,
"tamperType": "disable",
"zoneAttrib": "wired",
"doubleZoneCfgEnable": false,
"armNoBypassEnabled": false,
"doubleKnockEnabled": false,
"doubleKnockTime": 5
}
}
]
}
}
请求参数
Query 参数
deviceSerial
string
设备序列号
示例值:
12345465
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
返回响应
修改于 2022-05-27 06:32:17