Last Updated on : 2023-06-15 06:05:43
Create a house and add extension information. A house is a leaf node in the entire project space. You can add a house node under the floor space. parent_tree_id is the space ID corresponding to the floor space, and it is returned when you add a space node. A unique house ID in the SaaS solution will be returned if the house is created successfully.
POST: /v1.0/iot-02/community/room
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| block_id | String | true | The ID of the community. | |
| parent_tree_id | String | true | The ID of a specified parent node. | |
| meta_code | String | false | The house type. | |
| room_site | String | false | The house location. | |
| room_name | String | false | The house name. | |
| room_status | String | false | The house status. | |
| room_size | String | false | The house area. | |
| door_model | String | false | The house layout. | |
| room_toward | Integer | false | The house orientation.
| |
| hand_over_date | Long | false | The date on which the house was delivered. | |
| period_int | String | false | The tenure of property rights. |
| Parameter name | Type | Description |
|---|---|---|
| result | String | The space ID of a specified house node. |
POST: /v1.0/iot-02/community/room
{
"block_id": "138230001889922xxxx",
"room_status": 5,
"room_size": "1",
"room_img": "",
"room_site_id": "139208325392556xxxx",
"address": "Room xx1, Unit 1, Building A, Grand Center",
"period_int": "70 years",
"room_name": "101",
"hand_over_date": "2021/10/10",
"door_model": "3/2/1/1"
}
"136767399153150xxxx"
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback