返回码 | 返回消息 | 描述 |
---|---|---|
510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
511018 | 身份类型为租客时,离开时间不能为空 | |
511022 | 住户不存在 | |
511026 | 该户室已经关联业主 | |
511029 | 户室信息错误 | |
511059 | 租户信息不匹配 | 不能关联其他租户的房屋 |
511099 | 身份类型为租客时,离开时间必须大于入住时间 | |
511153 | 当前房屋没有业主,请联系物业人员修改人员登记审核方式为物业审核 | |
511189 | 离开时间必须大于入住时间 |
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/estate/system/person/actions/setRoomRelation' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"personId": "01b58e91d18b45cea4de6c43cbd1cef3",
"delRoomId": "4b7c226f000146189ff76f445a7cc268",
"addRoomId": "4b7c226f000146189ff76f445a7cc268",
"identityType": 2,
"checkInDate": "2019-04-07",
"checkOutDate": "2029-05-07",
"isAudit": 1
}'
{
"code": 200,
"message": "操作成功",
"data": {
"auditOrderId": "00a795f4a25d4de09edd091f28747eb4"
}
}