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

获取我的申请列表

最近更新时间: 2025年02月25日 01时34分48秒
能力接口

描述

获取我的申请列表。

支持的模式

客户端模式,授权码模式

请求方法

GET

请求地址

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

数据来源

请求参数

参数名是否必填备注
status状态 0:全部 ,1:进行中,2:已完成,3:已撤销,4:草稿,5:已终止(0不包含草稿)
p页码
appId来源id_事项id (固定格式,来源id=0代表一站式。如果要查询某个来源id下的所有事项,比如查询OA则需传appId=4_0)
departmentId部门id
userId人员学工号
pageSize分页大小
startTime发起时间
endTime结束时间
instId实例id
keyword搜索关键词(模糊查询)
thirdpartyName任务名称(模糊查询)

返回参数

参数名类型备注码表
instId
string实例的id
appName
string实例的名称
percent
string该实例的进度
instStatus
string该实例的目前状态
logo
string该实例的图标
creatorName
string发起人姓名
userDepartment
string发起人所在部门
created
string实例发起的时间
finished
string实例完成的时间
appTag
string实例的标签
url
string实例的网址(pc端)
mobileUrl
string实例的网址(移动端)
taskStatus
string驳回:2 其他0
status
string实例的状态
appId
string事项的ID
taskId
string任务id
appDepartSn
string[]事项所属部门编码数组
nodes
object[]节点,进行中事项会返回该字段
nodeId
string节点id
nodeName
string节点名称

请求示例

curl -X GET \ 'https://api.tongji.edu.cn/v1/infra/task_center/inst_list?status=&p=&appId=&departmentId=&userId=&pageSize=&startTime=&endTime=&instId=&keyword=&thirdpartyName='

返回示例

{ "code": "A00000", "msg": "操作成功", "data": { "list": [ { "id": 120328, "appId": 2, "instId": 2, "desc": "", "creator": 68891, "created": "2023-09-17 10:00:00", "finished": null, "status": 2, "isDel": 0, "nodeId": [ "1", "2" ], "formVersion": [], "hasError": 0, "errorInfo": "", "allowRevoke": 0, "firstLaunch": 0, "launchDevice": 0, "taskStatus": 0, "taskId": 0, "isReminder": "", "nodes": [], "percent": 0, "appName": "", "urgent": "no", "tagName": "", "instStatus": "已完成", "logo": "", "creatorName": "**", "userDepartment": "教育技术与计算中心", "thirdpartyId": 15, "thirdpartyNodeName": [ "部门审核", "校领导审核" ], "thirdpartyName": "测试申请", "thirdpartyLogo": "", "thirdpartyPercent": 100, "thirdpartyFormUrlView": "https://txd.tongji.edu.cn/v2/matter/launch", "thirdpartyFormMobileUrlView": "https://txd.tongji.edu.cn/v2/matter/launch", "thirdpartyConfigArr": { "log": "0", "from": "学工", "revoke": 0 }, "processPicUrl": "", "sessId": 599245, "appType": 4, "launchAgain": 0, "isDraft": false, "starterDepartId": 130023, "hideSponsorFlow": 0, "formUrl": "https://txd.tongji.edu.cn/v2/matter/launch", "formMobileUrl": "https://txd.tongji.edu.cn/v2/matter/launch", "thirdpartyInstId": 2 }, { "id": 48659, "appId": 1, "instId": 180280, "desc": "", "creator": 68891, "created": "2023-03-30 15:25:22", "finished": null, "status": 2, "isDel": 0, "nodeId": [], "formVersion": [], "hasError": 0, "errorInfo": "", "allowRevoke": 0, "firstLaunch": 0, "launchDevice": 0, "taskStatus": 0, "taskId": 0, "isReminder": "", "nodes": [], "percent": 0, "appName": "", "urgent": "no", "tagName": "", "instStatus": "已完成", "logo": "", "creatorName": "**", "userDepartment": "教育技术与计算中心", "thirdpartyId": 5, "thirdpartyNodeName": [ "经费卡负责人审批:" ], "thirdpartyName": "**申请的 单据号为:C20231891 的 材料/图书申购单", "thirdpartyLogo": "", "thirdpartyPercent": 0, "thirdpartyFormUrlView": "https://czb.tongji.edu.cn/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311333&lzh=1", "thirdpartyFormMobileUrlView": "https://czb.tongji.edu.cn/mobile/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311333&lzh=1&parm=dwsp_xq", "thirdpartyConfigArr": { "log": 0, "from": "采招系统", "revoke": 0 }, "processPicUrl": "https://txd.tongji.edu.cn", "sessId": 356026, "appType": 4, "launchAgain": 0, "isDraft": false, "starterDepartId": 130023, "hideSponsorFlow": 0, "formUrl": "https://czb.tongji.edu.cn/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311333&lzh=1", "formMobileUrl": "https://czb.tongji.edu.cn/mobile/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311333&lzh=1&parm=dwsp_xq", "thirdpartyInstId": "202303300130311333" }, { "id": 48658, "appId": 1, "instId": 180275, "desc": "", "creator": 68891, "created": "2023-03-30 15:22:19", "finished": null, "status": 1, "isDel": 0, "nodeId": [], "formVersion": [], "hasError": 0, "errorInfo": "", "allowRevoke": 0, "firstLaunch": 0, "launchDevice": 0, "taskStatus": 0, "taskId": 0, "isReminder": "", "nodes": [], "percent": 0, "appName": "", "urgent": "no", "tagName": "", "instStatus": "已中止", "logo": "", "creatorName": "**", "userDepartment": "教育技术与计算中心", "thirdpartyId": 5, "thirdpartyNodeName": [ "经费卡负责人审批:" ], "thirdpartyName": "**申请的 单据号为:C20231892 的 材料/图书申购单", "thirdpartyLogo": "", "thirdpartyPercent": 0, "thirdpartyFormUrlView": "https://czb.tongji.edu.cn/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311353&lzh=1", "thirdpartyFormMobileUrlView": "https://czb.tongji.edu.cn/mobile/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311353&lzh=1&parm=dwsp_xq", "thirdpartyConfigArr": { "log": 0, "from": "采招系统", "revoke": 0 }, "processPicUrl": "https://txd.tongji.edu.cn", "sessId": 356024, "appType": 4, "launchAgain": 0, "isDraft": false, "starterDepartId": 130023, "hideSponsorFlow": 0, "formUrl": "https://czb.tongji.edu.cn/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311353&lzh=1", "formMobileUrl": "https://czb.tongji.edu.cn/mobile/ywsp/ywlz/ywcx_detail.jsp?ywbh=CLSGD&ywwid=202303300130311353&lzh=1&parm=dwsp_xq", "thirdpartyInstId": "202303300130311353" } ], "total": 3, "processNum": false } }