Wi-Fi data statistics
Wi-Fi data statistics
Query the total number of people connected to WiFi within a certain time range, the number of people connected to Wi-Fi via WeChat, the number of visitors to the business homepage, and the number of people connected to the Internet The number of people who sent messages, the number of new public account followers, and the cumulative number of public account followers. The maximum time span for queries is 30 days.
Interface call description
协议:https http请求方式: POST 请求URL:https://api.weixin.qq.com/bizwifi/statistics/list?access_token=ACCESS_TOKEN POST数据格式:JSON
Request parameter description
Parameter | Is it required | Description |
---|---|---|
access_token | Yes | Call interface credentials |
POST data | is | JSON data |
Field | Required | Description |
---|---|---|
begin_date | is the | starting date and time, format yyyy-mm -dd, the maximum time span is 30 days |
end_date | is the | end date timestamp, the format is yyyy-mm-dd, the longest The time span is 30 days |
shop_id | No | Search by store ID, -1 is total statistics |
Return data description
Correctly returned JSON data example:
{ "errcode": 0, "data": [ { "shop_id": "-1", "statis_time": 1430409600000, "total_user": 2, "homepage_uv": 0, "new_fans": 0, "total_fans": 4, "wxconnect_user": 8, "connect_msg_user": 5 }, { "shop_id": "-1", "statis_time": 1430496000000, "total_user": 2, "homepage_uv": 0, "new_fans": 0, "total_fans": 4, "wxconnect_user": 4, "connect_msg_user": 3 } ] }
Field description:
Field | Description |
---|---|
shop_id | Store ID, -1 is total statistics |
statis_time | Statistical time in milliseconds |
Total number of people connected to Wi-Fi | |
Number of visitors to the business homepage | |
Number of new public account followers | |
Cumulative number of public account followers | |
Number of people connected to Wi-Fi via WeChat | |
The number of people who sent messages after connecting to the Internet |