收藏
回答

获取「联系客户统计」数据 接口调用数据错误?

https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_user_behavior_data?access_token=ACCESS_TOKEN

此接口在2023-10-12 02:32:23.100调用时返回统计数据均为0,使用相同参数在现在调用数据正常

参数如下:

{

  "userid": ["woZVp8EAAAMlqLfdAPaUlSMnaB--DOGg"],

  "partyid": null,

  "start_time": 1696962717,

  "end_time": 1696962717

}


2023-10-12 02:32:23.100 返回值如下:

{"behaviorList":[{"avgReplyTime":0,"chatCnt":0,"messageCnt":0,"negativeFeedbackCnt":0,"newApplyCnt":0,"newContactCnt":0,"replyPercentage":0.0,"statTime":1696953600}],"errcode":0,"errmsg":"ok"}


此刻返回值如下:

{ "errcode": 0, "errmsg": "ok", "behavior_data": [ { "stat_time": 1696953600, "chat_cnt": 2, "message_cnt": 12, "reply_percentage": 66, "avg_reply_time": 277, "negative_feedback_cnt": 0, "new_apply_cnt": 0, "new_contact_cnt": 3 } ] }



回答关注问题邀请回答
收藏
登录 后发表内容