Business Process
Tasks
Tasks - Complete a Task POST /tasks/complete/{taskId}
| Resource URL | /api/v1/tasks/complete/{taskId} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| taskId | The ID of the task to complete | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - Complete a Task with Variables POST tasks/complete-with-variables/{taskId}
| Resource URL | /api/v1/tasks/complete-with-variables/{taskId} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| taskId | The ID of the task to complete | Yes | String | N/A |
| (Request Body) | Variables to submit with task completion | Yes | Object | N/A |
Request Body
The request body is a JSON object containing key-value pairs of variables:
| Property | Description | Required | Type | Example Value |
|---|---|---|---|---|
| (Variables) | Key-value pairs of task variables | Yes | Object | {"approved": true, "comments": "Looks good"} |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - Tasks of a Process GET tasks/{processInstanceId}
| Resource URL | /api/v1/tasks/{processInstanceId} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| processInstanceId | The ID of the process instance to retrieve tasks for | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - Form Properties of a Task GET tasks/task-form-properties
| Resource URL | /api/v1/tasks/task-form-properties |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| taskId | The ID of the task to retrieve form properties for | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - All Statuses of a Process GET tasks/statuses
| Resource URL | /api/v1/tasks/statuses |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| processInstanceId | The ID of the process instance to retrieve statuses for | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - Next Possible Tasks of the Process GET tasks/next-possible-tasks
| Resource URL | /api/v1/tasks/next-possible-tasks |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| currentTaskId | The ID of the current task to find next possible tasks for | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - Historic Activities of a Process GET tasks/historic-activities
| Resource URL | /api/v1/tasks/historic-activities |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| processInstanceId | The ID of the process instance to retrieve historic activities for | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - Current Tasks of a Process GET tasks/current
| Resource URL | /api/v1/tasks/current |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| processInstanceId | The ID of the process instance to retrieve current tasks for | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Tasks - Completed Tasks of a Process GET tasks/completed
| Resource URL | /api/v1/tasks/completed |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| processInstanceId | The ID of the process instance to retrieve completed tasks for | Yes | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |