收藏
回答

获取客户详情和批量获取客户详情返回的标签信息不一样

问题类型 API/组件名称 终端类型 微信版本 基础库版本
Bug 获取客户详情,批量获取客户详情 工具 3.0.27.2701 2.0.0

不一样的地方:

1.标签信息返回的不一样

2.follow_user信息返回的也不一样

获取客户详情返回:

{"errcode":0,"errmsg":"ok","external_contact":{"external_userid":"wm-BdEBgAAt38cKM0-gCp6I7YTvHeFVw","name":"SoulCoder","type":1,"avatar":"http://wx.qlogo.cn/mmhead/Q3auHgzwzM6wXd5UzJUE2v4uqHVeRKEEtJrEVqJP4dIImFJd1KUH1g/0","gender":1},"follow_user":[{"userid":"ZhuiMeng_1","remark":"SoulCoder","description":"","createtime":1604312053,"tags":[],"remark_mobiles":[],"add_way":1,"oper_userid":"wm-BdEBgAAt38cKM0-gCp6I7YTvHeFVw"},{"userid":"neal_1","remark":"SoulCoder","description":"","createtime":1599129618,"state":"190203","tags":[],"remark_mobiles":[],"add_way":1,"oper_userid":"neal_1"},{"userid":"ZhuiMeng","remark":"SoulCoder","description":"","createtime":1597740150,"state":"190489","tags":[],"remark_mobiles":[],"add_way":1,"oper_userid":"ZhuiMeng"},{"userid":"soulcoder","remark":"SoulCoder","description":"","createtime":1597632507,"tags":[{"group_name":"测试标签组","tag_name":"测试标签","type":1,"tag_id":"et-BdEBgAAmCjdymKoBQhmUA66clCe-A"}],"remark_mobiles":[],"add_way":0},{"userid":"HuJingJian","remark":"SoulCoder","description":"","createtime":1596765277,"tags":[],"remark_mobiles":[],"add_way":201,"oper_userid":"soulcoder"}]}

批量获取客户详情:

{"external_contact_list":[{"external_contact":{"external_userid":"wm-BdEBgAAt38cKM0-gCp6I7YTvHeFVw","name":"SoulCoder","avatar":"http://wx.qlogo.cn/mmhead/Q3auHgzwzM6wXd5UzJUE2v4uqHVeRKEEtJrEVqJP4dIImFJd1KUH1g/0","type":1,"gender":"1","position":null,"corpname":null,"corp_full_name":null,"unionid":null,"external_profile":null},"follow_info":{"userid":null,"remark":"SoulCoder","description":"","createtime":"1597632507","tag_id":["et-BdEBgAAmCjdymKoBQhmUA66clCe-A"],"remark_corp_name":null,"remark_mobiles":[],"add_way":0,"oper_userid":null,"state":null}}],"next_cursor":"mWZhHm8eJPs80-Qd1TTeGqwuEiHaYLJtauF5RpfWD2M","errcode":0,"errmsg":"ok"}

回答关注问题邀请回答
收藏

2 个回答

  • 企业微信运营专员-千夜
    企业微信运营专员-千夜
    2020-11-20

    你好,1批量获取客户详情标签信息是只返回tagid,不会返回标签组名字这些的, 2 能否提供下企业corpid看看,批量获取客户详情没有返回跟进成员的userid,需要先确认下

    2020-11-20
    有用
    回复 2
    • 观察
      观察
      02-27
      你好,我想确认 一下,批量获取客户详情是按照加好友时间返回的吧,及最近加好友的在前面,我们要做增量更新,不想每次都更新一遍数据
      02-27
      回复
    • 企业微信运营专员-千夜
      企业微信运营专员-千夜
      星期一 11:46回复观察
      不是按添加时间返回,不保证顺序
      星期一 11:46
      回复
  • lion
    lion
    2020-12-21

    你好,我们也遇到了同样的问题。批量接口和单个获取详情接口返回不一致,批量返回的follow_info是一个对象,并且没有返回userid等相关信息,但是单个获取详情接口返回的是follow_user,且是数组结构userid等相关信息也正常返回了。corpid:wwf381e2c696fd9825,麻烦确认一下是什么情况。

    2020-12-21
    有用
    回复
登录 后发表内容
问题标签