[GET] /templates
/api/bpm/routing-lists/templates
Description | To retrieve all routing list ad hoc templates visible to the currently logged-in user. This includes all public templates and all private templates owned by the logged-in user. Optionally, an organization id can be sent if templates for a non-active organization should be retrieved. By default, the active organization will be used. Each template contains a routing list with task groups and tasks. A task can have assigned users or roles ( If a property is not present in the response, it means its value is The
The
| ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request | GET | ||||||||||||||
Request Optional Query Parameters |
| ||||||||||||||
Response | JSON | ||||||||||||||
Minimum Version | 1.5.0 | ||||||||||||||
Request |
| ||||||||||||||
Result | {
"objects": [
{
"id": "2E9F8FBF56E446AEBA5C5B66712AC38A",
"name": "besonders",
"scope": "PUBLIC",
"routingList": {
"id": "931E96E300AA4F5086EFC46602013274",
"expandable": true,
"taskGroups": [
{
"number": 0,
"expandable": true,
"tasks": [
{
"id": "6D575420E5924CF58872BEBC1A3FDE8B",
"name": "DisplayName",
"taskDefinitionId": "EBA50D7D32C640F5B0358C383F495F9B",
"taskDefinitionName": "DisplayName",
"remark": "Please review the document",
"timerId": "7898DB53EECB418FB80AE3601461942E",
"timerName": "Mahnfrist 2",
"timerDuration": 172715,
"timerDurationType": "RELATIVE",
"changeable": true,
"deleteable": false,
"usersAndRoles": [
{ "id": "BE2C9475A0E84700BBD45C7C8B2AECF5" },
{ "id": "727A6EA824B543668A4CF56B3EDD98A9" }
]
},
{
"id": "01F63129B4014B09836CCA232E55DD97",
"name": "DisplayName",
"taskDefinitionId": "EBA50D7D32C640F5B0358C383F495F9B",
"taskDefinitionName": "DisplayName",
"timerDurationType": "NONE",
"changeable": true,
"deleteable": false,
"usersAndRoles": [
{ "id": "BE2C9475A0E84700BBD45C7C8B2AECF5" },
{ "id": "727A6EA824B543668A4CF56B3EDD98A9" }
]
}
]
}
]
}
}
],
"numItems": 1,
"hasMoreItems": false,
"totalNumItems": 1
}
|