获取审批日志列表
最近更新时间: 2024年01月24日 06时33分55秒
能力接口
描述
通过此接口,能查看到实例的审批日志列表。
支持的模式
客户端模式
请求方法
GET
请求地址
https://api.tongji.edu.cn/v1/infra/task_center/process_list
数据来源
请求参数
参数名 | 是否必填 | 备注 |
---|---|---|
instId | 是 | 实例id,实例的唯一标识,即用户的一条申请id |
thirdpartyId | 是 | 第三方应用id |
返回参数
参数名 | 类型 | 备注 | 码表 |
---|---|---|---|
username | object[] | 用户名(非当前节点) | |
userName | string | 用户名(当前审批节点-多个人员) | |
userDepartmentName | string | 部门名称(多个) | |
userDepartment | string | 用户所属部门 | |
nodeName | string | 当前节点名称 | |
created | string | 创建时间 | |
operation | string | 操作意见标识 | |
operationDesc | string | 操作意见名称 | |
comment | string | 审批意见 |
请求示例
curl -X GET \
'https://api.tongji.edu.cn/v1/infra/task_center/process_list' \
-H 'instId: ' \
-H 'thirdpartyId: '
返回示例
{
"code": "A00000",
"msg": "操作成功",
"data": [
{
"username": "******",
"userDepartment": "教育技术与计算中心",
"nodeName": "发起者发起",
"created": "2023-09-17 10:00:00",
"operation": "",
"operationDesc": "提交",
"comment": ""
},
{
"username": "匿名账号",
"userDepartment": "",
"nodeName": "部门审核",
"created": "2023-09-18 09:00:00",
"operation": "",
"operationDesc": "部门审核",
"comment": "测试"
},
{
"username": [
{
"userName": "******",
"userDepartmentName": "教育技术与计算中心"
}
],
"nodeName": "待审核",
"created": "",
"operation": "",
"operationDesc": "等待中",
"userDepartment": "",
"comment": ""
}
]
}