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.
a Reusable, customizable and workflow based task service.
Base URLs:
Authentication
- HTTP Authentication, scheme: bearer
EventController
EventController.count
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /events/count
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
Example responses
200 Response
Responses
EventController.mapEventToWorkflow
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"eventKey": "string",
"workflowKey": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events/mapping',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"eventKey": "string",
"workflowKey": "string"
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events/mapping',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /events/mapping
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"eventKey": "string",
"workflowKey": "string"
}
|
Parameters
Responses
| Status |
Meaning |
Description |
Schema |
|
|
|
|
EventController.findById
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /events/{id}
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| filter |
query |
events.Filter |
false |
none |
Example responses
200 Response
| {
"id": "string",
"key": "string",
"description": "string",
"source": "string",
"payload": {},
"timestamp": 0
}
|
Responses
EventController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/events',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /events
Parameters
| Name |
In |
Type |
Required |
Description |
| filter |
query |
events.Filter1 |
false |
none |
Example responses
200 Response
| [
{
"id": "string",
"key": "string",
"description": "string",
"source": "string",
"payload": {},
"timestamp": 0
}
]
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Array of Event model instances |
Inline |
Response Schema
Status Code 200
| Name |
Type |
Required |
Restrictions |
Description |
| anonymous |
[EventWithRelations] |
false |
none |
[(tsType: EventWithRelations, schemaOptions: { includeRelations: true })] |
| » EventWithRelations |
EventWithRelations |
false |
none |
(tsType: EventWithRelations, schemaOptions: { includeRelations: true }) |
| »» id |
string |
false |
none |
none |
| »» key |
string |
true |
none |
An identifier for a particular event queued by a service or a user |
| »» description |
string |
true |
none |
A short description of an event |
| »» source |
string |
true |
none |
Origination of an event- can be a service or from a user |
| »» payload |
object |
true |
none |
A dynamic object that contains information to be run in the workers of a bpmn engine |
| »» timestamp |
number |
true |
none |
A short message to indicate the progression of the event |
TaskController
TaskController.count
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /tasks/count
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
Example responses
200 Response
Responses
TaskController.mapTaskToWorkflow
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"workflowKey": "string",
"taskKey": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/mapping',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"workflowKey": "string",
"taskKey": "string"
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/mapping',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /tasks/mapping
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"workflowKey": "string",
"taskKey": "string"
}
|
Parameters
Responses
| Status |
Meaning |
Description |
Schema |
|
|
|
|
TaskController.updateById
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /tasks/{id}
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| body |
body |
TaskPartial |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Task UPDATE by id success |
None |
TaskController.findById
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /tasks/{id}
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| filter |
query |
tasks.Filter |
false |
none |
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string",
"userTasks": [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"taskId": "string",
"status": "string",
"externalId": "string"
}
]
}
|
Responses
TaskController.deleteById
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /tasks/{id}
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| cascade |
query |
boolean |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Task DELETE by id success |
None |
TaskController.updateAll
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /tasks
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
| body |
body |
TaskPartial |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Tasks UPDATE success |
None |
TaskController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /tasks
Parameters
| Name |
In |
Type |
Required |
Description |
| filter |
query |
tasks.Filter1 |
false |
none |
Example responses
200 Response
| [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string",
"userTasks": [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"taskId": "string",
"status": "string",
"externalId": "string"
}
]
}
]
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Array of Task model instances |
Inline |
Response Schema
Status Code 200
| Name |
Type |
Required |
Restrictions |
Description |
| anonymous |
[TaskWithRelations] |
false |
none |
[(tsType: TaskWithRelations, schemaOptions: { includeRelations: true })] |
| » TaskWithRelations |
TaskWithRelations |
false |
none |
(tsType: TaskWithRelations, schemaOptions: { includeRelations: true }) |
| »» 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 |
| »» key |
string |
true |
none |
An identifier for a particular task within an event |
| »» name |
string |
true |
none |
A name given by the consumer service for this task |
| »» description |
string |
false |
none |
A short description of this task |
| »» status |
string |
false |
none |
A short message to indicate the progression of the task |
| »» priority |
string |
true |
none |
none |
| »» severity |
string |
true |
none |
none |
| »» type |
string |
true |
none |
none |
| »» startDate |
string(date-time) |
false |
none |
none |
| »» dueDate |
string(date-time) |
false |
none |
none |
| »» endDate |
string(date-time) |
false |
none |
none |
| »» assigneeId |
string |
false |
none |
none |
| »» metadata |
object |
true |
none |
none |
| »» externalId |
string |
false |
none |
none |
| »» notes |
string |
false |
none |
none |
| »» userTasks |
[UserTaskWithRelations] |
false |
none |
[(tsType: UserTaskWithRelations, schemaOptions: { includeRelations: true })] |
| »»» UserTaskWithRelations |
UserTaskWithRelations |
false |
none |
(tsType: UserTaskWithRelations, schemaOptions: { includeRelations: true }) |
| »»»» 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 |
| »»»» name |
string |
true |
none |
none |
| »»»» taskId |
string |
true |
none |
none |
| »»»» status |
string |
true |
none |
none |
| »»»» externalId |
string |
true |
none |
none |
TaskController.delete
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /tasks
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
| cascade |
query |
boolean |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Tasks DELETE success |
None |
TaskUserTaskController
TaskUserTaskController.count
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /tasks/{taskId}/user-tasks/count
Parameters
| Name |
In |
Type |
Required |
Description |
| taskId |
path |
string |
true |
none |
| where |
query |
object |
false |
none |
Example responses
200 Response
Responses
TaskUserTaskController.completeTask
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/{userTaskId}/complete',
{
method: 'PATCH',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/{userTaskId}/complete',
{
method: 'PATCH',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /tasks/{taskId}/user-tasks/{userTaskId}/complete
Parameters
| Name |
In |
Type |
Required |
Description |
| taskId |
path |
string |
true |
none |
| userTaskId |
path |
string |
true |
none |
Responses
| Status |
Meaning |
Description |
Schema |
|
|
|
|
TaskUserTaskController.findById
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/{userTaskId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/{userTaskId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /tasks/{taskId}/user-tasks/{userTaskId}
Parameters
| Name |
In |
Type |
Required |
Description |
| taskId |
path |
string |
true |
none |
| userTaskId |
path |
string |
true |
none |
| filter |
query |
user_tasks.Filter |
false |
none |
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"taskId": "string",
"status": "string",
"externalId": "string"
}
|
Responses
TaskUserTaskController.deleteById
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /tasks/{taskId}/user-tasks/{id}
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
UserTasks DELETE by id success |
None |
TaskUserTaskController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /tasks/{taskId}/user-tasks
Parameters
| Name |
In |
Type |
Required |
Description |
| taskId |
path |
string |
true |
none |
| filter |
query |
user_tasks.Filter1 |
false |
none |
Example responses
200 Response
| [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"taskId": "string",
"status": "string",
"externalId": "string"
}
]
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Array of UserTask model instances |
Inline |
Response Schema
Status Code 200
| Name |
Type |
Required |
Restrictions |
Description |
| anonymous |
[UserTaskWithRelations] |
false |
none |
[(tsType: UserTaskWithRelations, schemaOptions: { includeRelations: true })] |
| » UserTaskWithRelations |
UserTaskWithRelations |
false |
none |
(tsType: UserTaskWithRelations, schemaOptions: { includeRelations: true }) |
| »» 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 |
| »» name |
string |
true |
none |
none |
| »» taskId |
string |
true |
none |
none |
| »» status |
string |
true |
none |
none |
| »» externalId |
string |
true |
none |
none |
TaskUserTaskController.delete
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/tasks/{taskId}/user-tasks',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /tasks/{taskId}/user-tasks
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
UserTasks DELETE success |
None |
WorkflowController
WorkflowController.startWorkflow
Code samples
| const inputBody = '{
"workflowVersion": 0,
"input": {}
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}/execute',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"workflowVersion": 0,
"input": {}
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}/execute',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /workflows/{id}/execute
| Permissions |
| ExecuteWorkflow |
| 5 |
Body parameter
| {
"workflowVersion": 0,
"input": {}
}
|
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
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}/version/{version}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}/version/{version}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
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
| const inputBody = '{
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /workflows/{id}
| Permissions |
| UpdateWorkflow |
| 3 |
Body parameter
| {
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
}
|
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
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
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
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/workflows/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
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
| const inputBody = '{
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /workflows
| Permissions |
| CreateWorkflow |
| 2 |
Body parameter
| {
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| body |
body |
NewWorkflow |
false |
none |
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"workflowVersion": 0,
"externalIdentifier": "string",
"name": "string",
"provider": "string",
"inputSchema": {},
"description": "string"
}
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Workflow model instance |
Workflow |
WorkflowController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/workflows',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /workflows
| Permissions |
| ViewWorkflow |
| 1 |
Parameters
Example responses
200 Response
| [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"workflowVersion": 0,
"externalIdentifier": "string",
"name": "string",
"provider": "string",
"inputSchema": {},
"description": "string"
}
]
|
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
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"workflowVersion": 0,
"externalIdentifier": "string",
"name": "string",
"provider": "string",
"inputSchema": {},
"description": "string"
}
|
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
| {
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
}
|
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
| {
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
}
|
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
| {
"name": "string",
"bpmnFile": "string",
"inputSchema": {},
"description": "string"
}
|
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
| {
"workflowVersion": 0,
"input": {}
}
|
ExecuteWorkflowDto
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| workflowVersion |
number |
false |
none |
none |
| input |
object |
true |
none |
none |
EventWithRelations
| {
"id": "string",
"key": "string",
"description": "string",
"source": "string",
"payload": {},
"timestamp": 0
}
|
EventWithRelations
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| id |
string |
false |
none |
none |
| key |
string |
true |
none |
An identifier for a particular event queued by a service or a user |
| description |
string |
true |
none |
A short description of an event |
| source |
string |
true |
none |
Origination of an event- can be a service or from a user |
| payload |
object |
true |
none |
A dynamic object that contains information to be run in the workers of a bpmn engine |
| timestamp |
number |
true |
none |
A short message to indicate the progression of the event |
EventWorkflowMapping
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"eventKey": "string",
"workflowKey": "string"
}
|
EventWorkflowMapping
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 |
| eventKey |
string |
true |
none |
An identifier for a particular event queued by a service or a user |
| workflowKey |
string |
true |
none |
An identifier for a particular workflow |
UserTaskWithRelations
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"taskId": "string",
"status": "string",
"externalId": "string"
}
|
UserTaskWithRelations
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 |
| name |
string |
true |
none |
none |
| taskId |
string |
true |
none |
none |
| status |
string |
true |
none |
none |
| externalId |
string |
true |
none |
none |
TaskWithRelations
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string",
"userTasks": [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"taskId": "string",
"status": "string",
"externalId": "string"
}
]
}
|
TaskWithRelations
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 |
| key |
string |
true |
none |
An identifier for a particular task within an event |
| name |
string |
true |
none |
A name given by the consumer service for this task |
| description |
string |
false |
none |
A short description of this task |
| status |
string |
false |
none |
A short message to indicate the progression of the task |
| priority |
string |
true |
none |
none |
| severity |
string |
true |
none |
none |
| type |
string |
true |
none |
none |
| startDate |
string(date-time) |
false |
none |
none |
| dueDate |
string(date-time) |
false |
none |
none |
| endDate |
string(date-time) |
false |
none |
none |
| assigneeId |
string |
false |
none |
none |
| metadata |
object |
true |
none |
none |
| externalId |
string |
false |
none |
none |
| notes |
string |
false |
none |
none |
| userTasks |
[UserTaskWithRelations] |
false |
none |
[(tsType: UserTaskWithRelations, schemaOptions: { includeRelations: true })] |
TaskWorkFlowMapping
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"workflowKey": "string",
"taskKey": "string"
}
|
TaskWorkFlowMapping
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 |
| workflowKey |
string |
true |
none |
An identifier for a particular workflow |
| taskKey |
string |
true |
none |
An identifier for a particular task within an event |
TaskPartial
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
}
|
TaskPartial
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 |
| key |
string |
false |
none |
An identifier for a particular task within an event |
| name |
string |
false |
none |
A name given by the consumer service for this task |
| description |
string |
false |
none |
A short description of this task |
| status |
string |
false |
none |
A short message to indicate the progression of the task |
| priority |
string |
false |
none |
none |
| severity |
string |
false |
none |
none |
| type |
string |
false |
none |
none |
| startDate |
string(date-time) |
false |
none |
none |
| dueDate |
string(date-time) |
false |
none |
none |
| endDate |
string(date-time) |
false |
none |
none |
| assigneeId |
string |
false |
none |
none |
| metadata |
object |
false |
none |
none |
| externalId |
string |
false |
none |
none |
| notes |
string |
false |
none |
none |
Task
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"status": "string",
"priority": "string",
"severity": "string",
"type": "string",
"startDate": "2019-08-24T14:15:22Z",
"dueDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"assigneeId": "string",
"metadata": {},
"externalId": "string",
"notes": "string"
}
|
Task
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 |
| key |
string |
true |
none |
An identifier for a particular task within an event |
| name |
string |
true |
none |
A name given by the consumer service for this task |
| description |
string |
false |
none |
A short description of this task |
| status |
string |
false |
none |
A short message to indicate the progression of the task |
| priority |
string |
true |
none |
none |
| severity |
string |
true |
none |
none |
| type |
string |
true |
none |
none |
| startDate |
string(date-time) |
false |
none |
none |
| dueDate |
string(date-time) |
false |
none |
none |
| endDate |
string(date-time) |
false |
none |
none |
| assigneeId |
string |
false |
none |
none |
| metadata |
object |
true |
none |
none |
| externalId |
string |
false |
none |
none |
| notes |
string |
false |
none |
none |
loopback.Count
loopback.Count
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| count |
number |
false |
none |
none |
events.Filter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"id": true,
"key": true,
"description": true,
"source": true,
"payload": true,
"timestamp": true
}
}
|
events.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 |
| fields |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
object |
false |
none |
none |
| »» id |
boolean |
false |
none |
none |
| »» key |
boolean |
false |
none |
none |
| »» description |
boolean |
false |
none |
none |
| »» source |
boolean |
false |
none |
none |
| »» payload |
boolean |
false |
none |
none |
| »» timestamp |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
events.Filter1
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"id": true,
"key": true,
"description": true,
"source": true,
"payload": true,
"timestamp": true
}
}
|
events.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 |
| »» id |
boolean |
false |
none |
none |
| »» key |
boolean |
false |
none |
none |
| »» description |
boolean |
false |
none |
none |
| »» source |
boolean |
false |
none |
none |
| »» payload |
boolean |
false |
none |
none |
| »» timestamp |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
user_tasks.Filter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"name": true,
"taskId": true,
"status": true,
"externalId": true
}
}
|
user_tasks.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 |
| 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 |
| »» name |
boolean |
false |
none |
none |
| »» taskId |
boolean |
false |
none |
none |
| »» status |
boolean |
false |
none |
none |
| »» externalId |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
user_tasks.Filter1
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"name": true,
"taskId": true,
"status": true,
"externalId": true
}
}
|
user_tasks.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 |
| »» name |
boolean |
false |
none |
none |
| »» taskId |
boolean |
false |
none |
none |
| »» status |
boolean |
false |
none |
none |
| »» externalId |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
tasks.ScopeFilter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {},
"include": [
{}
]
}
|
tasks.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 |
tasks.IncludeFilter.Items
| {
"relation": "userTasks",
"scope": {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {},
"include": [
{}
]
}
}
|
tasks.IncludeFilter.Items
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| relation |
string |
false |
none |
none |
| scope |
tasks.ScopeFilter |
false |
none |
none |
Enumerated Values
| Property |
Value |
| relation |
userTasks |
tasks.Filter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"key": true,
"name": true,
"description": true,
"status": true,
"priority": true,
"severity": true,
"type": true,
"startDate": true,
"dueDate": true,
"endDate": true,
"assigneeId": true,
"metadata": true,
"externalId": true,
"notes": true
},
"include": [
{
"relation": "userTasks",
"scope": {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {},
"include": [
{}
]
}
}
]
}
|
tasks.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 |
| 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 |
| »» key |
boolean |
false |
none |
none |
| »» name |
boolean |
false |
none |
none |
| »» description |
boolean |
false |
none |
none |
| »» status |
boolean |
false |
none |
none |
| »» priority |
boolean |
false |
none |
none |
| »» severity |
boolean |
false |
none |
none |
| »» type |
boolean |
false |
none |
none |
| »» startDate |
boolean |
false |
none |
none |
| »» dueDate |
boolean |
false |
none |
none |
| »» endDate |
boolean |
false |
none |
none |
| »» assigneeId |
boolean |
false |
none |
none |
| »» metadata |
boolean |
false |
none |
none |
| »» externalId |
boolean |
false |
none |
none |
| »» notes |
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
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
tasks.Filter1
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"key": true,
"name": true,
"description": true,
"status": true,
"priority": true,
"severity": true,
"type": true,
"startDate": true,
"dueDate": true,
"endDate": true,
"assigneeId": true,
"metadata": true,
"externalId": true,
"notes": true
},
"include": [
{
"relation": "userTasks",
"scope": {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {},
"include": [
{}
]
}
}
]
}
|
tasks.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 |
| »» key |
boolean |
false |
none |
none |
| »» name |
boolean |
false |
none |
none |
| »» description |
boolean |
false |
none |
none |
| »» status |
boolean |
false |
none |
none |
| »» priority |
boolean |
false |
none |
none |
| »» severity |
boolean |
false |
none |
none |
| »» type |
boolean |
false |
none |
none |
| »» startDate |
boolean |
false |
none |
none |
| »» dueDate |
boolean |
false |
none |
none |
| »» endDate |
boolean |
false |
none |
none |
| »» assigneeId |
boolean |
false |
none |
none |
| »» metadata |
boolean |
false |
none |
none |
| »» externalId |
boolean |
false |
none |
none |
| »» notes |
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
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
workflows.ScopeFilter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {},
"include": [
{}
]
}
|
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
| {
"relation": "workflowVersions",
"scope": {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {},
"include": [
{}
]
}
}
|
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
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"workflowVersion": true,
"externalIdentifier": true,
"name": true,
"provider": true,
"inputSchema": true,
"description": true
},
"include": [
{
"relation": "workflowVersions",
"scope": {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {},
"include": [
{}
]
}
}
]
}
|
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
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |