public interface ExternalStatisticApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<GroupChatDataResponse<GroupChatDataByDay>> |
getGroupChatData(GroupChatDayDataRequest request)
获取「群聊数据统计」数据-按自然日聚合的方式
|
io.reactivex.rxjava3.core.Single<GroupChatDataResponse<GroupChatDataByOwner>> |
getGroupChatData(GroupChatOwnerDataRequest request)
获取「群聊数据统计」数据-按群主聚合的方式
|
io.reactivex.rxjava3.core.Single<UserBehaviorDataResponse> |
getUserBehaviorData(UserBehaviorDataRequest request)
获取「联系客户统计」数据
|
@POST(value="externalcontact/get_user_behavior_data") io.reactivex.rxjava3.core.Single<UserBehaviorDataResponse> getUserBehaviorData(@Body UserBehaviorDataRequest request)
userid和partyid不可同时为空; 此接口提供的数据以天为维度,查询的时间范围为[start_time,end_time],即前后均为闭区间,支持的最大查询跨度为30天; 用户最多可获取最近180天内的数据; 当传入的时间不为0点时间戳时,会向下取整,如传入1554296400(Wed Apr 3 21:00:00 CST 2019)会被自动转换为1554220800(Wed Apr 3 00:00:00 CST 2019); 如传入多个userid,则表示获取这些成员总体的联系客户数据。
request - the request@POST(value="externalcontact/groupchat/statistic") io.reactivex.rxjava3.core.Single<GroupChatDataResponse<GroupChatDataByOwner>> getGroupChatData(@Body GroupChatOwnerDataRequest request)
此接口查询的时间范围为 [day_begin_time, day_end_time],前后均为闭区间(即包含day_end_time当天的数据),支持的最大查询跨度为30天; 用户最多可获取最近180天内的数据(超过180天企业微信将不再存储); 当传入的时间不为0点时,会向下取整,如传入1554296400(Wed Apr 3 21:00:00 CST 2019)会被自动转换为1554220800(Wed Apr 3 00:00:00 CST 2019);
request - the request@POST(value="externalcontact/groupchat/statistic_group_by_day") io.reactivex.rxjava3.core.Single<GroupChatDataResponse<GroupChatDataByDay>> getGroupChatData(@Body GroupChatDayDataRequest request)
request - the requestCopyright © 2023. All rights reserved.