收藏
回答

成员离职。 转移客户群出现问题?

调用接口获取离职成员的客户列表请求地址https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_unassigned_list返回状态status: HTTP/1.1 200 OK

date: Thu, 20 Jan 2022 05:28:05 GMT

返回结果{ "errcode": 0, "errmsg": "ok", "info": [ { "handover_userid": "nnn", "external_userid": "woH8EgDAAAPMhNKXrW2VdsMSO_cdIaKQ", "dimission_time": 1640943909 }, { "handover_userid": "nnn", "external_userid": "wmH8EgDAAA6IjQqwRzHNnVzyttE6Id-A", "dimission_time": 1640943909 }, { "handover_userid": "YuanYu", "external_userid": "wmH8EgDAAAen742WXCDMHDLtWknqbWyg", "dimission_time": 1634326646 }, { "handover_userid": "YuanYu", "external_userid": "wmH8EgDAAA8q_Xj4Kx0knxbJGI5ciO6g", "dimission_time": 1634326646 }, { "handover_userid": "YuanYu", "external_userid": "wmH8EgDAAA1IyhfVtRcAaxH0vfPPcGMw", "dimission_time": 1634326646 }, { "handover_userid": "HeiTan", "external_userid": "wmH8EgDAAAyQAePA5otCKgI-2zuAQvbg", "dimission_time": 1619332281 }, { "handover_userid": "HeiTan", "external_userid": "wmH8EgDAAAsUWU1jIbqSRGZXOxbuqJKw", "dimission_time": 1619332281 } ], "is_last": true }

由上面的接口可以看出 HeiTan 是离职状态

但是调用分配离职成员的客户群 https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/transfer?access_token=ACCESS_TOKEN

{

"chat_id_list" : ["wrH8EgDAAAKPP1yq1Cyuf8lLM3EmsfQQ"],

"new_owner" : "YueXiaHeiYi"

}

但是返回的结果是90500(群主并未离职)

corpId: wwc5ef048c99ce6bc0

麻烦帮忙查询一下

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

1 个回答

  • 黑炭
    黑炭
    2022-01-20

    之前是提了离职申请(已通过)。 现在是把员工在企业中删除。

    调用接口获取离职成员的客户列表请求地址https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_unassigned_list返回状态status: HTTP/1.1 200 OK

    date: Thu, 20 Jan 2022 06:14:29 GMT

    content-type: application/json; charset=UTF-8

    content-length: 1035

    connection: close

    error-code: 0

    error-msg: ok

    返回结果{ "errcode": 0, "errmsg": "ok", "info": [ { "handover_userid": "nnn", "external_userid": "woH8EgDAAAPMhNKXrW2VdsMSO_cdIaKQ", "dimission_time": 1640943909 }, { "handover_userid": "nnn", "external_userid": "wmH8EgDAAA6IjQqwRzHNnVzyttE6Id-A", "dimission_time": 1640943909 }, { "handover_userid": "YuanYu", "external_userid": "wmH8EgDAAAen742WXCDMHDLtWknqbWyg", "dimission_time": 1634326646 }, { "handover_userid": "YuanYu", "external_userid": "wmH8EgDAAA8q_Xj4Kx0knxbJGI5ciO6g", "dimission_time": 1634326646 }, { "handover_userid": "YuanYu", "external_userid": "wmH8EgDAAA1IyhfVtRcAaxH0vfPPcGMw", "dimission_time": 1634326646 }, { "handover_userid": "HeiTan", "external_userid": "wmH8EgDAAA9tMxu4r9rGiq9njOdJd_-w", "dimission_time": 1642658771 }, { "handover_userid": "HeiTan", "external_userid": "wmH8EgDAAA2NlWwkfhWuZgVwV-pMaxTw", "dimission_time": 1642658771 }, { "handover_userid": "HeiTan", "external_userid": "wmH8EgDAAAyQAePA5otCKgI-2zuAQvbg", "dimission_time": 1619332281 }, { "handover_userid": "HeiTan", "external_userid": "wmH8EgDAAAsUWU1jIbqSRGZXOxbuqJKw", "dimission_time": 1619332281 } ], "is_last": true }

    2022-01-20
    有用
    回复
登录 后发表内容