作者:钟剑华  历史版本:1  更新时间:2024-06-15 15:03

流程审批历史

简述:

  • 流程审批历史

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
instId String 流程实例ID
taskId String 任务ID
defKey String 流程定义ID
bizKey String 业务数据ID
ignoreInstIdNull boolean false 忽略实例ID为空

请求参数示例:

{
    "taskId": "680062580827357185"
}

返回示例:

{
  "state": 200,
  "request": null,
  "message": "",
  "cause": "",
  "variables": {},
  "data": [{
    "pk": "",
    "name": null,
    "ip": null,
    "createBy": null,
    "createTime": 1582181152000,
    "updateBy": null,
    "updateTime": null,
    "tenantId": null,
    "dataStatus": null,
    "dbtype": null,
    "id": "680062570287071232",
    "procDefId": "Process_0ghurhf:1:680062142157684736",
    "supInstId": null,
    "procInstId": "680062566768050176",
    "taskKey": "startNode",
    "taskId": null,
    "taskName": "发起节点",
    "token": null,
    "qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
    "auditor": "1",
    "opinion": "提交",
    "status": "submit",
    "assignTime": null,
    "completeTime": 1582181152000,
    "durMs": 0,
    "interpose": null,
    "qualifiedExecutor": [{
      "type": "employee",
      "executId": "1",
      "executor": "1"
    }],
    "userImg": "/file/getImage?attachmentId=666949997832437760",
    "statusName": "提交",
    "auditorName": "管理员",
    "subject": null,
    "batch": null,
    "nodeColor": "#4283fd",
    "callSub": false
  }, {
    "pk": "",
    "name": null,
    "ip": null,
    "createBy": null,
    "createTime": 1582181154000,
    "updateBy": null,
    "updateTime": null,
    "tenantId": null,
    "dataStatus": null,
    "dbtype": null,
    "id": "680062585269125120",
    "procDefId": "Process_0ghurhf:1:680062142157684736",
    "supInstId": "0",
    "procInstId": "680062566768050176",
    "taskKey": "Activity_0dulkug",
    "taskId": "680062580827357185",
    "taskName": "审批",
    "token": null,
    "qualfieds": "[{\"type\":\"employee\",\"executId\":\"679660163279355904\",\"executor\":\"权限\"}]",
    "auditor": null,
    "opinion": "",
    "status": "pending",
    "assignTime": null,
    "completeTime": null,
    "durMs": null,
    "interpose": null,
    "qualifiedExecutor": [{
      "type": "employee",
      "executId": "679660163279355904",
      "executor": "权限"
    }],
    "userImg": null,
    "statusName": "待审批",
    "auditorName": null,
    "subject": null,
    "batch": null,
    "nodeColor": "#e21100",
    "callSub": false
  }]
}

返回参数说明:

名称 类型 备注
data List< IBpmTaskApproval > 流程审批历史列表数据

流程审批历史-会签任务

简述:

  • 流程审批历史-会签任务

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
batch String 批次号
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/instance/flowHistorySign?batch=655083218352996352

返回示例:

{
  "state": 200,
  "request": null,
  "message": "",
  "cause": "",
  "variables": {},
  "data": [
    {
      "pk": "",
      "name": null,
      "ip": null,
      "createBy": null,
      "createTime": 1576225609000,
      "updateBy": null,
      "updateTime": null,
      "tenantId": null,
      "dataStatus": null,
      "dbtype": null,
      "id": "655083218336219136",
      "procDefId": "Process_05f5jsi:1:654778767868166144",
      "supInstId": "0",
      "procInstId": "655083176321875968",
      "taskKey": "UserTask_0rdjo2c",
      "taskId": "655083214716534787",
      "taskName": "会签串行",
      "token": null,
      "qualfieds": "[{id:\"655077249782906880\",type:\"employee\"}]",
      "auditor": "655077249782906880",
      "opinion": "测试数据",
      "status": "agree",
      "assignTime": null,
      "completeTime": 1576225723000,
      "durMs": 114048,
      "interpose": null,
      "qualifiedExecutor": [
        {
          "type": "employee",
          "executId": "655077249782906880",
          "executor": "655077249782906880"
        }
      ],
      "userImg": "",
      "statusName": "同意",
      "auditorName": "chao5",
      "subject": null,
      "batch": null,
      "nodeColor": "#04B913",
      "callSub": false
    },
    {
      "pk": "",
      "name": null,
      "ip": null,
      "createBy": null,
      "createTime": 1576225723000,
      "updateBy": null,
      "updateTime": null,
      "tenantId": null,
      "dataStatus": null,
      "dbtype": null,
      "id": "655083697044717568",
      "procDefId": "Process_05f5jsi:1:654778767868166144",
      "supInstId": "0",
      "procInstId": "655083176321875968",
      "taskKey": "UserTask_0rdjo2c",
      "taskId": "655083693332758529",
      "taskName": "会签串行",
      "token": null,
      "qualfieds": "[{\"type\":\"employee\",\"executId\":\"655075052584173568\",\"executor\":\"chao4\"}]",
      "auditor": null,
      "opinion": "",
      "status": "pending",
      "assignTime": null,
      "completeTime": null,
      "durMs": null,
      "interpose": null,
      "qualifiedExecutor": [
        {
          "type": "employee",
          "executId": "655075052584173568",
          "executor": "chao4"
        }
      ],
      "userImg": null,
      "statusName": "待审批",
      "auditorName": null,
      "subject": null,
      "batch": null,
      "nodeColor": "#e21100",
      "callSub": false
    }
  ]
}

返回参数说明:

名称 类型 备注
data List< IBpmTaskApproval > 流程审批历史对象

流程审批历史

简述:

  • 流程审批历史-外部子流程

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
instId String 流程实例ID
nodeId String 节点ID
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/instance/flowHistoryCallSub?instId=626866373389189120&nodeId=1234

返回示例:

返回参数说明:

名称 类型 备注
data List< List < IBpmTaskApproval > > 流程审批历史列表数据

流程图

简述:

  • 流程图

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
id String 流程实例ID
defKey String 流程实例ID
bizKey String 业务数据ID
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/instance/flowImage?id=626866373389189120

返回示例:

{
  "state": 200,
  "request": null,
  "message": "",
  "cause": "",
  "variables": {},
  "data": {
    "instId": "654760987718582272",
    "bpmDefLayout": {
      "defId": "654757535814778880",
      "name": "简单子流程",
      "width": 998,
      "height": 348,
      "listLayout": [
        {
          "nodeId": "StartEvent_0j77wyq",
          "name": "开始",
          "nodeType": {
            "key": "start",
            "value": "开始节点"
          },
          "parentNodeId": "",
          "x": 5,
          "y": 27,
          "width": 36,
          "height": 36
        },
        {
          "nodeId": "UserTask_0bfxz0d",
          "name": "发起人填写",
          "nodeType": {
            "key": "userTask",
            "value": "用户任务节点"
          },
          "parentNodeId": "",
          "x": 95,
          "y": 5,
          "width": 100,
          "height": 80
        },
        {
          "nodeId": "UserTask_1xt9zsv",
          "name": "领导审批",
          "nodeType": {
            "key": "userTask",
            "value": "用户任务节点"
          },
          "parentNodeId": "",
          "x": 255,
          "y": 5,
          "width": 100,
          "height": 80
        },
        {
          "nodeId": "UserTask_1cjpx0f",
          "name": "复审",
          "nodeType": {
            "key": "userTask",
            "value": "用户任务节点"
          },
          "parentNodeId": "",
          "x": 415,
          "y": 5,
          "width": 100,
          "height": 80
        },
        {
          "nodeId": "UserTask_1m892ze",
          "name": "确认",
          "nodeType": {
            "key": "userTask",
            "value": "用户任务节点"
          },
          "parentNodeId": "",
          "x": 575,
          "y": 5,
          "width": 100,
          "height": 80
        },
        {
          "nodeId": "EndEvent_1wrnuj3",
          "name": "结束",
          "nodeType": {
            "key": "end",
            "value": "结束节点"
          },
          "parentNodeId": "",
          "x": 737,
          "y": 27,
          "width": 36,
          "height": 36
        }
      ]
    },
    "statusColorList": [
      {
        "key": "pending",
        "value": "待审批",
        "color": "#e21100",
        "order": 1
      },
      {
        "key": "submit",
        "value": "提交",
        "color": "#4283fd",
        "order": 2
      },
      {
        "key": "resubmit",
        "value": "重新提交",
        "color": "#f7ac3d",
        "order": 3
      },
      {
        "key": "agree",
        "value": "同意",
        "color": "#04B913",
        "order": 4
      },
      {
        "key": "oppose",
        "value": "反对",
        "color": "#5c3219",
        "order": 5
      },
      {
        "key": "reject",
        "value": "驳回",
        "color": "#bcc330",
        "order": 6
      },
      {
        "key": "rejectToStart",
        "value": "驳回到发起人",
        "color": "#e46b22",
        "order": 7
      },
      {
        "key": "rejectToPrevious",
        "value": "驳回上一步",
        "color": "#ff32ca",
        "order": 8
      },
      {
        "key": "revoke",
        "value": "撤销",
        "color": "#007db9",
        "order": 9
      },
      {
        "key": "recoverToStart",
        "value": "撤销到发起人",
        "color": "#b022ae",
        "order": 10
      },
      {
        "key": "sign_pass",
        "value": "会签通过",
        "color": "#007747",
        "order": 11
      },
      {
        "key": "sign_no_pass",
        "value": "会签不通过",
        "color": "#23ebb9",
        "order": 12
      },
      {
        "key": "abandon",
        "value": "弃权",
        "color": "#6910d2",
        "order": 13
      },
      {
        "key": "manual_end",
        "value": "人工终止",
        "color": "#c7008b",
        "order": 14
      },
      {
        "key": "complete",
        "value": "完成",
        "color": "#fafe61",
        "order": 15
      },
      {
        "key": "suspend",
        "value": "挂起",
        "color": "#9f4e3c",
        "order": 16
      },
      {
        "key": "signBackCancel",
        "value": "驳回取消",
        "color": "#009ea8",
        "order": 17
      },
      {
        "key": "signRecoverCancel",
        "value": "撤销取消",
        "color": "#8d8502",
        "order": 18
      },
      {
        "key": "passCancel",
        "value": "通过取消",
        "color": "#545a26",
        "order": 19
      },
      {
        "key": "notPassCancel",
        "value": "不通过取消",
        "color": "#b5fe3d",
        "order": 20
      },
      {
        "key": "transforming",
        "value": "流转中",
        "color": "#fe4367",
        "order": 21
      },
      {
        "key": "transAgree",
        "value": "流转同意",
        "color": "#839287",
        "order": 22
      },
      {
        "key": "transOppose",
        "value": "流转反对",
        "color": "#ef9193",
        "order": 23
      },
      {
        "key": "skip",
        "value": "跳过执行",
        "color": "#8f92c9",
        "order": 24
      },
      {
        "key": "callSubProc",
        "value": "外部子流程",
        "color": "#033651",
        "order": 25
      },
      {
        "key": "autoTask",
        "value": "自动节点",
        "color": "#2ec5ea",
        "order": 26
      }
    ],
    "bpmProcInst": {
      "pk": "",
      "name": null,
      "ip": null,
      "createBy": "654755459927900160",
      "createTime": "2019-12-12 19:06:24",
      "updateBy": "654755459927900160",
      "updateTime": "2019-12-12 19:06:25",
      "tenantId": null,
      "dataStatus": null,
      "dbtype": null,
      "id": "654760987718582272",
      "subject": "黄春艳在2019-12-12 19:06:24发起简单子流程",
      "procDefId": "654757535814778880",
      "bpmnDefId": "Process_19xttnk:1:654757541028298752",
      "procDefKey": "Process_19xttnk",
      "procDefName": "简单子流程",
      "bizKey": "654760986229604352",
      "formType": null,
      "formKey": null,
      "status": "draft",
      "endTime": null,
      "duration": null,
      "typeId": null,
      "resultType": null,
      "bpmnInstId": "0",
      "isFormmal": "N",
      "parentInstId": "0",
      "isForbidden": 0,
      "dataMode": "table",
      "creator": null,
      "updator": null,
      "forbidden": "未禁止",
      "authorizeRight": null,
      "taskEndTime": null,
      "taskId": null,
      "myNode": null,
      "curNode": null
    }
  }
}

返回参数说明:

名称 类型 备注
data Map<String,Object> 集合数据

流程图

简述:

  • 流程图

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
instId String 流程实例ID
defId String 流程定义Id
defKey String 流程定义key
bizKey String 业务key
taskId String 任务Id
ignoreInstIdNull boolean 是否忽略实例ID为空
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/instance/flowImageXml?taskId=680062580827357185

返回示例:

{
  "state": 200,
  "request": null,
  "message": "",
  "cause": "",
  "variables": {},
  "data": {
    "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"Definitions_0a3pwko\" targetNamespace=\"http://bpmn.io/schema/bpmn\" xsi:schemaLocation=\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\"><process id=\"Process_0ghurhf\" name=\"权限主子\" isExecutable=\"false\"><startEvent id=\"StartEvent_1b9h0qv\" name=\"开始\"><outgoing>Flow_12ti8kz</outgoing></startEvent><userTask id=\"Activity_0lzezwj\" name=\"发起人\"><incoming>Flow_12ti8kz</incoming><outgoing>Flow_0dmwabi</outgoing></userTask><sequenceFlow id=\"Flow_12ti8kz\" sourceRef=\"StartEvent_1b9h0qv\" targetRef=\"Activity_0lzezwj\" /><userTask id=\"Activity_0dulkug\" name=\"审批\"><incoming>Flow_0dmwabi</incoming><outgoing>Flow_03a2o07</outgoing></userTask><sequenceFlow id=\"Flow_0dmwabi\" sourceRef=\"Activity_0lzezwj\" targetRef=\"Activity_0dulkug\" /><endEvent id=\"Event_16lu1x4\"><incoming>Flow_03a2o07</incoming></endEvent><sequenceFlow id=\"Flow_03a2o07\" sourceRef=\"Activity_0dulkug\" targetRef=\"Event_16lu1x4\" /></process><bpmndi:BPMNDiagram id=\"BPMNDiagram_0zqoz39\"><bpmndi:BPMNPlane id=\"BPMNPlane_1u259vh\" bpmnElement=\"Process_0ghurhf\"><bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_1b9h0qv\" bpmnElement=\"StartEvent_1b9h0qv\"><dc:Bounds x=\"180\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0lzezwj_di\" bpmnElement=\"Activity_0lzezwj\"><dc:Bounds x=\"270\" y=\"218\" width=\"100\" height=\"80\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_12ti8kz_di\" bpmnElement=\"Flow_12ti8kz\"><di:waypoint x=\"216\" y=\"258\" /><di:waypoint x=\"270\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Activity_0dulkug_di\" bpmnElement=\"Activity_0dulkug\"><dc:Bounds x=\"430\" y=\"218\" width=\"100\" height=\"80\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_0dmwabi_di\" bpmnElement=\"Flow_0dmwabi\"><di:waypoint x=\"370\" y=\"258\" /><di:waypoint x=\"430\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Event_16lu1x4_di\" bpmnElement=\"Event_16lu1x4\"><dc:Bounds x=\"592\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_03a2o07_di\" bpmnElement=\"Flow_03a2o07\"><di:waypoint x=\"530\" y=\"258\" /><di:waypoint x=\"592\" y=\"258\" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></definitions>",
    "statusColorList": [{
      "key": "pending",
      "value": "待审批",
      "color": "#e21100",
      "order": 1
    }, {
      "key": "submit",
      "value": "提交",
      "color": "#4283fd",
      "order": 2
    }, {
      "key": "resubmit",
      "value": "重新提交",
      "color": "#f7ac3d",
      "order": 3
    }, {
      "key": "agree",
      "value": "同意",
      "color": "#04B913",
      "order": 4
    }, {
      "key": "oppose",
      "value": "反对",
      "color": "#5c3219",
      "order": 5
    }, {
      "key": "reject",
      "value": "驳回",
      "color": "#bcc330",
      "order": 6
    }, {
      "key": "rejectToStart",
      "value": "驳回到发起人",
      "color": "#e46b22",
      "order": 7
    }, {
      "key": "rejectToPrevious",
      "value": "驳回上一步",
      "color": "#ff32ca",
      "order": 8
    }, {
      "key": "revoke",
      "value": "撤销",
      "color": "#007db9",
      "order": 9
    }, {
      "key": "recoverToStart",
      "value": "撤销到发起人",
      "color": "#b022ae",
      "order": 10
    }, {
      "key": "sign_pass",
      "value": "会签通过",
      "color": "#007747",
      "order": 11
    }, {
      "key": "sign_no_pass",
      "value": "会签不通过",
      "color": "#23ebb9",
      "order": 12
    }, {
      "key": "abandon",
      "value": "弃权",
      "color": "#6910d2",
      "order": 13
    }, {
      "key": "manual_end",
      "value": "人工终止",
      "color": "#c7008b",
      "order": 14
    }, {
      "key": "complete",
      "value": "完成",
      "color": "#fafe61",
      "order": 15
    }, {
      "key": "suspend",
      "value": "挂起",
      "color": "#9f4e3c",
      "order": 16
    }, {
      "key": "signBackCancel",
      "value": "驳回取消",
      "color": "#009ea8",
      "order": 17
    }, {
      "key": "signRecoverCancel",
      "value": "撤销取消",
      "color": "#8d8502",
      "order": 18
    }, {
      "key": "passCancel",
      "value": "通过取消",
      "color": "#545a26",
      "order": 19
    }, {
      "key": "notPassCancel",
      "value": "不通过取消",
      "color": "#b5fe3d",
      "order": 20
    }, {
      "key": "transforming",
      "value": "流转中",
      "color": "#fe4367",
      "order": 21
    }, {
      "key": "transAgree",
      "value": "流转同意",
      "color": "#839287",
      "order": 22
    }, {
      "key": "transOppose",
      "value": "流转反对",
      "color": "#ef9193",
      "order": 23
    }, {
      "key": "skip",
      "value": "跳过执行",
      "color": "#8f92c9",
      "order": 24
    }, {
      "key": "callSubProc",
      "value": "外部子流程",
      "color": "#033651",
      "order": 25
    }, {
      "key": "autoTask",
      "value": "自动节点",
      "color": "#2ec5ea",
      "order": 26
    }],
    "styleMap": {
      "Activity_0dulkug": {
        "borderColor": "#e21100",
        "borderWidth": null,
        "backgroundColor": null,
        "status": "pending"
      },
      "StartEvent_1b9h0qv": {
        "borderColor": "#4283fd",
        "borderWidth": null,
        "backgroundColor": null,
        "status": "submit"
      },
      "Activity_0lzezwj": {
        "borderColor": "#8f92c9",
        "borderWidth": null,
        "backgroundColor": null,
        "status": "skip"
      }
    }
  }
}

返回参数说明:

名称 类型 备注
data Map<String,Object> 集合数据

流程启动-选择路径、执行人

简述:

  • 流程启动-选择路径、执行人

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
instId String 流程实例ID
taskId String 任务Id
actionName String 流程动作名称
actionAlias String 流程动作别名
data String 表单数据

请求参数示例:

暂无例子

返回示例:

暂无例子

返回参数说明:

名称 类型 备注
data Void
variables.defId String 分页数据
variables.nodeSupportSelectPath Map<String, String> 计算最终的outgoings
variables.outgoingNodes List< IBpmNodeDefine > 节点数据

根据流程定义key和业务主键获取相关流程实例

简述:

  • 根据流程定义key和业务主键获取相关流程实例

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
defKey String 流程定义key
bizKey String 业务主键
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/instance/getByDefKeyBizKey?bizKey=654760986229604352&defKey=Process_19xttnk

返回示例:

{
  "state": 200,
  "request": null,
  "message": "",
  "cause": "",
  "variables": {},
  "data": {
    "pk": "",
    "name": null,
    "ip": null,
    "createBy": "654755459927900160",
    "createTime": "2019-12-12 19:06:24",
    "updateBy": "654755459927900160",
    "updateTime": "2019-12-12 19:06:25",
    "tenantId": null,
    "dataStatus": null,
    "dbtype": null,
    "id": "654760987718582272",
    "subject": "黄春艳在2019-12-12 19:06:24发起简单子流程",
    "procDefId": "654757535814778880",
    "bpmnDefId": "Process_19xttnk:1:654757541028298752",
    "procDefKey": "Process_19xttnk",
    "procDefName": "简单子流程",
    "bizKey": "654760986229604352",
    "formType": null,
    "formKey": null,
    "status": "draft",
    "endTime": null,
    "duration": null,
    "typeId": null,
    "resultType": null,
    "bpmnInstId": "0",
    "isFormmal": "N",
    "parentInstId": "0",
    "isForbidden": 0,
    "dataMode": "table",
    "creator": null,
    "updator": null,
    "forbidden": "未禁止",
    "authorizeRight": null,
    "taskEndTime": null,
    "taskId": null,
    "myNode": null,
    "curNode": null
  }
}

返回参数说明:

名称 类型 备注
data IBpmProcInst 流程实例对象

根据业务主键获取审批的处理状态或动作

简述:

  • 根据业务主键获取审批的处理状态或动作

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
bizKey String 业务主键
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/instance/getActionStatus?bizKey=key2

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "agree"
}

返回参数说明:

名称 类型 备注
data String 审批的处理状态或动作

业务数据启动流程(列表页)

简述:

  • 业务数据启动流程(列表页)

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
ids String 业务主键id
formKey String 表单标识
defKey String 流程定义标识

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bpm/instance/startFlowFromList?ids=626866373389189120&formKey=key1&defKey=key2

返回示例:

{
    "state": 200,
    "request": null,
    "message": "启动流程成功",
    "cause": "",
    "variables": {},
    "data": ""
}

返回参数说明:

名称 类型 备注
data Void

业务数据启动流程(编辑页)

简述:

  • 业务数据启动流程(编辑页)

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
pk String 业务主键id
flowKey String 流程key
data String 表单数据

请求参数示例:

{
    ”pk“: "656928763371585536",
    ”flowKey“: "Process_0ht10f9",
    ”data“: ""
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "启动流程成功",
    "cause": "",
    "variables": {},
    "data": ""
}

返回参数说明:

名称 类型 备注
data Void

备注