请求接口 https://qyapi.weixin.qq.com/cgi-bin/oa/applyevent
提交Json
{
"creator_userid": "13516007089",
"template_id": "Bs5LUgiu71QZDJCRSrJGFWqiT52LRqPFNoEWWfF5u",
"use_template_approver": 1,
"approver": [{
"attr": 2,
"userid": ["WuJunJie", "WangXiaoMing"]
},
{
"attr": 1,
"userid": ["LiuXiaoGang"]
}
],
"apply_data": {
"contents": [{
"control": "Text",
"id": "Text-1574338594725",
"value": {
"text": "20210523001"
}
},
{
"control": "Table",
"id": "Table-1574338607334",
"children": [{
"list": [{
"control": "Text",
"id": "Text-1574338611473",
"value": {
"text": "A111"
}
}]
}]
}
]
}
}
报错
status: HTTP/1.1 200 OK
connection: close
error-code: 301025
error-msg: get approval param error:Table-1574338607334
content-type: application/json; charset=UTF-8
content-length: 74
返回结果{ "errcode": 301025, "errmsg": "get approval param error:Table-1574338607334" }
你好,应该就是跟报错提示一样,这个明细控件填错了,麻烦再检查下
文档真的垃圾的要死,table id模板获取来的不会错 却一直报这个错