{
"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"
}
]
}
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"
}
]
}'
{
"success": false,
"errCode": "",
"errMsg": "",
"traceId": "",
"data": [
{
"id": 0,
"compId": 0,
"flowName": "",
"deptId": 0,
"isDefault": 0,
"status": 0,
"flowType": 0,
"createTime": "",
"creator": "",
"modifyTime": "",
"modifier": "",
"travelType": "",
"on": 0,
"apprvDeptFlowNodes": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeName": "",
"nodeSeq": 0,
"nodeModel": 0,
"createTime": "",
"creator": "",
"TmsApprvDeptFlowNodePerson": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeId": 0,
"seq": 0,
"staffId": 0,
"staffName": "",
"deptId": 0,
"deptName": "",
"createTime": "",
"creator": "",
"staffType": 0
}
]
}
],
"apprvDeptFlowStaffs": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"staffId": 0,
"staffName": ""
}
]
}
]
}