描述

添加工作流实例。

请求

名称 是否必需 类型 描述
id String 工作流模板Id
instanceId String 工作流实例Id
nodeId String 节点Id
actionResultType Number 审批结果类型:
- 1 同意
- 2 反对
- 3 否决
- 4 撤回
- 10 继续
- 11 挂起
- 12 终止
actionMemo String 审批意见
wfDataObjectInstances Object[] 工作流表单对象实例列表字符串。参考公共参数 WFDataInstances
actors Object[] 指定审批者字符串。
参考公共参数 actors
keyOption String 字段属性类型

响应

  • 无返回参数

示例

请求示例

HTTP/1.1
PUT  /v1/workflow/templates/55e91105-110e-44a2-b99d-37892cb5e7d6/instances/7d6b79d0-71bf-4043-8cbf-fac0cadf8e44/updateStatus
Host: api.dadayun.cn
Date: Thu, 30 Aug 2018 02:55:22 GMT

正常返回示例

HTTP/1.1 200 OK
Date: Thu, 30 Aug 2018 02:55:22 GMT
Content-Type: application/json; charset=utf-8

异常返回示例

HTTP/1.1 500 Internal Server Error
Date: Thu, 30 Aug 2018 02:55:22 GMT
Content-Type: application/json; charset=utf-8

{
  "Code": "InternalError",
  "Message": "未知错误"
}

results matching ""

    No results matching ""