/// <summary> /// 获取指定某段时间 微信文章 的统计数据 /// </summary> /// <param name="statisticReq">时间跨度最大【三天】</param> /// <returns></returns> public WxStatResp <WxArticleStatDaliyMo> GetAticleUserReadStatistic(WxStatReq statisticReq) { var req = new OsHttpRequest(); req.HttpMothed = HttpMothed.POST; req.AddressUrl = string.Concat(m_ApiUrl, "/datacube/getuserread"); req.CustomBody = GetRequestBody(statisticReq); return(RestCommonOffcial <WxStatResp <WxArticleStatDaliyMo> >(req)); }
/// <summary> /// 接口调用分析接口 /// 最大时间宽度【三十天】 /// </summary> /// <param name="statReq"> 最大时间宽度【三十天】</param> /// <returns></returns> public async Task <WxInterfaceStatResp> GetInterfaceStatisticAsync(WxStatReq statReq) { var req = new OsHttpRequest(); req.HttpMothed = HttpMothed.POST; req.AddressUrl = string.Concat(m_ApiUrl, "/datacube/getinterfacesummary"); req.CustomBody = GetRequestBody(statReq); return(await RestCommonOffcialAsync <WxInterfaceStatResp>(req)); }
/// <summary> /// 获取消息【分布】统计概览 /// 时间宽度最多 【十五天】 /// </summary> /// <param name="statisticReq">时间跨度最多【十五天】</param> /// <returns></returns> public WxStatResp <WxMsgUpStatDistMo> GetUpMsgDistStatistic(WxStatReq statisticReq) { var req = new OsHttpRequest(); req.HttpMothed = HttpMothed.POST; req.AddressUrl = string.Concat(m_ApiUrl, "/datacube/getupstreammsgdist"); req.CustomBody = GetRequestBody(statisticReq); return(RestCommonOffcial <WxStatResp <WxMsgUpStatDistMo> >(req)); }
/// <summary> /// 获取【月】消息统计概览 /// 时间宽度最多 【三十天】 /// </summary> /// <param name="statisticReq">时间跨度最多【三十天】</param> /// <returns></returns> public async Task <WxStatResp <WxMsgUpStatMo> > GetUpMsgMonthStatisticAsync(WxStatReq statisticReq) { var req = new OsHttpRequest(); req.HttpMothed = HttpMothed.POST; req.AddressUrl = string.Concat(m_ApiUrl, "/datacube/getupstreammsgmonth"); req.CustomBody = GetRequestBody(statisticReq); return(await RestCommonOffcialAsync <WxStatResp <WxMsgUpStatMo> >(req)); }
/// <summary> /// 获取【周】消息统计概览 /// 时间宽度最多 【三十天】 /// </summary> /// <param name="statisticReq">时间跨度最多【三十天】</param> /// <returns></returns> public async Task <WxStatResp <WxMsgUpStatMo> > GetUpMsgWeekStatistic(WxStatReq statisticReq) { var req = new OsHttpRequest { HttpMethod = HttpMethod.Post, AddressUrl = string.Concat(m_ApiUrl, "/datacube/getupstreammsgweek"), CustomBody = GetRequestBody(statisticReq) }; return(await RestCommonOffcialAsync <WxStatResp <WxMsgUpStatMo> >(req)); }
/// <summary> /// 获取指定某段时间 微信文章 的分享统计数据 /// </summary> /// <param name="statisticReq">时间跨度最大【七天】</param> /// <returns></returns> public async Task <WxStatResp <WxArticleStatShareMo> > GetAticleUserShareStatisticAsync(WxStatReq statisticReq) { var req = new OsHttpRequest(); req.HttpMothed = HttpMothed.POST; req.AddressUrl = string.Concat(m_ApiUrl, "/datacube/getusershare"); req.CustomBody = GetRequestBody(statisticReq); return(await RestCommonOffcialAsync <WxStatResp <WxArticleStatShareMo> >(req)); }
/// <summary> /// 获取指定某段时间 微信文章 的统计数据 /// </summary> /// <param name="statisticReq">时间跨度最大【三天】</param> /// <returns></returns> public async Task <WxStatResp <WxArticleStatDaliyMo> > GetAticleUserReadStatisticAsync(WxStatReq statisticReq) { var req = new OsHttpRequest { HttpMethod = HttpMethod.Post, AddressUrl = string.Concat(m_ApiUrl, "/datacube/getuserread"), CustomBody = GetRequestBody(statisticReq) }; return(await RestCommonOffcialAsync <WxStatResp <WxArticleStatDaliyMo> >(req)); }