2. BPM Endpoints
The BPM service for enaio® is divided into two sections:
Normal endpoints without the need of special system roles for the calling user.
Administrative endpoints where the calling user need the system roles 20 (Workflow Administrator start) or 21 (Workflow Editor start)
On this page, the two sections are divided. First, there is an overview of the normal endpoints and afterward an overview about the administrative ones. Due to the extensive development of the webbased workflow administration tools, currently only a few normal endpoints and many administrative ones exist. We are continuously further developing the BPM service for enaio® and more normal endpoints will follow soon for enaio 12.0 and future versions.
Normal Endpoint Schema
Normal Endpoint Overview
HTTP Method | Endpoint | Description | Core | As of |
|---|---|---|---|---|
GET | Returns all organizations. | no | 1.0.0 | |
|
|
|
|
|
POST | Performs an action on the specified task. | no | 1.0.0 | |
GET | Returns all candidates for a task. | no | 1.0.0 | |
POST | Sets a list of users and/or roles as the candidates of a running task. | no | 1.0.0 | |
|
|
|
|
|
GET | Returns all processes which contain a specified object in their files | no | 1.3.0 | |
|
|
|
|
|
GET | Returns ad hoc templates. | no | 1.5.0 | |
|
|
|
|
|
GET | Retrieves basic information about platform and version. | no | 1.0.0 |
Administrative Endpoint Schema
The following graphic shows all REST endpoints that are available in the BPM service API.
Administrative Endpoint Overview
HTTP Method | Endpoint | Description | Core | As of |
|---|---|---|---|---|
GET | Returns all process definitions. | no | 1.0.0 | |
POST | Creates new process definition. | no | 1.5.0 | |
POST | Copies a process definition. | no | 1.5.0 | |
GET | Returns a process definition. | no | 1.5.0 | |
PUT | Updates a process definition. | no | 1.6.0 | |
DELETE | Deletes a process definition. | no | 1.5.0 | |
PUT | Changes a state of a workflow model. | no | 1.5.0 | |
|
|
|
|
|
GET | Returns all families. | no | 1.4.0 | |
POST | Creates new families. | no | 1.4.0 | |
PUT | Updates a family. | no | 1.4.0 | |
DELETE | Deletes a family. | no | 1.4.0 | |
|
|
|
|
|
POST | Creates a new organization. | no | 1.4.0 | |
POST | Returns the export file converted to the current enaio format as an XML file download. | no | 1.5.0 | |
POST | Imports organization. | no | 1.5.0 | |
GET | Returns all objects that make up the organization structure. | no | 1.0.0 | |
DELETE | Deletes an organization. | no | 1.4.0 | |
PATCH | Updates an organization. | no | 1.4.0 | |
POST | Returns the exported organization as an XML file. | no | 1.5.0 | |
|
|
|
|
|
GET | Returns all processes for the provided process definition. | no | 1.0.0 | |
PATCH | To suspend, cancel, resume, delete or unlock a batch of processes. | no | 1.0.0 | |
POST | Returns xml or csv file with detailed information about the specified processes. | no | 1.4.0 | |
GET | Returns counts of processes per state for the provided process definition. | no | 1.4.0 | |
GET | Returns essential information for the provided process – complete history, tasks, timers, inboxes | no | 1.0.0 | |
GET | Returns all activities processed by the specified user. | no | 1.0.0 | |
GET | Returns all activities for the provided process. | no | 1.0.0 | |
GET | Returns information for rendering the workflow graph. | no | 1.0.0 | |
|
|
|
|
|
POST | Performs an action on the specified task. | no | 1.0.0 | |
GET | Returns all history entries for a task. | no | 1.0.0 | |
GET | Returns all variables for a task or historical entry. | no | 1.0.0 | |
PUT | Updates to task variables. | no | 1.0.0 | |
|
|
|
|
|
GET | Returns all history entries for a timer. | no | 1.0.0 | |
|
|
|
|
|
GET | Returns information about the database tables | no | 1.2.0 | |
PATCH | To unlock a batch of tables. | no | 1.2.0 | |
GET | Returns all elements which are currently in worker queue. | no | 1.2.0 | |
|
|
|
|
|
GET | Returns all report configurations. | no | 1.4.0 | |
POST | Creates new statistics report configurations. | no | 1.4.0 | |
PUT | Updates an existing statistics report configuration. | no | 1.4.0 | |
DELETE | Deletes a statistics report configuration. | no | 1.4.0 | |
GET | Returns all reports for the provided configuration. | no | 1.4.0 | |
POST | Creates new reports for the provided configuration. | no | 1.4.0 | |
|
|
|
|
|
GET | Returns report data. | no | 1.4.0 | |
DELETE | Deletes a report. | no | 1.4.0 |