返回码 | 返回消息 | 描述 |
---|---|---|
510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
511030 | 社区中人员不存在 | |
511148 | 未查到设备信息 | 设备不存在或设备不在该社区 |
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/estate/entranceGuard/permissions/actions/authorityIssued' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"communityId": "e09edd091f28747e00a795f4a25d4db4",
"personId": " a25d400a795f4d47eb4e09edd091f287",
"personType": 1,
"deviceId": "91f28747eb400a795f4a25d4de09edd0"
}'
{
"code": 200,
"message": "操作成功"
}