Task Completion
Overview
Completing the Task by providing the Task Id
URL: api/task/complete?id=
Method: POST
Request Header:
{ "accept": "'*/*'", "Authorization": Bearer ACCESS_TOKEN }
Query Parameter:
- id=117
Request URL:
http://<Control Room server>/api/task/complete?id=117
Response:
-
Status:
200 OK
-
Body:
{
"taskId": 117,
"tenantId": 1,
"name": "TestForm",
"form": "DemoForm.iform",
"isExternalForm": false,
"processId": 6,
"processInstanceId": "917cf6d136954a52b62f8a259c898f64",
"activityInstanceId": "73c9e093-076f-4f41-b9ad-288f1361e009",
"activityId": "StandardTask1",
"statusId": 4,
"priorityId": 2,
"taskAction": null,
"arguments": null,
"assignedTo": 2,
"participants": null,
"taskType": 1,
"isAssignedToGroup": false,
"groupId": null,
"maxParticipants": 1,
"unlimitedParticipants": false,
"dueDate": "2024-04-11T10:18:02.803788",
"assignedDate": "2024-04-10T10:18:02.803788",
"completedDate": "2024-04-10T11:44:05.2202629Z",
"originalUserId": 2,
"sourceTaskId": null,
"activityName": null,
"activityDisplayName": null,
"created": "2024-04-10T10:18:03.009088",
"modified": "2024-04-10T11:44:05.2264702Z",
"createdBy": "2#demouser1 1",
"modifiedBy": "2#demouser1 1"
} -
Header:
{
content-length: 806
referrer-policy: no-referrer
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
}