获取我的申请列表
最近更新时间: 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' \
-H 'status: ' \
-H 'p: ' \
-H 'appId: ' \
-H 'departmentId: ' \
-H 'userId: ' \
-H 'pageSize: ' \
-H 'startTime: ' \
-H 'endTime: ' \
-H 'instId: ' \
-H 'keyword: ' \
-H '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
}
}