{
"body": {
"allDistribute": true,
"assignToStaff": true,
"allDistributeParams": [
{
"worpPlanId": 0
}
],
"taskPlans": [
{
"taskPlanId": 0,
"assigneeResources": {
"bottleneckResources": [
{
"assigneeId": 0,
"assigneeType": 0
}
],
"otherResources": [
{
"assigneeId": 0,
"assigneeType": 0
}
]
}
}
]
}
}
curl --location --request POST '/api/open/v3/plan/distribute' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"allDistribute": true,
"assignToStaff": true,
"allDistributeParams": [
{
"worpPlanId": 0
}
],
"taskPlans": [
{
"taskPlanId": 0,
"assigneeResources": {
"bottleneckResources": [
{
"assigneeId": 0,
"assigneeType": 0
}
],
"otherResources": [
{
"assigneeId": 0,
"assigneeType": 0
}
]
}
}
]
}
}'
{
"code": 0,
"message": ""
}