Last Updated on : 2023-06-15 05:10:26
Get the effective interaction data of the devices within the specified time range.
GET: /v1.0/iot-datacenter/app/device/effective/interaction/stat
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
params | String | query | true | JSON |
Description of params
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
startDay | String | true | The start time. | |
endDay | String | true | The end time. | |
productId | String | false | The product ID. | |
country | String | false | The country or region. | |
dimension | String | false | The dimension. Optional fields are as follows.
|
Parameter name | Type | Description |
---|---|---|
result | JSONArray | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
interactionNum | Integer | The number of effective interactions of the devices. |
enCountryName | String | The country or region name in English. |
dt | String | The date. |
formatCountryName | String | The country or region name in Chinese. |
GET: /v1.0/iot-datacenter/app/device/effective/interaction/stat?params={"startDay":"20211007" ,"endDay":"20211007","dimension":"en_country_name"}
{
"result": [
{
"dt": 20211007,
"enCountryName": "United States",
"interactionNum": 0
},
{
"dt": 20211007,
"enCountryName": "Others",
"interactionNum": 459
},
{
"dt": 20211007,
"enCountryName": "Germany",
"interactionNum": 10
},
{
"dt": 20211007,
"enCountryName": "Japan",
"interactionNum": 0
},
{
"dt": 20211007,
"enCountryName": "China",
"interactionNum": 1167
}
],
"t": 1633764761266,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback