Last Updated on : 2023-07-28 09:00:12download
Count the number of daily activated devices based on the start date and end date. The start and end dates cannot be more than 60 days apart.
GET: /v1.0/cloud/analytics/devices/active-datas/date
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
start_day | String | body | true | The start date in the format of yyyyMMdd . |
end_day | String | body | true | The end date in the format of yyyyMMdd . The start and end dates cannot be more than 60 days apart. |
product_id | String | body | false | The ID of the specified product under the IoT account corresponding to the cloud development project. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
success | Boolean | Indicates whether the operation is successful. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
Description of result
Parameter name | Type | Description |
---|---|---|
Date | Integer | The number of activated devices under the product ID (if a product_id is specified) or under all product IDs under the IoT account (if a product_id is not specified) on the current day. |
GET: /v1.0/cloud/analytics/devices/active-datas/date?start_day=20230723&end_day=20230729
{
"tid": "3b135d8f2b9611ee8b88c69b14dfb1da",
"result": [
{
"20230724": 11
},
{
"20230725": 9
},
{
"20230726": 0
}
],
"t": 1690363473511,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback