作者:钟剑华 历史版本:1 更新时间:2024-09-20 15:13
获取表单意见
简述:
- 获取表单意见
请求URL:
- http://ip:port/ibps/business/v3/bpm/form/getFormOpinion
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
defId | String | 否 | 流程定义id | ||
procInstId | String | 否 | 流程实例id | ||
userId | String | 否 | 用户id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/form/getFormOpinion?defId=656135998798823424&procInstId=656143453280796672&userId=654621442352087040
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"formOpinionSetting": {},
"opinionList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1576478388000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656143444812496896",
"procDefId": "Process_099rrsf:1:656135998396170240",
"supInstId": null,
"procInstId": "656143443956858880",
"taskKey": "startNode",
"taskId": null,
"taskName": "发起节点",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "提交",
"status": "submit",
"assignTime": null,
"completeTime": 1576478388000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": null,
"statusName": "提交",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": null,
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1576478390000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656143452190277632",
"procDefId": "Process_099rrsf:1:656135998396170240",
"supInstId": null,
"procInstId": "656143443956858880",
"taskKey": "UserTask_1eebpfo",
"taskId": null,
"taskName": "测试外部子流程1",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "外部子流程",
"status": "callSubProc",
"assignTime": null,
"completeTime": 1576478390000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": null,
"statusName": "外部子流程",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": null,
"callSub": true
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1576478390000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656143454157406208",
"procDefId": "656135999272779776",
"supInstId": "656143443956858880",
"procInstId": "656143453280796672",
"taskKey": "startNode",
"taskId": null,
"taskName": "发起节点",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "提交",
"status": "submit",
"assignTime": null,
"completeTime": 1576478390000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": null,
"statusName": "提交",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": null,
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1576478390000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656143457932279808",
"procDefId": "656135999272779776",
"supInstId": "656143443956858880",
"procInstId": "656143453280796672",
"taskKey": "UserTask_1cmaaln",
"taskId": "656143454186766337",
"taskName": "发起人",
"token": null,
"qualfieds": "[{id:\"1\",type:\"employee\"}]",
"auditor": "1",
"opinion": "给他",
"status": "agree",
"assignTime": null,
"completeTime": 1576478407000,
"durMs": 17104,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": null,
"statusName": "同意",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": null,
"callSub": false
}
],
"formOpinion": {}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
formOpinion | String | 表单意见设置 |
formOpinionSetting | String | 表单意见设置 |
opinionList | String | 审批意见 |
获取实例表单
简述:
- 获取实例表单
请求URL:
- http://ip:port/ibps/business/v3/bpm/form/getFormInstData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
defId | String | 否 | 流程定义id | ||
procInstId | String | 否 | 流程实例id | ||
userId | String | 否 | 用户id | ||
formData | String | 否 | 表单数据 | ||
attributes | Map<String, Object> | 否 | 数据集合 |
请求参数示例:
暂无例子,后续补上
返回示例:
暂无例子,后续补上
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
currentFormInst | List< BpmInstPo > | 流程关联控件数据 |
postFormInst | List< BpmInstPo > | 流程关联控件数据 |