#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions
and limitations under the License.
Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
----------------------------------------------------------------*/
#endregion Apache License Version 2.0
/*----------------------------------------------------------------
Copyright (C) 2019 Senparc
文件名:ArticleAnalysisItemJson.cs
文件功能描述:获取图文群发每日数据返回结果 单条数据类
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
修改标识:Senparc - 20150310
修改描述:修改类
修改标识:Senparc - 20180116
修改描述:GetUserReadItem 和 GetUserReadHourItem 添加 user_source 属性(用户渠道来源)
文档:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141084 关键字:user_source
----------------------------------------------------------------*/
using System.Collections.Generic;
namespace Senparc.Weixin.MP.AdvancedAPIs.Analysis
{
///
/// 图文群发每日数据 单条数据
///
public class ArticleSummaryItem : BaseAnalysisObject
{
///
/// 数据的日期
///
public string ref_date { get; set; }
///
/// 这里的msgid实际上是由msgid(图文消息id)和index(消息次序索引)组成, 例如12003_3, 其中12003是msgid,即一次群发的id消息的; 3为index,假设该次群发的图文消息共5个文章(因为可能为多图文), 3表示5个中的第3个
///
public string msgid { get; set; }
///
/// 图文消息的标题
///
public string title { get; set; }
///
/// 图文页(点击群发图文卡片进入的页面)的阅读人数
///
public int int_page_read_user { get; set; }
///
/// 图文页的阅读次数
///
public int int_page_read_count { get; set; }
///
/// 原文页(点击图文页“阅读原文”进入的页面)的阅读人数,无原文页时此处数据为0
///
public int ori_page_read_user { get; set; }
///
/// 原文页的阅读次数
///
public int ori_page_read_count { get; set; }
///
/// 分享的人数
///
public int share_user { get; set; }
///
/// 分享的次数
///
public int share_count { get; set; }
///
/// 收藏的人数
///
public int add_to_fav_user { get; set; }
///
/// 收藏的次数
///
public int add_to_fav_count { get; set; }
}
///
/// 图文群发总数据 单条数据
///
public class ArticleTotalItem : BaseAnalysisObject
{
///
/// 数据的日期
///
public string ref_date { get; set; }
///
/// 这里的msgid实际上是由msgid(图文消息id)和index(消息次序索引)组成, 例如12003_3, 其中12003是msgid,即一次群发的id消息的; 3为index,假设该次群发的图文消息共5个文章(因为可能为多图文), 3表示5个中的第3个
///
public string msgid { get; set; }
///
/// 图文消息的标题
///
public string title { get; set; }
public List details { get; set; }
}
public class ArticleTotal_Detail
{
///
/// 统计的日期,在getarticletotal接口中,ref_date指的是文章群发出日期, 而stat_date是数据统计日期
///
public string stat_date { get; set; }
///
/// 送达人数,一般约等于总粉丝数(需排除黑名单或其他异常情况下无法收到消息的粉丝)
///
public int target_user { get; set; }
///
/// 图文页(点击群发图文卡片进入的页面)的阅读人数
///
public int int_page_read_user { get; set; }
///
/// 图文页的阅读次数
///
public int int_page_read_count { get; set; }
///
/// 原文页(点击图文页“阅读原文”进入的页面)的阅读人数,无原文页时此处数据为0
///
public int ori_page_read_user { get; set; }
///
/// 原文页的阅读次数
///
public int ori_page_read_count { get; set; }
///
/// 分享的人数
///
public int share_user { get; set; }
///
/// 分享的次数
///
public int share_count { get; set; }
///
/// 收藏的人数
///
public int add_to_fav_user { get; set; }
///
/// 收藏的次数
///
public int add_to_fav_count { get; set; }
#region 官方暂无说明文字
public int int_page_from_session_read_user { get; set; }
public int int_page_from_session_read_count { get; set; }
public int int_page_from_hist_msg_read_user { get; set; }
public int int_page_from_hist_msg_read_count { get; set; }
public int int_page_from_feed_read_user { get; set; }
public int int_page_from_feed_read_count { get; set; }
public int int_page_from_friends_read_user { get; set; }
public int int_page_from_friends_read_count { get; set; }
public int int_page_from_other_read_user { get; set; }
public int int_page_from_other_read_count { get; set; }
public int feed_share_from_session_user { get; set; }
public int feed_share_from_session_cnt { get; set; }
public int feed_share_from_feed_user { get; set; }
public int feed_share_from_feed_cnt { get; set; }
public int feed_share_from_other_user { get; set; }
public int feed_share_from_other_cnt { get; set; }
#endregion
}
///
/// 图文统计数据 单条数据
///
public class UserReadItem : BaseAnalysisObject
{
///
/// 数据的日期
///
public string ref_date { get; set; }
///
/// 在获取图文阅读分时数据时才有该字段,代表用户从哪里进入来阅读该图文。0:会话;1.好友;2.朋友圈;3.腾讯微博;4.历史消息页;5.其他
///
public int user_source { get; set; }
///
/// 图文页(点击群发图文卡片进入的页面)的阅读人数
///
public int int_page_read_user { get; set; }
///
/// 图文页的阅读次数
///
public int int_page_read_count { get; set; }
///
/// 原文页(点击图文页“阅读原文”进入的页面)的阅读人数,无原文页时此处数据为0
///
public int ori_page_read_user { get; set; }
///
/// 原文页的阅读次数
///
public int ori_page_read_count { get; set; }
///
/// 分享的人数
///
public int share_user { get; set; }
///
/// 分享的次数
///
public int share_count { get; set; }
///
/// 收藏的人数
///
public int add_to_fav_user { get; set; }
///
/// 收藏的次数
///
public int add_to_fav_count { get; set; }
}
///
/// 图文统计分时数据 单条数据
///
public class UserReadHourItem : BaseAnalysisObject
{
///
/// 数据的日期
///
public string ref_date { get; set; }
///
/// 数据的小时,包括从000到2300,分别代表的是[000,100)到[2300,2400),即每日的第1小时和最后1小时
///
public int ref_hour { get; set; }
///
/// 在获取图文阅读分时数据时才有该字段,代表用户从哪里进入来阅读该图文。0:会话;1.好友;2.朋友圈;3.腾讯微博;4.历史消息页;5.其他
///
public int user_source { get; set; }
///
/// 图文页(点击群发图文卡片进入的页面)的阅读人数
///
public int int_page_read_user { get; set; }
///
/// 图文页的阅读次数
///
public int int_page_read_count { get; set; }
///
/// 原文页(点击图文页“阅读原文”进入的页面)的阅读人数,无原文页时此处数据为0
///
public int ori_page_read_user { get; set; }
///
/// 原文页的阅读次数
///
public int ori_page_read_count { get; set; }
///
/// 分享的人数
///
public int share_user { get; set; }
///
/// 分享的次数
///
public int share_count { get; set; }
///
/// 收藏的人数
///
public int add_to_fav_user { get; set; }
///
/// 收藏的次数
///
public int add_to_fav_count { get; set; }
}
///
/// 图文分享转发数据 单条数据
///
public class UserShareItem : BaseAnalysisObject
{
///
/// 数据的日期
///
public string ref_date { get; set; }
///
/// 分享的场景
///1代表好友转发 2代表朋友圈 3代表腾讯微博 255代表其他
///
public int share_scene { get; set; }
///
/// 分享的人数
///
public int share_count { get; set; }
///
/// 分享的次数
///
public int share_user { get; set; }
}
///
/// 图文分享转发分时数据 单条数据
///
public class UserShareHourItem : BaseAnalysisObject
{
///
/// 数据的日期
///
public string ref_date { get; set; }
///
/// 数据的小时,包括从000到2300,分别代表的是[000,100)到[2300,2400),即每日的第1小时和最后1小时
///
public int ref_hour { get; set; }
///
/// 分享的场景
///1代表好友转发 2代表朋友圈 3代表腾讯微博 255代表其他
///
public int share_scene { get; set; }
///
/// 分享的人数
///
public int share_count { get; set; }
///
/// 分享的次数
///
public int share_user { get; set; }
}
}