{
"id": 0,
"compId": 0,
"flowName": "string",
"deptLevel": 0,
"costId": 0,
"costDeptId": 0,
"isDefault": 0,
"status": 0,
"flowType": 0,
"createTime": "string",
"creator": "string",
"modifyTime": "string",
"modifier": "string",
"travelType": "string",
"limitMoney": 0,
"on": 0,
"apprvCostFlowNodes": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeName": "string",
"nodeSeq": 0,
"nodeModel": 0,
"createTime": "string",
"creator": "string",
"apprvCostFlowNodePersons": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeId": 0,
"seq": 0,
"staffId": 0,
"staffName": "string",
"deptId": 0,
"deptName": "string",
"createTime": "string",
"creator": "string",
"staffType": 0
}
]
}
],
"apprvCostFlowStaffs": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"staffId": 0,
"staffName": "string"
}
]
}
curl --location --request POST '/tms/cost/flow/config/switchFlows' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"compId": 0,
"flowName": "string",
"deptLevel": 0,
"costId": 0,
"costDeptId": 0,
"isDefault": 0,
"status": 0,
"flowType": 0,
"createTime": "string",
"creator": "string",
"modifyTime": "string",
"modifier": "string",
"travelType": "string",
"limitMoney": 0,
"on": 0,
"apprvCostFlowNodes": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeName": "string",
"nodeSeq": 0,
"nodeModel": 0,
"createTime": "string",
"creator": "string",
"apprvCostFlowNodePersons": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"nodeId": 0,
"seq": 0,
"staffId": 0,
"staffName": "string",
"deptId": 0,
"deptName": "string",
"createTime": "string",
"creator": "string",
"staffType": 0
}
]
}
],
"apprvCostFlowStaffs": [
{
"id": 0,
"compId": 0,
"flowId": 0,
"staffId": 0,
"staffName": "string"
}
]
}'
{
"success": false,
"errCode": "",
"errMsg": "",
"traceId": "",
"data": ""
}