Last Updated on : 2023-06-21 07:13:11download
Add a space under the community, including community, building, unit, and floor. A unique space ID in the SaaS solution will be returned. A response will be returned to indicate whether the operation is successful.
POST: /v1.0/iot-02/community/space
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
block_id | String | true | The ID of the community. | |
parent_tree_id | String | false | The ID of a specified parent node. | |
meta_code | String | true | The space type.
| |
value | String | true | The name. | |
building_type | Integer | false | The type of building.
| |
building_toward | Integer | false | The direction of a specified building.
| |
building_address | String | false | The geographical location of the building, including the latitude and longitude. |
Parameter name | Type | Description |
---|---|---|
result | String | The ID of a specified space. |
POST: /v1.0/iot-02/community/space
{
"block_id": "136767399153950xxxx",
"parent_tree_id": "137249370834323xxxx",
"meta_code": "building",
"value": "Building 1",
"has_leaf": true,
"building_type": 1,
"building_toward": 1,
"buildingAddress": "Building address"
}
"136762299153950xxxx"
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback