Last Updated on : 2023-06-15 06:01:24
Query the device data of a specified tenant based on the monitored object ID, device type code, time, and time type.
GET: /v1.0/iot-03/si/datapoint/analysis/statistics
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
date | String | query | true | The date string. |
type | Integer | query | true | The time type. Valid values:
|
device_type_code | String | query | true | The code of a specified device type. |
monitor_object_ids | String | query | true | The ID of a specified monitored object. Multiple IDs are separated by a comma (,). |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
data_list | List | The list of data. |
monitor_object_name | String | The name of a specified monitored object. |
Description of data_list
Parameter name | Type | Description |
---|---|---|
key | Long | The time point. |
value | Double | The value of the data. |
GET: /v1.0/iot-03/si/datapoint/analysis/statistics?date=2021-10&type=2&monitor_object_ids=163****,163****&device_type_code=water
{
"result": [
{
"data_list": [
{
"value": 0,
"key": 20211026
},
{
"value": 10.644,
"key": 20211027
},
{
"value": 12.099,
"key": 20211028
}
],
"monitor_object_name": "Energy Consumption 01"
}
],
"t": 1635500340208,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback