返回码 | 返回消息 | 描述 |
---|---|---|
510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
511000 | 社区不存在 | |
511023 | 住户已存在 | |
511046 | 该人员不存在 | |
511059 | 租户信息不匹配 | 不能关联其他租户的社区 |
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/estate/system/person/actions/addCommunityRelation' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"personId": "01b58e91d18b45cea4de6c43cbd1cef3",
"communityId": "0253b3f7daaf48dc9bef267163cd1cd1"
}'
{
"code": 200,
"message": "操作成功"
}