Business Process
Processes
Processes - Start Process Instance POST processes/start/{processDefinitionKey}
| Resource URL | /api/v1/processes/start/{processDefinitionKey} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| processDefinitionKey | The key of the process definition to start | Yes | String | N/A |
| (Request Body) | Process start information | Yes | Object | N/A |
Request Body
The request body is a JSON object with the following properties:
| Property | Description | Required | Type | Example Value |
|---|---|---|---|---|
| businessKey | Unique business key for the process | No | String | "order-123" |
| variables | Key-value pairs of process variables | No | Object | {"user": "john", "amount": 100} |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Processes - Get Process Instance GET processes/{processInstanceId}
| Resource URL | /api/v1/processes/{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 | 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 |
Processes - Get Deployed Processes GET processes/deployments
| Resource URL | /api/v1/processes/deployments |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
This endpoint has no query or path parameters.
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 500 | Internal Server Error |
Processes - Delete All Deployed Processes DELETE processes/deployments
| Resource URL | /api/v1/processes/deployments |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
This endpoint has no query or path parameters.
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 500 | Internal Server Error |
Processes - Get Completed Processes GET processes/completed
| Resource URL | /api/v1/processes/completed |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
This endpoint has no query or path parameters.
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 500 | Internal Server Error |
Processes - Get Active Processes GET processes/active
| Resource URL | /api/v1/processes/active |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| processDefinitionKey | Filter by process definition key | No | String | N/A |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 500 | Internal Server Error |
Processes - Get Processes with Business Key GET processes/active/{businessKey}
| Resource URL | /api/v1/processes/active/{businessKey} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| businessKey | The business key to filter active processes | 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 |
Processes - Delete a Process Instance DELETE processes/instance/{processInstanceId}
| Resource URL | /api/v1/processes/instance/{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 delete | Yes | String | N/A |
| (Request Body) | Reason for deletion | Yes | String | N/A |
Request Body
The request body is a simple string providing the reason for deletion:
| Property | Description | Required | Type | Example Value |
|---|---|---|---|---|
| (Body) | Reason for deleting the process instance | Yes | String | "No longer needed" |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Processes - Delete a Deployed Process DELETE processes/deployments/{deploymentId}
| Resource URL | /api/v1/processes/deployments/{deploymentId} |
|---|---|
| Response Format | JSON |
| Requires Authentication | Not specified |
| Rate Limited | Not specified |
| HTTPS | Assumed Yes |
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| deploymentId | The ID of the deployment to delete | 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 |