发起流程 | |
请求地址: | https://oapi.i8xiaoshi.com/app/workflow/startprocess |
返回格式: | JSON |
授权模式: | clientcredentials(客户端模式) |
请求方式: | POST |
HTTP Headers | |
Content-Type: | application/json |
Authorization: | 有效访问令牌(access_token) |
提交参数 | |||
参数名 | 类型 | 必须 | 描述 |
---|---|---|---|
procFullName | String | true | 流程完整名称 |
version | Number | true | 版本号 |
procType | Number | true | 流程类型 |
procTitle | String | true | 流程标题 |
jsonFormData | String | true | Form表单Json格式数据 |
receiver | String | true | 收文人员ID列表,多个用;号分割 |
approvers | String | true | 收文人员ID列表,多个用;号分割(自定义审批链流程使用) |
attachmentId | String | true | 附件ID列表,多个用;号分割 |
appID | String | true | 来源应用ID(Guid) |
referID | String | true | 来源应用标识refer |
relationProcInstId | Array | true | 关联流程实例Id列表 |
agent | Object | true | 流程待发兼职发起标识 |
platform | Number | true | 使用平台 |
userID | String | true | 用户ID(Guid) |
返回结果 |
{"status": "状态码",
"ReturnObject":{...},
"Description":"结果描述"} |
备注 |
procType说明 {procType:{0:"设计表单+设计审批链", 2:"自定义流程", 3:"设计表单+自定义审批链"}}\r\jsonFormData [{key:"arg1", value:"v1"},{key:"arg2", value:"v2"},{...}]<br/>agent说明 {Agent:{MemberId:"标识角色ID", AgentType:"0代理别人发起/1兼职发起"}}<br/>platform说明 {platform:{0:"PC Web", 1:"Mobile",2:"Weixin"}} |