作者:钟剑华 历史版本:1 更新时间:2024-11-20 15:41
流程面板数据(新)
简述:
- 流程面板数据(新)
版本
since 3.2.4
请求URL:
- http://ip:port/ibps/business/v3/bpm/initiated/find/dashboard/bpmn
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/initiated/find/dashboard/bpmn
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"icon": "fa-flag",
"color": "red",
"dataText": "28",
"dataContent": "已办事宜",
"type": 0,
"data": null,
"statType": 1,
"statData": "21%",
"statStatus": 1,
"url": "handledTasks",
"message": null,
"alias": "handled"
},
{
"icon": "fa-check",
"color": "green",
"dataText": "63",
"dataContent": "办结事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "completedMatters",
"message": null,
"alias": "completed"
},
{
"icon": "fa-file-o",
"color": "green-meadow",
"dataText": "141",
"dataContent": "新建流程",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "newProcess",
"message": null,
"alias": "newProcess"
},
{
"icon": "fa-hand-o-up",
"color": "blue-madison",
"dataText": "141",
"dataContent": "我的请求",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "myRequest",
"message": null,
"alias": "myRequest"
},
{
"icon": "fa-check-square-o",
"color": "grey-steel",
"dataText": "54",
"dataContent": "我的办结",
"type": 0,
"data": null,
"statType": 2,
"statData": "41%",
"statStatus": 2,
"url": "myCompleted",
"message": null,
"alias": "myCompleted"
},
{
"icon": "fa-pencil-square-o",
"color": "yellow-crusta",
"dataText": "1",
"dataContent": "我的草稿",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "myDrafts",
"message": null,
"alias": "myDraft"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< Infobox > | 流程仪表盘信息列表 |
流程面板数据(待办)
简述:
- 流程面板数据(待办)
版本
since 3.2.4
请求URL:
- http://ip:port/ibps/business/v3/bpm/initiated/find/dashboard/pending
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/initiated/find/dashboard/pending
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"icon": "ibps-icon-file-o",
"color": "orange2",
"dataText": "5",
"dataContent": "所属用户待办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingItems",
"message": null,
"alias": "pendingItems"
},
{
"icon": "ibps-icon-file-o",
"color": "light-brown",
"dataText": "0",
"dataContent": "所属组织待办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingItems",
"message": null,
"alias": "pendingItems"
},
{
"icon": "ibps-icon-file-o",
"color": "yellow-crusta",
"dataText": "0",
"dataContent": "所属组织负责人待办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingItems",
"message": null,
"alias": "pendingItems"
},
{
"icon": "ibps-icon-file-o",
"color": "blue-madison",
"dataText": "0",
"dataContent": "转办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingShift",
"message": null,
"alias": "pendingShift"
},
{
"icon": "ibps-icon-file-o",
"color": "orange",
"dataText": "0",
"dataContent": "所属角色待办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingItems",
"message": null,
"alias": "pendingItems"
},
{
"icon": "ibps-icon-file-o",
"color": "green-meadow",
"dataText": "0",
"dataContent": "所属岗位待办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingItems",
"message": null,
"alias": "pendingItems"
},
{
"icon": "ibps-icon-file-o",
"color": "green",
"dataText": "0",
"dataContent": "所属用户组待办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingItems",
"message": null,
"alias": "pendingItems"
},
{
"icon": "ibps-icon-file-o",
"color": "blue",
"dataText": "0",
"dataContent": "代理事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingAssignee",
"message": null,
"alias": "pendingAssignee"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< Infobox > | 待办仪表盘信息列表 |
新建流程-栏目
简述:
- 新建流程-栏目
版本
since 3.2.2
请求URL:
- http://ip:port/ibps/business/v3/bpm/initiated/query/process/new2
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/initiated/query/process/new2
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "Process_1xf74js",
"ip": null,
"createBy": "654384477392338944",
"createTime": "2020-04-28 18:05:08",
"updateBy": "654384477392338944",
"updateTime": "2020-04-28 18:05:08",
"tenantId": null,
"dataStatus": null,
"dbType": null,
"defId": "704755092179386368",
"parentDefId": null,
"parentNodeId": null,
"srcDefId": null,
"defKey": "Process_1xf74js",
"desc": "",
"typeId": "",
"status": "deploy",
"testStatus": "test",
"bpmnDefId": "Process_1xf74js:2:704755091990642688",
"bpmnDeployId": "704755091810287616",
"version": 2,
"boCode": null,
"boVersion": null,
"mainDefId": "0",
"isMain": "Y",
"reason": "",
"bpmDefineXmlPo": {
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbType": null,
"id": null,
"defXml": null,
"bpmnXml": null
},
"primaryBpmnXml": null,
"designer": "web设计器",
"typeName": null,
"authorizeRight": {
"authType": "manage",
"defKey": null,
"managementEdit": "Y",
"managementDel": "Y",
"managementStart": "Y",
"managementSet": "Y",
"managementInternational": "Y",
"managementClean": "Y",
"managementGuideEdit": "Y",
"instanceDel": "N",
"instanceLog": "N",
"rightContent": "{\"m_edit\":\"Y\",\"m_del\":\"Y\",\"m_start\":\"Y\",\"m_set\":\"Y\",\"m_international\":\"Y\",\"m_clean\":\"Y\",\"m_guideEdit\":\"Y\"}",
"rightJsonObj": {
"m_edit": "Y",
"m_del": "Y",
"m_start": "Y",
"m_set": "Y",
"m_international": "Y",
"m_clean": "Y",
"m_guideEdit": "Y"
}
},
"reminders": null,
"trigerFlows": null,
"auths": null,
"sn": 0,
"favorites": false,
"hasGuide": false,
"id": "704755092179386368",
"main": false,
"bpmnXml": null,
"defXml": null
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< BpmDefinePo > | 流程定义列表 |
我的流程收藏-栏目
简述:
- 我的流程收藏-栏目
版本
since 3.2.2
请求URL:
- http://ip:port/ibps/business/v3/bpm/initiated/query/favorited/new2
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/initiated/query/favorited/new2
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"key": "bpm",
"url": "favorites",
"data": [
{
"pk": "",
"name": "主表哦",
"ip": null,
"createBy": "1",
"createTime": "2019-12-24 11:42:25",
"updateBy": null,
"updateTime": "2019-12-24 11:44:32",
"tenantId": null,
"dataStatus": null,
"dbType": null,
"defId": "658998442130931712",
"parentDefId": null,
"parentNodeId": null,
"srcDefId": null,
"defKey": "Process_0o2i77a",
"desc": null,
"typeId": null,
"status": "deploy",
"testStatus": "test",
"bpmnDefId": "Process_0o2i77a:2:658998441837330432",
"bpmnDeployId": "658998438788071424",
"version": 2,
"boCode": null,
"boVersion": null,
"mainDefId": "0",
"isMain": "Y",
"reason": null,
"bpmDefineXmlPo": {
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbType": null,
"id": null,
"defXml": null,
"bpmnXml": null
},
"primaryBpmnXml": null,
"designer": "web设计器",
"typeName": null,
"authorizeRight": {
"authType": "manage",
"defKey": null,
"managementEdit": "Y",
"managementDel": "Y",
"managementStart": "Y",
"managementSet": "Y",
"managementInternational": "Y",
"managementClean": "Y",
"managementGuideEdit": "Y",
"instanceDel": "N",
"instanceLog": "N",
"rightContent": "{\"m_edit\":\"Y\",\"m_del\":\"Y\",\"m_start\":\"Y\",\"m_set\":\"Y\",\"m_international\":\"Y\",\"m_clean\":\"Y\",\"m_guideEdit\":\"Y\"}",
"rightJsonObj": {
"m_edit": "Y",
"m_del": "Y",
"m_start": "Y",
"m_set": "Y",
"m_international": "Y",
"m_clean": "Y",
"m_guideEdit": "Y"
}
},
"reminders": null,
"trigerFlows": null,
"auths": null,
"sn": 1,
"favorites": true,
"hasGuide": true,
"id": "658998442130931712",
"main": false,
"bpmnXml": null,
"defXml": null
}
]
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< Favorites > | 我的收藏列表 |
我的请求-栏目
简述:
- 我的请求-栏目
版本
since 3.2.2
请求URL:
- http://ip:port/ibps/business/v3/bpm/initiated/query/my/requested2
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/initiated/query/my/requested2
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": "1",
"createTime": "2020-04-28 14:03:07",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbType": null,
"id": "704694185504014336",
"subject": "管理员在2020-04-28 14:03:06发起流程审批",
"procDefId": "704365824877527040",
"bpmnDefId": "Process_0rqpcqk:1:704365825368260608",
"procDefKey": "Process_0rqpcqk",
"procDefName": "流程审批",
"bizKey": "704694186380623872",
"formType": "inner",
"formKey": "tpkj",
"status": "running",
"endTime": null,
"duration": null,
"typeId": null,
"resultType": null,
"bpmnInstId": "704694186720362496",
"isFormmal": "N",
"parentInstId": "0",
"isForbidden": 0,
"dataMode": "table",
"creator": null,
"updator": null,
"forbidden": "未禁止",
"authorizeRight": null,
"taskEndTime": null,
"taskId": null,
"myNode": null,
"execId": null,
"nodeType": null,
"curNode": "审批i"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< BpmInstPo > | 流程实例列表 |
流程仪表盘-移动端
简述:
- 流程仪表盘-移动端
版本
- 无
请求URL:
- http://ip:port/ibps/business/v3/bpm/initiated/find/dashboard/mobile
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/initiated/find/dashboard/mobile
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"icon": "ibps-icon-comments",
"color": "blue",
"dataText": "7",
"dataContent": "待办事宜",
"type": 0,
"data": null,
"statType": null,
"statData": null,
"statStatus": null,
"url": "pendingMatters",
"message": null,
"alias": "pending"
},
{
"icon": "ibps-icon-flag",
"color": "red",
"dataText": "59",
"dataContent": "已办事宜",
"type": 0,
"data": null,
"statType": 1,
"statData": "12%",
"statStatus": 1,
"url": "handledTasks",
"message": null,
"alias": "handled"
}...
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< Infobox > | 流程仪表盘信息列表 |
备注
- [1] : APIRequest为动态查询请求对象,详情请移步全局请求格式