{
"taskId": "string",
"taskIds": [
"string"
],
"userId": "string",
"comment": "string",
"category": "string",
"instanceId": "string",
"instanceName": "string",
"startUserId": "string",
"targetKey": "string",
"deploymentId": "string",
"deployId": "string",
"defId": "string",
"currentChildExecutionId": "string",
"flag": true,
"variables": {
"property1": {},
"property2": {}
},
"assignee": "string",
"candidateUsers": [
"string"
],
"candidateGroups": [
"string"
],
"activityId": "string",
"readUser": "string",
"status": true
}
curl --location --request POST '/pms/flow/complete' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId": "string",
"taskIds": [
"string"
],
"userId": "string",
"comment": "string",
"category": "string",
"instanceId": "string",
"instanceName": "string",
"startUserId": "string",
"targetKey": "string",
"deploymentId": "string",
"deployId": "string",
"defId": "string",
"currentChildExecutionId": "string",
"flag": true,
"variables": {
"property1": {},
"property2": {}
},
"assignee": "string",
"candidateUsers": [
"string"
],
"candidateGroups": [
"string"
],
"activityId": "string",
"readUser": "string",
"status": true
}'
{
"code": 0,
"message": "string",
"data": {
"status": 0,
"creatorId": 0,
"updatedTime": 0,
"taskId": "string",
"executionId": "string",
"taskName": "string",
"taskDefKey": "string",
"assigneeId": 0,
"deptName": "string",
"userType": "string",
"assigneeName": "string",
"startUserId": "string",
"startUserName": "string",
"category": "string",
"categoryValue": "string",
"procVars": {},
"taskLocalVars": {},
"deployId": "string",
"procDefId": "string",
"procDefKey": "string",
"procDefName": "string",
"procDefVersion": 0,
"procInsId": "string",
"hisProcInsId": "string",
"duration": "string",
"comment": {
"type": "string",
"comment": "string"
},
"candidate": "string",
"createTime": "2019-08-24T14:15:22Z",
"finishTime": "2019-08-24T14:15:22Z",
"activityId": "string",
"priority": 0,
"finished": true,
"id": "string"
},
"success": true
}