- 01.认证中心
- 02.用户接口
- 03.角色接口
- 04.菜单接口
- 05.组织机构接口
- 06.字典接口
- 07.字典数据接口
- 08.文件接口
- 10.系统配置
- 12.通知公告接口
- 13.日志接口
- 14.企业管理接口
- TableController
- 代办流程
- 执行监听器
- 流程启动
- 已办任务
- 流程维护
- ChartController
- 单信息接口
- 企业数据接口
- 企业信息接口
- 机架规模接口
- 项目数据提交记录接口
- 企业项目信息表接口
- 单字段信息接口
- 附加表接口
- 架构管理接口
- 流程表单信息接口
- ProjectOperateController
- ProjectFileController
部署流程
POST
/api/v1/processDefinition/deployProcess
请求参数
Body 参数application/json
参数
xml
string
bpmn xml
formJsonList
array[object (FormJsonsDto) {3}]
表单数据
activityId
string
可选
formJson
object (MapObject)
表单结构
isMainFrom
integer
是否是主表单
formId
integer
表单id
示例
{
"xml": "string",
"formJsonList": [
{
"activityId": "string",
"formJson": {
"key": {}
},
"isMainFrom": 0
}
],
"formId": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/processDefinition/deployProcess' \
--header 'Content-Type: application/json' \
--data-raw '{
"xml": "string",
"formJsonList": [
{
"activityId": "string",
"formJson": {
"key": {}
},
"isMainFrom": 0
}
],
"formId": 0
}'
返回响应
🟢200成功
application/json
Body
code
string
可选
data
string
可选
msg
string
可选
示例
{
"code": "",
"data": "",
"msg": ""
}