Bpmn Service v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
BPMN microservice
Base URLs:
Authentication¶
- HTTP Authentication, scheme: bearer
WorkflowController
WorkflowController.startWorkflow¶
Code samples
POST /workflows/{id}/execute
Permissions |
---|
CreateWorkflow |
2 |
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | ExecuteWorkflowDto | false | none |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Workflow instance | None |
WorkflowController.deleteVersionById¶
Code samples
DELETE /workflows/{id}/version/{version}
Permissions |
---|
DeleteWorkflow |
4 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
version | path | number | true | none |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Workflow DELETE success | None |
WorkflowController.updateById¶
Code samples
PATCH /workflows/{id}
Permissions |
---|
UpdateWorkflow |
3 |
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
body | body | WorkflowDtoPartial | false | none |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Workflow PATCH success | None |
WorkflowController.count¶
Code samples
GET /workflows/{id}
Permissions |
---|
ViewWorkflow |
1 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Workflow Model | None |
WorkflowController.deleteById¶
Code samples
DELETE /workflows/{id}
Permissions |
---|
DeleteWorkflow |
4 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | none |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Workflow DELETE success | None |
WorkflowController.create¶
Code samples
POST /workflows
Permissions |
---|
CreateWorkflow |
2 |
Body parameter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | NewWorkflow | false | none |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Workflow model instance | Workflow |
WorkflowController.find¶
Code samples
GET /workflows
Permissions |
---|
ViewWorkflow |
1 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
filter | query | workflows.Filter | false | none |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Array of Workflow model instances | Inline |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Workflow] | false | none | none |
» Workflow | Workflow | false | none | none |
»» deleted | boolean | false | none | none |
»» deletedOn | string(date-time)¦null | false | none | none |
»» deletedBy | string¦null | false | none | none |
»» createdOn | string(date-time) | false | none | none |
»» modifiedOn | string(date-time) | false | none | none |
»» createdBy | string | false | none | none |
»» modifiedBy | string | false | none | none |
»» id | string | false | none | none |
»» workflowVersion | number | true | none | Last deployed workflow version |
»» externalIdentifier | string | true | none | The key that is used to identify the workflow in the respective workflow engine. |
»» name | string | false | none | Name of the workflow |
»» provider | string | true | none | Provider could be the engine that will handle the workflow - camunda, zeebe, etc |
»» inputSchema | object | true | none | Schema used for validation during workflow execution |
»» description | string | false | none | Description of the workflow |
Schemas¶
Workflow
Workflow
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
deleted | boolean | false | none | none |
deletedOn | string(date-time)¦null | false | none | none |
deletedBy | string¦null | false | none | none |
createdOn | string(date-time) | false | none | none |
modifiedOn | string(date-time) | false | none | none |
createdBy | string | false | none | none |
modifiedBy | string | false | none | none |
id | string | false | none | none |
workflowVersion | number | true | none | Last deployed workflow version |
externalIdentifier | string | true | none | The key that is used to identify the workflow in the respective workflow engine. |
name | string | false | none | Name of the workflow |
provider | string | true | none | Provider could be the engine that will handle the workflow - camunda, zeebe, etc |
inputSchema | object | true | none | Schema used for validation during workflow execution |
description | string | false | none | Description of the workflow |
NewWorkflow
NewWorkflow
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | true | none | none |
bpmnFile | string | true | none | none |
inputSchema | object | true | none | none |
description | string | false | none | none |
WorkflowDto
WorkflowDto
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | true | none | none |
bpmnFile | string | true | none | none |
inputSchema | object | true | none | none |
description | string | false | none | none |
WorkflowDtoPartial
WorkflowDtoPartial
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | false | none | none |
bpmnFile | string | false | none | none |
inputSchema | object | false | none | none |
description | string | false | none | none |
ExecuteWorkflowDto
ExecuteWorkflowDto
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
workflowVersion | number | false | none | none |
input | object | true | none | none |
workflows.ScopeFilter
workflows.ScopeFilter
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
where | object | false | none | none |
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
include | [object] | false | none | none |
workflows.IncludeFilter.Items
workflows.IncludeFilter.Items
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
relation | string | false | none | none |
scope | workflows.ScopeFilter | false | none | none |
Enumerated Values¶
Property | Value |
---|---|
relation | workflowVersions |
workflows.Filter
workflows.Filter
Properties¶
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
offset | integer | false | none | none |
limit | integer | false | none | none |
skip | integer | false | none | none |
order | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
where | object | false | none | none |
fields | any | false | none | none |
oneOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | object | false | none | none |
»» deleted | boolean | false | none | none |
»» deletedOn | boolean | false | none | none |
»» deletedBy | boolean | false | none | none |
»» createdOn | boolean | false | none | none |
»» modifiedOn | boolean | false | none | none |
»» createdBy | boolean | false | none | none |
»» modifiedBy | boolean | false | none | none |
»» id | boolean | false | none | none |
»» workflowVersion | boolean | false | none | none |
»» externalIdentifier | boolean | false | none | none |
»» name | boolean | false | none | none |
»» provider | boolean | false | none | none |
»» inputSchema | boolean | false | none | none |
»» description | boolean | false | none | none |
xor
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | [string] | false | none | none |
continued
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
include | [anyOf] | false | none | none |
anyOf
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | workflows.IncludeFilter.Items | false | none | none |
or
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» anonymous | string | false | none | none |