Last Updated on : 2023-06-21 07:13:11download
Modify the information about a house, such as the house area, status, and name, based on the space ID of the house node. A response is returned to indicate whether the operation is successful.
PUT: /v1.0/iot-02/community/room/{tree_id}
Description of body
| Parameter name | Type | IN | Required | Description | 
|---|---|---|---|---|
| block_id | String | true | The ID of a community. | |
| tree_id | String | true | The space ID of a specified house node. | |
| room_site | String | true | The name of a specified house. | |
| room_name | String | true | The name of a specified house. | |
| room_status | String | true | The status of the house. 
 | |
| room_size | String | true | The area of the house. | |
| door_model | String | true | The layout of the house. For example, 3/2/1/1means three bedrooms, two rooms (including one living room and one dining room), one kitchen, and one bathroom. | |
| 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 | Boolean | Indicates whether the operation is successful. | 
PUT: /v1.0/iot-02/community/room/136767399153950xxxx
{
  "block_id": "138230001889922xxxx",
  "room_status": 5,
  "room_size": "1",
  "room_img": "",
  "room_site_id": "139208325392556xxxx",
  "room_site": "Grand Center_xx1, Unit 1, Building A",
  "period_int": "70 years",
  "room_name": "101",
  "hand_over_date": "2021/10/10",
  "door_model": "3/2/1/1"
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback