- 第三方应用--分配在职成员的客户接口--报错提示41035(缺少外部联系人userid参数)
按照规范调用api,出现异常! 参考接口文档:https://work.weixin.qq.com/api/doc/90001/90143/94096 请求链接:https://qyapi.weixin.qq.com/cgi-bin/externalcontact/transfer?access_token=6i6u6-1t09_STvkquX3d0nc0afq0xDnzCFkIwV_v138ZRuem1Wf98i2udBvge6UIYLgJC5DVwfjRq9JjKFsb0zOrdeGlSH0VoVBUl29EBNJZN5P6NqJ8BOmCkXc5igTKUouB9wWyc_liMuo4StJkWiMnwNABqTQ-pe7rEin_oPwD_Xrbs-68zmjr1sAtSgGrGkjhu6VnieAQeLfy9sHQcA 入参: { "handover_userid": "wufanxiaohao03", "takeover_userid": "liyuxin", "external_userid": [ "wmDXHHDQAAcq5P553zcGVKpsNYP453gQ" ], "transfer_success_msg":"您好,您的服务已升级,后续将由我的同事李四@腾讯接替我的工作,继续为您服务。" } 响应: { "errcode": 41035, "errmsg": "missing external userid, hint: [1614762332_107_440ee03aa446071dd1ca0a35fab1b16a], from ip: 119.137.54.102, more info at https://open.work.weixin.qq.com/devtool/query?e=41035" } POSTMAN请求测试: [图片] 麻烦请尽快核实api
2021-03-03 - 第三方应用开发---分配离职成员的客户api,替换了新接口地址?
旧接口 url : https://qyapi.weixin.qq.com/cgi-bin/externalcontact/transfer?access_token={ACCESS_TOKEN} param: {"external_userid":"wmYBmFEAAADvFlxPgp04g1Iy9txuiZdg","handover_userid":"18653159608","takeover_userid":"13065082705"} 新接口 https://work.weixin.qq.com/api/doc/90001/90143/94100 改动点: 接口地址换了external_userid是数组类型现在是用新接口好还是旧接口? 好像分配在职成员客户的接口地址也修改了,之前分配在职成员客户和分配离职客户的接口是一样的, https://work.weixin.qq.com/api/doc/90001/90143/94096 能够证实吗?
2021-02-23 - 第三方应用开发调用分配离职成员的客户群接口,提示48002
文档地址:https://work.weixin.qq.com/api/doc/90001/90143/93242 请求地址:https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/transfer?access_token=ACCESS_TOKEN 入参: { "chat_id_list" : ["wrDXHHDQAA31lal8NjtNZG4jMxYgLvyw"], "new_owner" : "YangFan" } 响应: { "errcode": 48002, "errmsg": "api forbidden, hint: [1611737315_154_c33ebfdf9dc59872cd25faa29689d49b], from ip: 218.77.40.203, more info at https://open.work.weixin.qq.com/devtool/query?e=48002", "failed_chat_list": [] } 使用内部开发调用该接口,没有问题。希望尽快核实,如果验证没有问题,希望可以回复一下,谢谢!
2021-01-27 - 第三方应用,发送应用消息(任务卡片),已开启id转义,收到卡片消息正常,当点击已批准,又不支持转义
api 文档 : https://work.weixin.qq.com/api/doc/90001/90143/90372 操作步骤: 发送任务卡片消息,开启id转义,收到卡片消息正常, 入参: { "touser": "c7c837029108ce4d7309054af20270dc", "msgtype": "taskcard", "agentid": 1000046, "taskcard": { "title": "战败审核申请", "description": "收到一个来自$userName=c7c837029108ce4d7309054af20270dc$的战败审核申请,请审批", "url": "https://test.qiyucloud.com.cn/chat/#/failExamine?auditId=5", "task_id": "14task_id_audit_5", "btn": [{ "color": "blue", "name": "批准", "key": "task_btn_key_1", "is_bold": true, "replace_name": "已批准" }, { "color": "red", "name": "驳回", "key": "task_btn_key_0", "is_bold": true, "replace_name": "已驳回" } ] }, "enable_id_trans": 1 } 结果 [图片] 2.点击批准或者驳回后,id转义异常 [图片]
2020-07-27 - 第三方应用开发调用企业微信发送应用消息(任务卡片),如何支持id转义?
请求地址: https://qyapi.weixin.qq.com/cgi-bin/message/send 入参: { "touser": "c7c837029108ce4d7309054af20270dc", "agentid": 1000003, "msgtype": "taskcard", "taskcard": { "title": "$userName=BaoXiaoHan$赵明登的礼物申请", "description": "$userName=BaoXiaoHan$", "task_id": "taskid123111249", "btn": [{ "key": "1212", "name": "批准", "replace_name": "已批准", "color": "red", "is_bold": true }, { "key": "key222132212", "name": "驳回", "replace_name": "已驳回" } ] }, "enable_id_trans": 1 } 发送的效果 [图片] 已开启了id转义 "enable_id_trans": 1 , userid : BaoXiaoHan 在企业中存在
2020-07-21