加载flow集合
POST
/api/tms/dept/flow/config/data
加载flow集合
请求参数
Body 参数application/json
id
integer <int64>
可选
compId
integer <int64>
企业id
flowName
string
流程名称
deptId
integer <int64>
部门主键ID
isDefault
integer
可选
status
integer
可选
flowType
integer
可选
createTime
string
新建时间
creator
string
创建人
modifyTime
string
更新时间
modifier
string
修改人
travelType
string
出差类型
on
integer
可选
apprvDeptFlowNodes
array[object (TmsApprvDeptFlowNode) {9}]
节点
id
integer <int64>
可选
compId
integer <int64>
企业id
flowId
integer <int64>
可选
nodeName
string
流程节点名称
nodeSeq
integer
流程节点顺序
nodeModel
integer
可选
createTime
string
新建时间
creator
string
创建人
apprvDeptFlowNodePersons
array[object (TmsApprvDeptFlowNodePerson) {12}]
可选
apprvDeptFlowStaffs
array[object (TmsApprvDeptFlowStaff) {5}]
审批人(适用)
id
integer <int64>
可选
compId
integer <int64>
企业id
flowId
integer <int64>
可选
staffId
integer <int64>
可选
staffName
string
可选
示例
{
"id": 0,
"compId": 0,
"flowName": "string",
"deptId": 0,
"isDefault": 0,
"status": 0,
"flowType": 0,
"createTime": "string",
"creator": "string",
"modifyTime": "string",
"modifier": "string",
"travelType": "string",
"on": 0,
"apprvDeptFlowNodes": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeName": "string",
"nodeSeq": 0,
"nodeModel": 0,
"createTime": "string",
"creator": "string",
"apprvDeptFlowNodePersons": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeId": 0,
"seq": 0,
"staffId": 0,
"staffName": "string",
"deptId": 0,
"deptName": "string",
"createTime": "string",
"creator": "string",
"staffType": 0
}
]
}
],
"apprvDeptFlowStaffs": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"staffId": 0,
"staffName": "string"
}
]
}
示例代码
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/tms/dept/flow/config/data' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"compId": 0,
"flowName": "string",
"deptId": 0,
"isDefault": 0,
"status": 0,
"flowType": 0,
"createTime": "string",
"creator": "string",
"modifyTime": "string",
"modifier": "string",
"travelType": "string",
"on": 0,
"apprvDeptFlowNodes": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeName": "string",
"nodeSeq": 0,
"nodeModel": 0,
"createTime": "string",
"creator": "string",
"apprvDeptFlowNodePersons": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeId": 0,
"seq": 0,
"staffId": 0,
"staffName": "string",
"deptId": 0,
"deptName": "string",
"createTime": "string",
"creator": "string",
"staffType": 0
}
]
}
],
"apprvDeptFlowStaffs": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"staffId": 0,
"staffName": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
success
boolean
可选
默认值:
true
errCode
string
可选
errMsg
string
可选
traceId
string