Last Updated on : 2023-06-21 07:13:02download
Create a custom statistical dimension node. For example, add a lighting dimension node to the custom purpose dimension.
POST: /v1.0/iot-03/statistical-dimensions/{dimension_code}/nodes
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
dimension_code | String | uri | true | The dimension code. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
nodes | List |
false | The list of dimension nodes. | |
parent_node_id | String | false | The ID of a specified parent node. |
Description of nodes
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
node_id | String | false | The ID of a specified dimension node. | |
name | String | false | The name of a specified dimension node. |
Parameter name | Type | Description |
---|---|---|
result | List | The list of dimension nodes. |
Description of result
Parameter name | Type | Description |
---|---|---|
node_id | String | The ID of a specified dimension node. |
name | String | The name of a specified dimension node. |
POST: /v1.0/iot-03/statistical-dimensions/usage/nodes
{
"nodes": [
{
"nodeId": "1",
"name": "Lighting"
},
{
"nodeId": "2",
"name": "Air Conditioner"
}
],
"parentNodeId": ""
}
{
"result": [
{
"name": "Lighting",
"nodeId": "1"
},
{
"name": "Air Conditioner",
"nodeId": "2"
}
],
"t": 1624525873263,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback