Last Updated on : 2023-06-15 05:10:22
Get an overview of various data of the specified product based on the product ID. The data is related to the device activation, app users, user feedback, and device faults under the specified product.
GET: /v1.0/statistics-datas-survey
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
product_id | String | query | false | The product ID. If you do not set the parameter, all your product IDs will be returned. |
Parameter name | Type | Description |
---|---|---|
result | Object | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
dev_active | Object | The overview of activated device data. |
App_register | Object | The overview of app user data. |
user_feedback | Object | The overview of user feedback. |
dev_fault | Object | The overview of device faults. |
Description of dev_fault
Parameter name | Type | Description |
---|---|---|
today_dev_fault | String | The number of failed devices today. |
yesterday_dev_fault | String | The number of failed devices yesterday. |
all_dev_fault | String | The total number of failed devices. |
compared_with_yesterday_dev_fault | String | The ratio of today's active failed devices to yesterday's active failed devices. A value of 2 means that the number of today's active devices is twice that of yesterday. |
Description of user_feedback
Parameter name | Type | Description |
---|---|---|
today_feedback | String | The number of feedback records today. |
all_feedback | String | The total number of feedback records. |
compared_with_yesterday_feedback | String | The ratio of today's feedback records to yesterday's feedback records. A value of 2 means that the number of today's active devices is twice that of yesterday. |
Description of dev_active
Parameter name | Type | Description |
---|---|---|
today_active | String | The number of devices activated today. |
yesterday_active | String | The number of devices activated yesterday. |
all_activate | String | The total number of activated devices. |
near7_day_active | String | The number of devices activated in the last seven days. |
last7_day_active | String | The number of devices activated within the seven days starting from 14 days ago. |
compared_with_yesterday_active | String | The ratio of today's active devices to yesterday's active devices. A value of 2 means that the number of today's active devices is twice that of yesterday. |
Description of App_register
Parameter name | Type | Description |
---|---|---|
today_add | String | The number of users registered today. |
yesterday_add | String | The number of users registered yesterday. |
all_add | String | The total number of registered users. |
today_live | String | The number of active users today. |
yesterday_live | String | The number of active users yesterday. |
compared_with_yesterday_add | String | The ratio of today's registered devices to yesterday's registered devices. A value of 2 means that the number of today's active devices is twice that of yesterday. |
compared_with_yesterday_live | String | The ratio of today's active devices to yesterday's active devices. A value of 2 means that the number of today's active devices is twice that of yesterday. |
GET: /v1.0/statistics-datas-survey?product_id=12345
{
"result": {
"user_feedback": {
"all_feedback": "2",
"today_feedback": "0",
"compared_with_yesterday_feedback": "0%"
},
"dev_fault": {
"compared_with_yesterday_dev_fault": "0.00%",
"all_dev_fault": "0",
"yesterday_dev_fault": "0",
"today_dev_fault": "0"
},
"dev_active": {
"all_activate": "5237",
"compared_with_yesterday_active": "0.00%",
"today_active": "0",
"yesterday_active": "0"
},
"App_register": {
"all_add": "7915",
"today_add": "0",
"compared_with_yesterday_live": "0.00%",
"yesterday_add": "0",
"compared_with_yesterday_add": "0.00%"
}
},
"t": 1545286977957,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback