Last Updated on : 2023-06-21 07:13:09download
Query the year-on-year data analytics of devices under a specified tenant based on the year, monitored object ID, and the device type code.
GET: /v1.0/iot-03/si/datapoint/analysis/statistics/compare
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
date | String | query | true | The year. |
device_type_code | String | query | true | The code of a specified device type. |
monitor_object_id | String | query | true | The ID of a specified monitored object. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
current_value | Double | The value of the current period. |
last_value | Double | The value of the last period. |
month | Long | The month. |
compared_value | Double | The year-on-year value. |
GET: /v1.0/iot-03/si/datapoint/analysis/statistics/compare?date=2021&monitor_object_id=163****&device_type_code=water
{
"result": [
{
"current_value": 22.743,
"month": 202110
}
],
"t": 1635501092194,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback