重新提交审批任务
POST
https://open.feishu.cn/open-apis/approval/v4/tasks/resubmit
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
400 | 1395001 | There have been some errors. Please try again later | 服务出现错误,请稍候再试 |
400 | 1390018 | not support handwritten signature | 不支持手写签名 |
400 | 1390010 | task not found | 任务未找到 |
400 | 1390001 | param is invalid | 参数错误 |
400 | 1390002 | approval code not found | 检查审批定义code是否正确 |
400 | 1390003 | instance code not found | 检查审批实例code是否正确 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.feishu.cn/open-apis/approval/v4/tasks/resubmit?user_id_type=open_id' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"approval_code": "7C468A54-8745-2245-9675-08B7C63E7A85",
"instance_code": "81D31358-93AF-92D6-7425-01A5D67C4E71",
"user_id": "f7cb567e",
"comment": "{\"text\":\"评论\",\"file_codes\":[\"ABCD1232s\",\"ABC12334d22\"]}",
"task_id": "12345",
"form": "[{\"id\":\"user_name\", \"type\": \"input\", \"value\":\"test\"}]"
}'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {}
}
请求参数
Query 参数
user_id_type
string
可选
示例值:
open_id
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
Body 参数application/json
返回响应
修改于 2023-02-02 03:03:25