返回码 | 返回消息 | 描述 |
---|---|---|
510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
511025 | 参数异常 | 请求参数包含不合法信息(例如:平台不支持的值) |
511033 | 没有该设备权限 | |
511035 | 获取信息失败 |
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/estate/entranceGuard/remoteControl/actions/gateControl' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"personId": "00a795f4a25d4de09edd091f28747eb4",
"deviceId": "1053359bc54648799daa0fb6f40f3e78",
"command": "open"
}'
{
"code": 200,
"message": "操作成功"
}