人员权限下发
POST
https://api2.hik-cloud.com/api/v1/estate/entranceGuard/permissions/actions/authorityIssued
返回码 | 返回消息 | 描述 |
---|---|---|
510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
511030 | 社区中人员不存在 | |
511148 | 未查到设备信息 | 设备不存在或设备不在该社区 |
请求示例请求示例
Shell
JavaScript
Java
Swift
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": "操作成功"
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json