有奖捉虫:行业应用 & 管理与支持文档专题 HOT

接口说明

请求方式:POST。 调用频率限制:200次/小时。
服务地址/v3/statistics/get_device_stat_overview
接口服务地址与服务接入点一一对应,请选择与您的应用服务接入点对应的 服务地址
接口功能:查询应用某个时间段内每天的“日新增设备数”、“日活跃用户数(DAU)”和“历史累计设备数”。

参数说明

请求参数

参数名称
必选
类型
描述
startDate
String
查询开始日期
格式:YYYYMMDD
限制:只能查询最近3个月内的数据
endDate
String
查询截止日期,格式:YYYYMMDD

应答参数

参数名称
类型
描述
retCode
Integer
返回状态码
errMsg
String
错误信息
getDeviceStatOverviewData
Array
返回结果,getDeviceStatOverviewData 结构变量见下表

getDeviceStatOverviewData

参数名称
类型
说明
date
Integer
数据日期
accuUv
Integer
累积设备量
newUv
Integer
日新增设备量
activeUv
Integer
日在线设备峰值
invalidUv
Integer
累计无效设备量
availableUv
Integer
累计有效设备量
notificationOpen
Integer
通知栏打开设备量
notificationClose
Integer
通知栏关闭设备量
notificationUnknown
Integer
通知栏状态未知设备量

示例说明

请求示例

{
"startDate":"20220412",
"endDate":"20220414"
}

应答示例

{
"retCode": 0,
"errMsg": "",
"getDeviceStatOverviewData": [
{
"date": 20220412,
"accuUv": 2986,
"newUv": 3,
"activeUv": 325,
"invalidUv": 40,
"availableUv": 2981,
"notificationOpen": 2854,
"notificationClose": 127,
"notificationUnknown": 2425
},
{
"date": 20220413,
"accuUv": 2970,
"newUv": 5,
"activeUv": 318,
"invalidUv": 37,
"availableUv": 2965,
"notificationOpen": 2840,
"notificationClose": 125,
"notificationUnknown": 2421
},
{
"date": 20220414,
"accuUv": 2949,
"newUv": 11,
"activeUv": 333,
"invalidUv": 46,
"availableUv": 2944,
"notificationOpen": 2819,
"notificationClose": 125,
"notificationUnknown": 2411
}
]
}
?


http://www.vxiaotou.com