呼梯
POST
https://api2.hik-cloud.com/api/v1/estate/entranceGuard/remoteControl/actions/elevatorControl
返回码 | 返回消息 | 描述 |
---|---|---|
510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
511086 | 房间不存在 | |
511167 | 远程呼梯失败 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/estate/entranceGuard/remoteControl/actions/elevatorControl' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"roomId": "00a795f4a25d4de09edd091f28747eb4",
"deviceId": "1053359bc54648799daa0fb6f40f3e78",
"sourceFloor": 1,
"targetFloor": 10
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功"
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json