| 返回码 | 返回消息 | 描述 |
|---|---|---|
| 510001 | 参数错误 | 必填项为空、参数长度不符合等参数异常情况 |
| 511000 | 社区不存在 | |
| 511001 | 该社区下楼栋已存在,无法添加 | |
| 511004 | 楼栋编号已经存在 | |
| 511059 | 租户信息不匹配 | 不能在其他租户的社区下新增房屋 |
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/estate/system/buildings' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"unionId": "",
"communityId": "00a795f4a25d4de09edd091f28747eb4",
"buildingName": "1幢",
"buildingNumber": "12",
"floorUpCount": "50",
"floorDownCount": "2",
"floorFamilyCount": "6",
"buildingUnitSize": "10",
"buildingRemark": "备注信息"
}'{
"code": 200,
"message": "操作成功",
"data": {
"buildingId": "6337b1d3721d48e4828fc02ed212e53b"
}
}