🎉 开放平台文档站换新颜。 欢迎填问卷给我们建议,意见,反馈,夸夸 →
Skip to Content

保存审批日志数据

最近更新时间: 2023年11月08日 08时20分52秒
能力接口

描述

如果需要在任务中心查看详细的审批日志,可以通过该接口推送。

支持的模式

客户端模式,授权码模式

请求方法

POST

请求地址

https://api.tongji.edu.cn/v1/infra/task_center/push_task_log

数据来源

请求体参数

参数名类型是否必须备注
logsobject[]审批日志列表
userIdstring工号
taskIdint任务id
instIdint实例id,实例的唯一标识,即用户的一条申请id
nodeNamestring节点名称
operationDescstring操作名称
commentstring审批意见
createdstring创建时间

请求示例

curl -X 'POST' \ 'https://api.tongji.edu.cn/v1/infra/task_center/push_task_log' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer e447e4b4b8e23973b42c44b8d324242' \ -d '{ "logs": [ { "comment": "通过", "created": "2023-09-17 10:00:00", "instId": 1, "nodeName": "部门审核", "userId": "******", "operationDesc": "部门审核通过", "taskId": 1, } ] }'

返回示例

{ "code": "A00000", "msg": "操作成功", "data": null }