Last Updated on : 2023-06-21 07:13:10download
Query the data overview chart of a specified tenant device based on the device type number, time type, and time.
GET: /v1.0/iot-03/si/datapoint/analysis/survey/chart
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_type_code | String | query | true | The code of a specified device type. |
type | Integer | query | true | The time type. Valid values:
|
start_time | Long | query | true | The start time. |
end_time | Long | query | true | The end time. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
key | Long | The time point. |
value | Double | The value of the data. |
GET: /v1.0/iot-03/si/datapoint/analysis/survey/chart?device_type_code=water&type=2&start_time=20211001&end_time=20211031
{
"result": [
{
"value": 0,
"key": 20211026
},
{
"value": 10.644,
"key": 20211027
},
{
"value": 12.099,
"key": 20211028
}
],
"t": 1635499353396,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback