获取人员门禁设备信息
GET
https://api2.hik-cloud.com/api/v1/estate/entranceGuard/remoteControl/actions/deviceList
返回码 | 返回消息 | 描述 |
---|---|---|
510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
511025 | 参数异常 | 请求参数包含不合法信息(例如:平台不支持的值) |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/estate/entranceGuard/remoteControl/actions/deviceList' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"personId": "string",
"communityId": "string",
"personType": "string"
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": [
{
"deviceId": "1053359bc54648799daa0fb6f40f3e78",
"deviceName": "幸福小区西大门",
"roomInfo": "幸福小区"
},
{
"deviceId": "799daa0fb6f40f3e781053359bc54648",
"deviceName": "二单元门口机",
"roomInfo": "幸福小区1幢二单元"
}
]
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json