请问这个问题解决了吗?我也碰到相同的问题。
企业微信API审批接口 参数为空如何表示关联审批单 和 附件 参数为非必填项 我利用API提交审批流程,不上传关联审批单 和 附件,报错301025 调用接口 提交审批申请 请求地址 https://qyapi.weixin.qq.com/cgi-bin/oa/applyevent 返回状态 status: HTTP/1.1 200 OK connection: close error-code: 301025 error-msg: get approval param error: content-type: application/json; charset=UTF-8 content-length: 55 返回结果 { "errcode": 301025, "errmsg": "get approval param error:" } { "creator_userid": "aaaaa", "template_id": "Bs7zzfFJS5xZHf7G5ETnxxxxxx2FvRQz7ZvfVQJLi", "use_template_approver": 1, "apply_data": { "contents": [ { "control": "RelatedApproval", "id": "RelatedApproval-1605611143898", "title": [{ "text": "关联审批单", "lang": "zh_CN" }], "value": { "related_approval": { "sp_no": "" } } }, { "control": "File", "id": "File-1605691319461", "title": [{ "text": "附件", "lang": "zh_CN" }], "value": { "files": [{ "file_id": "" }] } }, { "control": "Textarea", "id": "Textarea-1605691324779", "title": [{ "text": "备注", "lang": "zh_CN" }], "value": { "textarea": "测试" } } ] }, "summary_list": [{ "summary_info": [{ "text": "摘要第1行", "lang": "zh_CN" }] }] }
2021-03-27