Overview
This is the REST documentation for TASKANA - the world’s first open source solution for Enterprise Task Management.
For all Query Parameters:
Whenever a parameter is an array type, several values can be passed by declaring that parameter multiple times.
Whenever a parameter is a complex type, the attributes of the value-object can be passed as a json.
For example, a complex parameter with the name "complex-query-param" and attributes "attribute1" and "attribute2" would be specified in the following way:
complex-query-param={"attribute1":"value1","attribute2":"value2"}
Whenever a parameter is a value-less type (e.g owner-is-null and current-user) it is expected to be defined without a value, i.e., it should be specified as ?parameter and not ?parameter= or ?parameter=someValue
Hypermedia Support
HATEOAS support is still in development. Please have a look at example responses for each resource to determine the available links. |
TASKANA uses the HATEOAS (Hypermedia as the Engine of Application State) REST constraint.
Most of our resources contain a _links
section which contains navigation links.
Besides, helping to navigate through our REST API, the navigation links also encapsulate the API.
Using HATEOAS allows us to change some endpoints without modifying your frontend.
Errors
In order to support multilingual websites, TASKANA uses error codes to define which error occurred. Additionally, an optional set of message variables, containing some technical information, is added, so that the website can describe the error with all details.
Status Code |
Key |
Message Variables |
400 BAD_REQUEST |
CLASSIFICATION_SERVICE_LEVEL_MALFORMED |
serviceLevel, classificationKey, domain |
400 BAD_REQUEST |
CUSTOM_HOLIDAY_WRONG_FORMAT |
customHoliday |
400 BAD_REQUEST |
DOMAIN_NOT_FOUND |
domain |
400 BAD_REQUEST |
INVALID_ARGUMENT |
|
400 BAD_REQUEST |
QUERY_PARAMETER_MALFORMED |
malformedQueryParameters |
400 BAD_REQUEST |
TASK_INVALID_CALLBACK_STATE |
taskId, taskCallbackState, requiredCallbackStates |
400 BAD_REQUEST |
TASK_INVALID_OWNER |
taskId, currentUserId |
400 BAD_REQUEST |
TASK_INVALID_STATE |
taskId, taskState, requiredTaskStates |
403 FORBIDDEN |
NOT_AUTHORIZED |
roles, currentUserId |
403 FORBIDDEN |
NOT_AUTHORIZED_ON_TASK_COMMENT |
currentUserId, taskCommentId |
403 FORBIDDEN |
NOT_AUTHORIZED_ON_WORKBASKET_WITH_ID |
currentUserId, workbasketId, requiredPermissions |
403 FORBIDDEN |
NOT_AUTHORIZED_ON_WORKBASKET_WITH_KEY_AND_DOMAIN |
currentUserId, workbasketKey, domain, requiredPermissions |
404 NOT_FOUND |
CLASSIFICATION_WITH_ID_NOT_FOUND |
classificationId |
404 NOT_FOUND |
CLASSIFICATION_WITH_KEY_NOT_FOUND |
classificationKey, domain |
404 NOT_FOUND |
TASK_COMMENT_NOT_FOUND |
taskCommentId |
404 NOT_FOUND |
TASK_NOT_FOUND |
taskId |
404 NOT_FOUND |
USER_NOT_FOUND |
userId |
404 NOT_FOUND |
WORKBASKET_WITH_ID_NOT_FOUND |
workbasketId |
404 NOT_FOUND |
WORKBASKET_WITH_KEY_NOT_FOUND |
workbasketKey, domain |
409 CONFLICT |
ATTACHMENT_ALREADY_EXISTS |
attachmentId, taskId |
409 CONFLICT |
CLASSIFICATION_ALREADY_EXISTS |
classificationKey, domain |
409 CONFLICT |
ENTITY_NOT_UP_TO_DATE |
entityId |
409 CONFLICT |
TASK_ALREADY_EXISTS |
externalTaskId |
409 CONFLICT |
USER_ALREADY_EXISTS |
userID |
409 CONFLICT |
WORKBASKET_ACCESS_ITEM_ALREADY_EXISTS |
accessId, workbasketId |
409 CONFLICT |
WORKBASKET_ALREADY_EXISTS |
workbasketKey, domain |
409 CONFLICT |
WORKBASKET_MARKED_FOR_DELETION |
workbasketId |
413 PAYLOAD_TOO_LARGE |
PAYLOAD_TOO_LARGE |
|
423 LOCKED |
CLASSIFICATION_IN_USE |
classificationKey, domain |
423 LOCKED |
WORKBASKET_IN_USE |
workbasketId |
500 INTERNAL_SERVER_ERROR |
CONNECTION_AUTOCOMMIT_FAILED |
|
500 INTERNAL_SERVER_ERROR |
CONNECTION_NOT_SET |
|
500 INTERNAL_SERVER_ERROR |
CRITICAL_SYSTEM_ERROR |
|
500 INTERNAL_SERVER_ERROR |
DATABASE_UNSUPPORTED |
databaseProductName |
500 INTERNAL_SERVER_ERROR |
UNKNOWN_ERROR |
Errors
Message Variables |
Type |
accessId |
String |
attachmentId |
String |
classificationId |
String |
classificationKey |
String |
currentUserId |
String |
customHoliday |
String |
databaseProductName |
String |
domain |
String |
externalTaskId |
String |
historyEventId |
String |
malformedQueryParameters |
MalformedQueryParameter[] |
requiredCallbackStates |
CallbackState[] |
requiredPermissions |
WorkbasketPermission[] |
requiredTaskStates |
TaskState[] |
roles |
TaskanaRole[] |
taskCallbackState |
CallbackState |
taskCommentId |
String |
taskId |
String |
taskState |
TaskState |
workbasketId |
String |
workbasketKey |
String |
Task Resource
Create a new Task
POST /api/v1/tasks
This endpoint creates a persistent Task. Task to the referenced Workbasket without using the task-methods multiple times without using the task-methods.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 718
Host: localhost:8080
{
"priority" : 0,
"manualPriority" : -1,
"classificationSummary" : {
"key" : "L11010",
"priority" : 0
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000004",
"markedForDeletion" : false
},
"primaryObjRef" : {
"company" : "MyCompany1",
"system" : "MySystem1",
"systemInstance" : "MyInstance1",
"type" : "MyType1",
"value" : "00000001"
},
"secondaryObjectReferences" : [ {
"company" : "company",
"system" : "system",
"systemInstance" : "systemInstance",
"type" : "type",
"value" : "value"
} ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : false,
"transferred" : false
}
Example response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2313
{
"taskId" : "TKI:5e99716e-16d0-4341-91f9-32cdd4443daf",
"externalId" : "ETI:a8683ec2-56bd-43bb-a297-a2270a18ded1",
"created" : "2024-05-29T15:28:02.911Z",
"modified" : "2024-05-29T15:28:02.911Z",
"planned" : "2024-05-29T15:28:02.911Z",
"due" : "2024-06-18T15:28:02.910Z",
"name" : "Dynamikänderung",
"creator" : "admin",
"description" : "Dynamikänderung",
"priority" : 1,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000004",
"key" : "L11010",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Dynamikänderung",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P14D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000004",
"key" : "TEAMLEAD-1",
"name" : "PPK Teamlead KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK Teamlead KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "BPI:f16c4fad-5c8f-4133-8917-7ebf565ca6be",
"primaryObjRef" : {
"company" : "MyCompany1",
"system" : "MySystem1",
"systemInstance" : "MyInstance1",
"type" : "MyType1",
"value" : "00000001"
},
"secondaryObjectReferences" : [ {
"id" : "ORI:6edeba0d-d871-4da7-994c-627abda55020",
"taskId" : "TKI:5e99716e-16d0-4341-91f9-32cdd4443daf",
"company" : "company",
"system" : "system",
"systemInstance" : "systemInstance",
"type" : "type",
"value" : "value"
} ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : false,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A5e99716e-16d0-4341-91f9-32cdd4443daf"
}
}
}
Get a single Task
GET /api/v1/tasks/{taskId}
This endpoint retrieves a specific Task. requested Task.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the requested Task. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
GET /api/v1/tasks/TKI:100000000000000000000000000000000000 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2357
{
"taskId" : "TKI:100000000000000000000000000000000000",
"externalId" : "ETI:100000000000000000000000000000000000",
"created" : "2024-05-29T15:27:56.595Z",
"claimed" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"planned" : "2024-05-29T15:27:56.595Z",
"due" : "2024-06-02T15:27:56.595Z",
"name" : "Dynamikänderung",
"creator" : "creator_user_id",
"note" : "Some custom Note",
"description" : "Desc Dynamikänderung",
"priority" : 1,
"manualPriority" : -1,
"state" : "CLAIMED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000004",
"key" : "L11010",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Dynamikänderung",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P14D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000004",
"key" : "TEAMLEAD-1",
"name" : "PPK Teamlead KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK Teamlead KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "BPI21",
"parentBusinessProcessId" : "PBPI21",
"owner" : "user-b-1",
"primaryObjRef" : {
"company" : "MyCompany1",
"system" : "MySystem1",
"systemInstance" : "MyInstance1",
"type" : "MyType1",
"value" : "00000001"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A100000000000000000000000000000000000"
}
}
}
Get a list of all Tasks
GET /api/v1/tasks
This endpoint retrieves a list of existing Tasks. Filters can be applied.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
task-id |
Array[String] |
true |
Filter by task id. This is an exact match. |
task-id-not |
Array[String] |
true |
Filter by what the task id shouldn’t be. This is an exact match. |
external-id |
Array[String] |
true |
Filter by the external id of the Task. This is an exact match. |
external-id-not |
Array[String] |
true |
Filter by what the external id of the Task shouldn’t be. This is an exact match. |
received |
Array[String] |
true |
Filter by a time interval within which the Task was received. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'received-from' or 'received-until'. |
received-from |
String |
true |
Filter since a given received timestamp. The format is ISO-8601. This parameter can’t be used together with 'received'. |
received-until |
String |
true |
Filter until a given received timestamp. The format is ISO-8601. This parameter can’t be used together with 'received'. |
received-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t received. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'received-not-in-from' or 'received-not-in-until'. |
received-from-not |
String |
true |
Filter since a given timestamp where it wasn’t received. The format is ISO-8601. This parameter can’t be used together with 'received-not-in'. |
received-until-not |
String |
true |
Filter until a given timestamp where it wasn’t received. The format is ISO-8601. This parameter can’t be used together with 'received-not-in'. |
created |
Array[String] |
true |
Filter by a time interval within which the Task was created. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'created-from' or 'created-until'. |
created-from |
String |
true |
Filter since a given created timestamp. The format is ISO-8601. This parameter can’t be used together with 'created'. |
created-until |
String |
true |
Filter until a given created timestamp. The format is ISO-8601. This parameter can’t be used together with 'created'. |
created-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t created. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'created-not-in-from' or 'created-not-in-until'. |
created-from-not |
String |
true |
Filter not since a given timestamp where it wasn’t created. The format is ISO-8601. This parameter can’t be used together with 'created-not-in'. |
created-until-not |
String |
true |
Filter not until a given timestamp where it wasn’t created. The format is ISO-8601. This parameter can’t be used together with 'created-not-in'. |
claimed |
Array[String] |
true |
Filter by a time interval within which the Task was claimed. To create an open interval you can just leave it blank. The format is ISO-8601. |
claimed-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t claimed. To create an open interval you can just leave it blank. The format is ISO-8601. |
modified |
Array[String] |
true |
Filter by a time interval within which the Task was modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
modified-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
planned |
Array[String] |
true |
Filter by a time interval within which the Task was planned. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'planned-from' or 'planned-until'. |
planned-from |
String |
true |
Filter since a given planned timestamp. The format is ISO-8601. This parameter can’t be used together with 'planned'. |
planned-until |
String |
true |
Filter until a given planned timestamp. The format is ISO-8601. This parameter can’t be used together with 'planned'. |
planned-not |
Array[String] |
true |
Filter by a time interval within which the Task was planned. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in-from' or 'planned-not-in-until'. |
planned-from-not |
String |
true |
Filter since a given timestamp where it wasn’t planned. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in'. |
planned-until-not |
String |
true |
Filter until a given timestamp where it wasn’t planned. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in'. |
due |
Array[String] |
true |
Filter by a time interval within which the Task was due. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'due-from' or 'due-until'. |
due-from |
String |
true |
Filter since a given due timestamp. The format is ISO-8601. This parameter can’t be used together with 'due'. |
due-until |
String |
true |
Filter until a given due timestamp. The format is ISO-8601. This parameter can’t be used together with 'due'. |
due-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t due. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'due-not-in-from' or 'due-not-in-until'. |
due-from-not |
String |
true |
Filter since a given timestamp where it isn’t due. The format is ISO-8601. This parameter can’t be used together with 'due-not-in'. |
due-until-not |
String |
true |
Filter until a given timestamp where it isn’t due. The format is ISO-8601. This parameter can’t be used together with 'due-not-in'. |
completed |
Array[String] |
true |
Filter by a time interval within which the Task was completed. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'completed-from' or 'completed-until'. |
completed-from |
String |
true |
Filter since a given completed timestamp. The format is ISO-8601. This parameter can’t be used together with 'completed'. |
completed-until |
String |
true |
Filter until a given completed timestamp. The format is ISO-8601. This parameter can’t be used together with 'completed'. |
completed-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t completed. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in-from' or 'completed-not-in-until'. |
completed-from-not |
String |
true |
Filter since a given timestamp where it wasn’t completed. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in'. |
completed-until-not |
String |
true |
Filter until a given timestamp where it wasn’t completed. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in'. |
name |
Array[String] |
true |
Filter by the name of the Task. This is an exact match. |
name-not |
Array[String] |
true |
Filter by what the name of the Task shouldn’t be. This is an exact match. |
name-like |
Array[String] |
true |
Filter by the name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
name-not-like |
Array[String] |
true |
Filter by what the name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
creator |
Array[String] |
true |
Filter by creator of the Task. This is an exact match. |
creator-not |
Array[String] |
true |
Filter by what the creator of the Task shouldn’t be. This is an exact match. |
creator-like |
Array[String] |
true |
Filter by the creator of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
creator-not-like |
Array[String] |
true |
Filter by what the creator of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
note-like |
Array[String] |
true |
Filter by the note of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
note-not-like |
Array[String] |
true |
Filter by what the note of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
description-like |
Array[String] |
true |
Filter by the description of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
description-not-like |
Array[String] |
true |
Filter by what the description of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
priority |
Array[Integer] |
true |
Filter by the priority of the Task. This is an exact match. |
priority-not |
Array[Integer] |
true |
Filter by what the priority of the Task shouldn’t be. This is an exact match. |
priority-within |
Array[Integer] |
true |
Filter by the range of values of the priority field of the Task. |
priority-from |
Integer |
true |
Filter by priority starting from the given value (inclusive). |
priority-until |
Integer |
true |
Filter by priority up to the given value (inclusive). |
priority-not-within |
Array[Integer] |
true |
Filter by exclusing the range of values of the priority field of the Task. |
priority-not-from |
Integer |
true |
Filter by excluding priority starting from the given value (inclusive). |
priority-not-until |
Integer |
true |
Filter by excluding priority up to the given value (inclusive). |
state |
Array[String] |
true |
Filter by the Task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
state-not |
Array[String] |
true |
Filter by what the Task state shouldn’t be. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
classification-id-not |
Array[String] |
true |
Filter by what the classification id of the Task shouldn’t be. This is an exact match. |
classification-key |
Array[String] |
true |
Filter by the classification key of the Task. This is an exact match. |
classification-key-not |
Array[String] |
true |
Filter by the classification key of the Task. This is an exact match. |
classification-key-like |
Array[String] |
true |
Filter by the classification key of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-key-not-like |
Array[String] |
true |
Filter by what the classification key of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-parent-key |
Array[String] |
true |
Filter by the key of the parent Classification of the Classification of the Task. This is an exact match. |
classification-parent-key-not |
Array[String] |
true |
Filter by what the key of the parent Classification of the Classification of the Task shouldn’t be. This is an exact match. |
classification-parent-key-like |
Array[String] |
true |
Filter by the key of the parent Classification of the Classification of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-parent-key-not-like |
Array[String] |
true |
Filter by what the key of the parent Classification of the Classification of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
classification-category-not |
Array[String] |
true |
Filter by what the classification category of the Task shouldn’t be. This is an exact match. |
classification-category-like |
Array[String] |
true |
Filter by the classification category of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-category-not-like |
Array[String] |
true |
Filter by what the classification category of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-name |
Array[String] |
true |
Filter by the classification name of the Task. This is an exact match. |
classification-name-not |
Array[String] |
true |
Filter by what the classification name of the Task shouldn’t be. This is an exact match. |
classification-name-like |
Array[String] |
true |
Filter by the classification name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-name-not-like |
Array[String] |
true |
Filter by what the classification name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
workbasket-id-not |
Array[String] |
true |
Filter by what the workbasket id of the Task shouldn’t be. This is an exact match. |
workbasket-key |
Array[String] |
true |
Filter by workbasket keys of the Task. This parameter can only be used in combination with 'domain'. |
workbasket-key-not |
Array[String] |
true |
Filter by what the workbasket keys of the Task aren’t. This parameter can only be used in combination with 'domain'. |
domain |
String |
true |
Filter by domain of the Task. This is an exact match. |
business-process-id |
Array[String] |
true |
Filter by the business process id of the Task. This is an exact match. |
business-process-id-not |
Array[String] |
true |
Filter by what the business process id of the Task shouldn’t be. This is an exact match. |
business-process-id-like |
Array[String] |
true |
Filter by the business process id of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
business-process-id-not-like |
Array[String] |
true |
Filter by the business process id of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
parent-business-process-id |
Array[String] |
true |
Filter by the parent business process id of the Task. This is an exact match. |
parent-business-process-id-not |
Array[String] |
true |
Filter by what the parent business process id of the Task shouldn’t be. This is an exact match. |
parent-business-process-id-like |
Array[String] |
true |
Filter by the parent business process id of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
parent-business-process-id-not-like |
Array[String] |
true |
Filter by the parent business process id of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner |
Array[String] |
true |
Filter by owner of the Task. This is an exact match. |
owner-not |
Array[String] |
true |
Filter by what the owner of the Task shouldn’t be. This is an exact match. |
owner-like |
Array[String] |
true |
Filter by the owner of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner-not-like |
Array[String] |
true |
Filter by what the owner of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner-is-null |
String |
true |
Filter by tasks that have no owner. The parameter should exactly be "owner-is-null" without being followed by "=…". |
por |
Array[Object] |
true |
Filter by the primary object reference of the Task. This is an exact match. "por" is a parameter of complex type. Its following attributes from por[].id to por[].value can be specified according to the description of complex parameters in the overview, e.g. por={"value":"exampleValue"}. |
por[].value |
String |
true |
|
por[].id |
String |
true |
|
por[].type |
String |
true |
|
por[].system |
String |
true |
|
por[].company |
String |
true |
|
por[].systemInstance |
String |
true |
|
por[].taskId |
String |
true |
|
por-company |
Array[String] |
true |
Filter by the company of the primary object reference of the Task. This is an exact match. |
por-company-not |
Array[String] |
true |
Filter by what the company of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-company-like |
Array[String] |
true |
Filter by the company of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-company-not-like |
Array[String] |
true |
Filter by what the company of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-system |
Array[String] |
true |
Filter by the system of the primary object reference of the Task. This is an exact match. |
por-system-not |
Array[String] |
true |
Filter by what the system of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-system-like |
Array[String] |
true |
Filter by the system of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-system-not-like |
Array[String] |
true |
Filter by what the system of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-instance |
Array[String] |
true |
Filter by the system instance of the primary object reference of the Task. This is an exact match. |
por-instance-not |
Array[String] |
true |
Filter by what the system instance of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-instance-like |
Array[String] |
true |
Filter by the system instance of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-instance-not-like |
Array[String] |
true |
Filter by what the system instance of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-type |
Array[String] |
true |
Filter by the type of the primary object reference of the Task. This is an exact match. |
por-type-not |
Array[String] |
true |
Filter by what the type of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-type-like |
Array[String] |
true |
Filter by the type of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-type-not-like |
Array[String] |
true |
Filter by what the type of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-value |
Array[String] |
true |
Filter by the value of the primary object reference of the Task. This is an exact match. |
por-value-not |
Array[String] |
true |
Filter by what the value of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-value-like |
Array[String] |
true |
Filter by the value of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-value-not-like |
Array[String] |
true |
Filter by what the value of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor |
Array[Object] |
true |
Filter by the primary object reference of the Task. This is an exact match. "sor" is a parameter of complex type. Its following attributes from sor[].id to sor[].value can be specified according to the description of complex parameters in the overview, e.g. sor={"value":"exampleValue"}. |
sor[].value |
String |
true |
|
sor[].id |
String |
true |
|
sor[].type |
String |
true |
|
sor[].system |
String |
true |
|
sor[].company |
String |
true |
|
sor[].systemInstance |
String |
true |
|
sor[].taskId |
String |
true |
|
sor-company |
Array[String] |
true |
Filter by the company of the secondary object reference of the Task. This is an exact match. |
sor-company-like |
Array[String] |
true |
Filter by the company of the secondary object references of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-system |
Array[String] |
true |
Filter by the system of the secondary object reference of the Task. This is an exact match. |
sor-system-like |
Array[String] |
true |
Filter by the system of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-instance |
Array[String] |
true |
Filter by the system instance of the secondary object reference of the Task. This is an exact match. |
sor-instance-like |
Array[String] |
true |
Filter by the system instance of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-type |
Array[String] |
true |
Filter by the type of the secondary object reference of the Task. This is an exact match. |
sor-type-like |
Array[String] |
true |
Filter by the type of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-value |
Array[String] |
true |
Filter by the value of the secondary object reference of the Task. This is an exact match. |
sor-value-like |
Array[String] |
true |
Filter by the value of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
is-read |
Boolean |
true |
Filter by the is read flag of the Task. This is an exact match. |
is-transferred |
Boolean |
true |
Filter by the is transferred flag of the Task. This is an exact match. |
attachment-classification-id |
Array[String] |
true |
Filter by the attachment classification id of the Task. This is an exact match. |
attachment-classification-id-not |
Array[String] |
true |
Filter by what the attachment classification id of the Task shouldn’t be. This is an exact match. |
attachment-classification-key |
Array[String] |
true |
Filter by the attachment classification key of the Task. This is an exact match. |
attachment-classification-key-not |
Array[String] |
true |
Filter by what the attachment classification key of the Task shouldn’t be. This is an exact match. |
attachment-classification-key-like |
Array[String] |
true |
Filter by the attachment classification key of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-key-not-like |
Array[String] |
true |
Filter by what the attachment classification key of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-name |
Array[String] |
true |
Filter by the attachment classification name of the Task. This is an exact match. |
attachment-classification-name-not |
Array[String] |
true |
Filter by what the attachment classification name of the Task shouldn’t be. This is an exact match. |
attachment-classification-name-like |
Array[String] |
true |
Filter by the attachment classification name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-name-not-like |
Array[String] |
true |
Filter by what the attachment classification name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-channel |
Array[String] |
true |
Filter by the attachment channel of the Task. This is an exact match. |
attachment-channel-not |
Array[String] |
true |
Filter by what the attachment channel of the Task shouldn’t be. This is an exact match. |
attachment-channel-like |
Array[String] |
true |
Filter by the attachment channel of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-channel-not-like |
Array[String] |
true |
Filter by what the attachment channel of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-reference |
Array[String] |
true |
Filter by the attachment reference of the Task. This is an exact match. |
attachment-reference-not |
Array[String] |
true |
Filter by what the attachment reference of the Task shouldn’t be. This is an exact match. |
attachment-reference-like |
Array[String] |
true |
Filter by the attachment reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-reference-not-like |
Array[String] |
true |
Filter by what the attachment reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-received |
Array[String] |
true |
Filter by a time interval within which the attachment of the Task was received. To create an open interval you can just leave it blank. The format is ISO-8601. |
attachment-received-not |
Array[String] |
true |
Filter by a time interval within which the attachment of the Task wasn’t received. To create an open interval you can just leave it blank. The format is ISO-8601. |
without-attachment |
Boolean |
true |
In order to filter Tasks that don’t have any Attachments, set 'without-attachment' to 'true'. Any other value for 'without-attachment' is invalid. |
callback-state |
Array[String] |
true |
Filter by the callback state of the Task. This is an exact match. Must be one of [NONE, CALLBACK_PROCESSING_REQUIRED, CLAIMED, CALLBACK_PROCESSING_COMPLETED]. |
callback-state-not |
Array[String] |
true |
Filter by what the callback state of the Task shouldn’t be. This is an exact match. Must be one of [NONE, CALLBACK_PROCESSING_REQUIRED, CLAIMED, CALLBACK_PROCESSING_COMPLETED]. |
wildcard-search-fields |
Array[String] |
true |
Filter by wildcard search field of the Task. This must be used in combination with 'wildcard-search-value'. Must be one of [NAME, DESCRIPTION, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16]. |
wildcard-search-value |
String |
true |
Filter by wildcard search field of the Task. This is an exact match. This must be used in combination with 'wildcard-search-fields'. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-not |
Array[String] |
true |
Exclude values of the field custom1 of the Task. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-like |
Array[String] |
true |
Filter by what the custom1 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-not |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-like |
Array[String] |
true |
Filter by what the custom2 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-not |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-like |
Array[String] |
true |
Filter by what the custom3 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-not |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-like |
Array[String] |
true |
Filter by what the custom4 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-not |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-like |
Array[String] |
true |
Filter by what the custom5 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-not |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-like |
Array[String] |
true |
Filter by what the custom6 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-not |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-like |
Array[String] |
true |
Filter by what the custom7 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-not |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-like |
Array[String] |
true |
Filter by what the custom8 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-not |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-like |
Array[String] |
true |
Filter by what the custom9 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-not |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-like |
Array[String] |
true |
Filter by what the custom10 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-not |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-like |
Array[String] |
true |
Filter by what the custom11 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-not |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-like |
Array[String] |
true |
Filter by what the custom12 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-not |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-like |
Array[String] |
true |
Filter by what the custom13 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-not |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-like |
Array[String] |
true |
Filter by what the custom14 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-not |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-like |
Array[String] |
true |
Filter by what the custom15 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-not |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-like |
Array[String] |
true |
Filter by what the custom16 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-int-1 |
Array[Integer] |
true |
Filter by the value of the field customInt1 of the Task. This is an exact match. |
custom-int-1-not |
Array[Integer] |
true |
Exclude values of the field customInt1 of the Task. |
custom-int-1-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt1 of the Task. |
custom-int-1-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt1 of the Task. |
custom-int-1-from |
Integer |
true |
Filter by lower bound of customInt1. This parameter can’t be used together with 'custom-int-1-within'. |
custom-int-1-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt1 of the Task. |
custom-int-1-to |
Integer |
true |
Filter by upper bound of customInt1. This parameter can’t be used together with 'custom-int-1-within'. |
custom-int-1-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt1 of the Task. |
custom-int-2 |
Array[Integer] |
true |
Filter by the value of the field customInt2 of the Task. This is an exact match. |
custom-int-2-not |
Array[Integer] |
true |
Exclude values of the field customInt2 of the Task. |
custom-int-2-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt2 of the Task. |
custom-int-2-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt2 of the Task. |
custom-int-2-from |
Integer |
true |
Filter by lower bound of customInt2. This parameter can’t be used together with 'custom-int-2-within'. |
custom-int-2-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt2 of the Task. |
custom-int-2-to |
Integer |
true |
Filter by upper bound of customInt2. This parameter can’t be used together with 'custom-int-2-within'. |
custom-int-2-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt2 of the Task. |
custom-int-3 |
Array[Integer] |
true |
Filter by the value of the field customInt3 of the Task. This is an exact match. |
custom-int-3-not |
Array[Integer] |
true |
Exclude values of the field customInt3 of the Task. |
custom-int-3-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt3 of the Task. |
custom-int-3-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt3 of the Task. |
custom-int-3-from |
Integer |
true |
Filter by lower bound of customInt3. This parameter can’t be used together with 'custom-int-3-within'. |
custom-int-3-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt3 of the Task. |
custom-int-3-to |
Integer |
true |
Filter by upper bound of customInt3. This parameter can’t be used together with 'custom-int-3-within'. |
custom-int-3-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt3 of the Task. |
custom-int-4 |
Array[Integer] |
true |
Filter by the value of the field customInt4 of the Task. This is an exact match. |
custom-int-4-not |
Array[Integer] |
true |
Exclude values of the field customInt4 of the Task. |
custom-int-4-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt4 of the Task. |
custom-int-4-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt4 of the Task. |
custom-int-4-from |
Integer |
true |
Filter by lower bound of customInt4. This parameter can’t be used together with 'custom-int-4-within'. |
custom-int-4-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt4 of the Task. |
custom-int-4-to |
Integer |
true |
Filter by upper bound of customInt4. This parameter can’t be used together with 'custom-int-4-within'. |
custom-int-4-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt4 of the Task. |
custom-int-5 |
Array[Integer] |
true |
Filter by the value of the field customInt5 of the Task. This is an exact match. |
custom-int-5-not |
Array[Integer] |
true |
Exclude values of the field customInt5 of the Task. |
custom-int-5-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt5 of the Task. |
custom-int-5-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt5 of the Task. |
custom-int-5-from |
Integer |
true |
Filter by lower bound of customInt5. This parameter can’t be used together with 'custom-int-5-within'. |
custom-int-5-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt5 of the Task. |
custom-int-5-to |
Integer |
true |
Filter by upper bound of customInt5. This parameter can’t be used together with 'custom-int-5-within'. |
custom-int-5-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt5 of the Task. |
custom-int-6 |
Array[Integer] |
true |
Filter by the value of the field customInt6 of the Task. This is an exact match. |
custom-int-6-not |
Array[Integer] |
true |
Exclude values of the field customInt6 of the Task. |
custom-int-6-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt6 of the Task. |
custom-int-6-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt6 of the Task. |
custom-int-6-from |
Integer |
true |
Filter by lower bound of customInt6. This parameter can’t be used together with 'custom-int-6-within'. |
custom-int-6-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt6 of the Task. |
custom-int-6-to |
Integer |
true |
Filter by upper bound of customInt6. This parameter can’t be used together with 'custom-int-6-within'. |
custom-int-6-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt6 of the Task. |
custom-int-7 |
Array[Integer] |
true |
Filter by the value of the field customInt7 of the Task. This is an exact match. |
custom-int-7-not |
Array[Integer] |
true |
Exclude values of the field customInt7 of the Task. |
custom-int-7-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt7 of the Task. |
custom-int-7-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt7 of the Task. |
custom-int-7-from |
Integer |
true |
Filter by lower bound of customInt7. This parameter can’t be used together with 'custom-int-7-within'. |
custom-int-7-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt7 of the Task. |
custom-int-7-to |
Integer |
true |
Filter by upper bound of customInt7. This parameter can’t be used together with 'custom-int-7-within'. |
custom-int-7-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt7 of the Task. |
custom-int-8 |
Array[Integer] |
true |
Filter by the value of the field customInt8 of the Task. This is an exact match. |
custom-int-8-not |
Array[Integer] |
true |
Exclude values of the field customInt8 of the Task. |
custom-int-8-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt8 of the Task. |
custom-int-8-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt8 of the Task. |
custom-int-8-from |
Integer |
true |
Filter by lower bound of customInt8. This parameter can’t be used together with 'custom-int-8-within'. |
custom-int-8-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt8 of the Task. |
custom-int-8-to |
Integer |
true |
Filter by upper bound of customInt8. This parameter can’t be used together with 'custom-int-8-within'. |
custom-int-8-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt8 of the Task. |
group-by |
String |
true |
Must be one of [POR_VALUE]. |
group-by-sor |
String |
true |
|
sort-by |
Array[String] |
true |
Sort the result by a given field. Multiple sort values can be declared. When the primary sort value is the same, the second one will be used. Must be one of [CLASSIFICATION_KEY, CLASSIFICATION_NAME, POR_TYPE, POR_VALUE, POR_COMPANY, POR_SYSTEM, POR_SYSTEM_INSTANCE, STATE, NAME, DUE, PLANNED, RECEIVED, PRIORITY, CREATED, CLAIMED, DOMAIN, TASK_ID, MODIFIED, CREATOR, NOTE, OWNER, OWNER_LONG_NAME, BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, WORKBASKET_KEY, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, WORKBASKET_ID, WORKBASKET_NAME, ATTACHMENT_CLASSIFICATION_KEY, ATTACHMENT_CLASSIFICATION_NAME, ATTACHMENT_CLASSIFICATION_ID, ATTACHMENT_CHANNEL, ATTACHMENT_REFERENCE, ATTACHMENT_RECEIVED, COMPLETED]. |
order |
Array[String] |
true |
The order direction for each sort value. This value requires the use of 'sort-by'. The amount of sort-by and order declarations have to match. Alternatively the value can be omitted. If done so the default sort order (ASCENDING) will be applied to every sort-by value. Must be one of [ASCENDING, DESCENDING]. |
page |
Integer |
true |
Request a specific page. Requires the definition of the 'page-size'. |
page-size |
Integer |
true |
Defines the size for each page. This requires a specific requested 'page'. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
tasks |
Array[Object] |
true |
The embedded tasks. |
tasks[].taskId |
String |
true |
Unique Id. |
tasks[].externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
tasks[].created |
String |
true |
The creation timestamp in the system. |
tasks[].claimed |
String |
true |
The timestamp of the last claim-operation. |
tasks[].completed |
String |
true |
The timestamp of the completion. |
tasks[].modified |
String |
true |
The timestamp of the last modification. |
tasks[].planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
tasks[].received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
tasks[].due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
tasks[].name |
String |
true |
The name of the task. |
tasks[].creator |
String |
true |
The creator of the task. |
tasks[].note |
String |
true |
Note. |
tasks[].description |
String |
true |
The description of the task. |
tasks[].priority |
Integer |
true |
The priority of the task. |
tasks[].manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
tasks[].state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
tasks[].classificationSummary |
Object |
true |
The classification of this task. |
tasks[].classificationSummary.classificationId |
String |
true |
Unique Id. |
tasks[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
tasks[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
tasks[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
tasks[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
tasks[].classificationSummary.name |
String |
true |
The name of the classification. |
tasks[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
tasks[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
tasks[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
tasks[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
tasks[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
tasks[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
tasks[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
tasks[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
tasks[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
tasks[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
tasks[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
tasks[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
tasks[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
tasks[].workbasketSummary |
Object |
true |
The workbasket this task resides in. |
tasks[].workbasketSummary.workbasketId |
String |
true |
Unique Id. |
tasks[].workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
tasks[].workbasketSummary.name |
String |
true |
The name of the workbasket. |
tasks[].workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
tasks[].workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
tasks[].workbasketSummary.description |
String |
true |
The description of the workbasket. |
tasks[].workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
tasks[].workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
tasks[].workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
tasks[].workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
tasks[].workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
tasks[].workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
tasks[].workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
tasks[].workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
tasks[].workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
tasks[].workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
tasks[].workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
tasks[].workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
tasks[].workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
tasks[].workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
tasks[].businessProcessId |
String |
true |
The business process id. |
tasks[].parentBusinessProcessId |
String |
true |
The parent business process id. |
tasks[].owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
tasks[].ownerLongName |
String |
true |
The long name of the task owner. |
tasks[].primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
tasks[].primaryObjRef.id |
String |
true |
Unique ID. |
tasks[].primaryObjRef.taskId |
String |
true |
Task Id. |
tasks[].primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
tasks[].primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
tasks[].primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
tasks[].primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
tasks[].primaryObjRef.value |
String |
true |
The value of the primary object reference. |
tasks[].groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
tasks[].custom1 |
String |
true |
A custom property with name "1". |
tasks[].custom2 |
String |
true |
A custom property with name "2". |
tasks[].custom3 |
String |
true |
A custom property with name "3". |
tasks[].custom4 |
String |
true |
A custom property with name "4". |
tasks[].custom5 |
String |
true |
A custom property with name "5". |
tasks[].custom6 |
String |
true |
A custom property with name "6". |
tasks[].custom7 |
String |
true |
A custom property with name "7". |
tasks[].custom8 |
String |
true |
A custom property with name "8". |
tasks[].custom9 |
String |
true |
A custom property with name "9". |
tasks[].custom10 |
String |
true |
A custom property with name "10". |
tasks[].custom11 |
String |
true |
A custom property with name "11". |
tasks[].custom12 |
String |
true |
A custom property with name "12". |
tasks[].custom13 |
String |
true |
A custom property with name "13". |
tasks[].custom14 |
String |
true |
A custom property with name "14". |
tasks[].custom15 |
String |
true |
A custom property with name "15". |
tasks[].custom16 |
String |
true |
A custom property with name "16". |
tasks[].customInt1 |
Integer |
true |
A custom int property with name "1". |
tasks[].customInt2 |
Integer |
true |
A custom int property with name "2". |
tasks[].customInt3 |
Integer |
true |
A custom int property with name "3". |
tasks[].customInt4 |
Integer |
true |
A custom int property with name "4". |
tasks[].customInt5 |
Integer |
true |
A custom int property with name "5". |
tasks[].customInt6 |
Integer |
true |
A custom int property with name "6". |
tasks[].customInt7 |
Integer |
true |
A custom int property with name "7". |
tasks[].customInt8 |
Integer |
true |
A custom int property with name "8". |
tasks[].secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
tasks[].secondaryObjectReferences[].id |
String |
true |
Unique ID. |
tasks[].secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
tasks[].secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
tasks[].secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
tasks[].secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
tasks[].secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
tasks[].secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
tasks[].attachmentSummaries |
Array[Object] |
true |
The attachment summaries of this task. |
tasks[].attachmentSummaries[].attachmentId |
String |
true |
Unique Id. |
tasks[].attachmentSummaries[].taskId |
String |
true |
The referenced task id. |
tasks[].attachmentSummaries[].created |
String |
true |
The creation timestamp in the system. |
tasks[].attachmentSummaries[].modified |
String |
true |
The timestamp of the last modification. |
tasks[].attachmentSummaries[].received |
String |
true |
The timestamp of the entry date. |
tasks[].attachmentSummaries[].classificationSummary |
Object |
true |
The classification of this attachment. |
tasks[].attachmentSummaries[].classificationSummary.classificationId |
String |
true |
Unique Id. |
tasks[].attachmentSummaries[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
tasks[].attachmentSummaries[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
tasks[].attachmentSummaries[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
tasks[].attachmentSummaries[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
tasks[].attachmentSummaries[].classificationSummary.name |
String |
true |
The name of the classification. |
tasks[].attachmentSummaries[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
tasks[].attachmentSummaries[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
tasks[].attachmentSummaries[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
tasks[].attachmentSummaries[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
tasks[].attachmentSummaries[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
tasks[].attachmentSummaries[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
tasks[].attachmentSummaries[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
tasks[].attachmentSummaries[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
tasks[].attachmentSummaries[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
tasks[].attachmentSummaries[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
tasks[].attachmentSummaries[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
tasks[].attachmentSummaries[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
tasks[].attachmentSummaries[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
tasks[].attachmentSummaries[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
tasks[].attachmentSummaries[].objectReference.id |
String |
true |
Unique ID. |
tasks[].attachmentSummaries[].objectReference.taskId |
String |
true |
Task Id. |
tasks[].attachmentSummaries[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
tasks[].attachmentSummaries[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
tasks[].attachmentSummaries[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
tasks[].attachmentSummaries[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
tasks[].attachmentSummaries[].objectReference.value |
String |
true |
The value of the primary object reference. |
tasks[].attachmentSummaries[].channel |
String |
true |
Determines on which channel this attachment was received. |
tasks[].read |
Boolean |
true |
Indicator if the task has been read. |
tasks[].transferred |
Boolean |
true |
Indicator if the task has been transferred. |
page |
Object |
true |
The page meta data for a paged request. |
page.size |
Integer |
true |
The element size of the page. |
page.totalElements |
Integer |
true |
The total number of elements available. |
page.totalPages |
Integer |
true |
Amount of pages that are available in total. |
page.number |
Integer |
true |
The current page number. |
Example request
GET /api/v1/tasks?por-type=VNR&por-value=22334455&sort-by=NAME HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 8020
{
"tasks" : [ {
"taskId" : "TKI:000000000000000000000000000000000008",
"externalId" : "ETI:000000000000000000000000000000000008",
"created" : "2024-05-23T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"planned" : "2024-05-23T15:27:56.595Z",
"received" : "2024-05-26T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000008",
"parentBusinessProcessId" : "DOC_0000000000000000008",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "22334455"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"attachmentSummaries" : [ {
"attachmentId" : "TAI:000000000000000000000000000000000008",
"taskId" : "TKI:000000000000000000000000000000000008",
"created" : "2018-01-29T15:55:08Z",
"classificationSummary" : {
"classificationId" : "CLI:000000000000000000000000000000000009",
"key" : "L140101",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Zustimmungserklärung",
"parentId" : "",
"parentKey" : "",
"priority" : 9,
"serviceLevel" : "P8D",
"type" : "TASK",
"custom1" : "VNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"objectReference" : {
"company" : "novatec",
"system" : "novasys",
"systemInstance" : "nvinst",
"type" : "typ1",
"value" : "val1"
},
"channel" : "ch1"
} ],
"read" : false,
"transferred" : false
}, {
"taskId" : "TKI:000000000000000000000000000000000009",
"externalId" : "ETI:000000000000000000000000000000000009",
"created" : "2024-05-22T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"planned" : "2024-05-22T15:27:56.595Z",
"received" : "2024-05-26T15:27:56.595Z",
"due" : "2024-05-25T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000009",
"parentBusinessProcessId" : "DOC_0000000000000000009",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "22334455"
},
"custom3" : "rty99",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"attachmentSummaries" : [ ],
"read" : false,
"transferred" : false
}, {
"taskId" : "TKI:000000000000000000000000000000000010",
"externalId" : "ETI:000000000000000000000000000000000010",
"created" : "2024-05-21T15:27:56.595Z",
"modified" : "2024-05-27T15:27:56.595Z",
"planned" : "2024-05-21T15:27:56.595Z",
"received" : "2024-05-26T15:27:56.595Z",
"due" : "2024-05-27T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000010",
"parentBusinessProcessId" : "DOC_0000000000000000010",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "22334455"
},
"custom4" : "99rty",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"attachmentSummaries" : [ ],
"read" : false,
"transferred" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks?por-type=VNR&por-value=22334455&sort-by=NAME"
}
}
}
Update a Task
PUT /api/v1/tasks/{taskId}
This endpoint updates a requested Task. meantime same id. with the same id. Task is not in state READY.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task which should be updated. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
PUT /api/v1/tasks/TKI:000000000000000000000000000000000003 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 2186
Host: localhost:8080
{
"taskId" : "TKI:000000000000000000000000000000000003",
"externalId" : "ETI:000000000000000000000000000000000003",
"created" : "2024-05-27T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"planned" : "2024-05-27T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "new description",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000003",
"parentBusinessProcessId" : "DOC_0000000000000000003",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom1" : "efg",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : false,
"transferred" : false
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2322
{
"taskId" : "TKI:000000000000000000000000000000000003",
"externalId" : "ETI:000000000000000000000000000000000003",
"created" : "2024-05-27T15:27:56.595Z",
"modified" : "2024-05-29T15:28:02.092Z",
"planned" : "2024-05-27T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "new description",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000003",
"parentBusinessProcessId" : "DOC_0000000000000000003",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom1" : "efg",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : false,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000003"
}
}
}
Claim a Task
POST /api/v1/tasks/{taskId}/claim
This endpoint claims a Task if possible. requested Task.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task which should be claimed. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000003/claim HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2386
{
"taskId" : "TKI:000000000000000000000000000000000003",
"externalId" : "ETI:000000000000000000000000000000000003",
"created" : "2024-05-27T15:27:56.595Z",
"claimed" : "2024-05-29T15:28:03.114Z",
"modified" : "2024-05-29T15:28:03.114Z",
"planned" : "2024-05-27T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "new description",
"priority" : 2,
"manualPriority" : -1,
"state" : "CLAIMED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000003",
"parentBusinessProcessId" : "DOC_0000000000000000003",
"owner" : "admin",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom1" : "efg",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000003"
}
}
}
Force claim a Task
POST /api/v1/tasks/{taskId}/claim/force
This endpoint force claims a Task if possible even if it is already claimed by someone else. requested Task.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task which should be force claimed. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000003/claim/force HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2386
{
"taskId" : "TKI:000000000000000000000000000000000003",
"externalId" : "ETI:000000000000000000000000000000000003",
"created" : "2024-05-27T15:27:56.595Z",
"claimed" : "2024-05-29T15:28:02.362Z",
"modified" : "2024-05-29T15:28:02.362Z",
"planned" : "2024-05-27T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "new description",
"priority" : 2,
"manualPriority" : -1,
"state" : "CLAIMED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000003",
"parentBusinessProcessId" : "DOC_0000000000000000003",
"owner" : "admin",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom1" : "efg",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000003"
}
}
}
Select and claim a Task
POST /api/v1/tasks/select-and-claim
This endpoint selects the first Task returned by the Task Query and claims it. Workbasket the Task is in.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
Parameter | Type | Optional | Description |
---|---|---|---|
task-id |
Array[String] |
true |
Filter by task id. This is an exact match. |
task-id-not |
Array[String] |
true |
Filter by what the task id shouldn’t be. This is an exact match. |
external-id |
Array[String] |
true |
Filter by the external id of the Task. This is an exact match. |
external-id-not |
Array[String] |
true |
Filter by what the external id of the Task shouldn’t be. This is an exact match. |
received |
Array[String] |
true |
Filter by a time interval within which the Task was received. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'received-from' or 'received-until'. |
received-from |
String |
true |
Filter since a given received timestamp. The format is ISO-8601. This parameter can’t be used together with 'received'. |
received-until |
String |
true |
Filter until a given received timestamp. The format is ISO-8601. This parameter can’t be used together with 'received'. |
received-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t received. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'received-not-in-from' or 'received-not-in-until'. |
received-from-not |
String |
true |
Filter since a given timestamp where it wasn’t received. The format is ISO-8601. This parameter can’t be used together with 'received-not-in'. |
received-until-not |
String |
true |
Filter until a given timestamp where it wasn’t received. The format is ISO-8601. This parameter can’t be used together with 'received-not-in'. |
created |
Array[String] |
true |
Filter by a time interval within which the Task was created. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'created-from' or 'created-until'. |
created-from |
String |
true |
Filter since a given created timestamp. The format is ISO-8601. This parameter can’t be used together with 'created'. |
created-until |
String |
true |
Filter until a given created timestamp. The format is ISO-8601. This parameter can’t be used together with 'created'. |
created-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t created. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'created-not-in-from' or 'created-not-in-until'. |
created-from-not |
String |
true |
Filter not since a given timestamp where it wasn’t created. The format is ISO-8601. This parameter can’t be used together with 'created-not-in'. |
created-until-not |
String |
true |
Filter not until a given timestamp where it wasn’t created. The format is ISO-8601. This parameter can’t be used together with 'created-not-in'. |
claimed |
Array[String] |
true |
Filter by a time interval within which the Task was claimed. To create an open interval you can just leave it blank. The format is ISO-8601. |
claimed-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t claimed. To create an open interval you can just leave it blank. The format is ISO-8601. |
modified |
Array[String] |
true |
Filter by a time interval within which the Task was modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
modified-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
planned |
Array[String] |
true |
Filter by a time interval within which the Task was planned. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'planned-from' or 'planned-until'. |
planned-from |
String |
true |
Filter since a given planned timestamp. The format is ISO-8601. This parameter can’t be used together with 'planned'. |
planned-until |
String |
true |
Filter until a given planned timestamp. The format is ISO-8601. This parameter can’t be used together with 'planned'. |
planned-not |
Array[String] |
true |
Filter by a time interval within which the Task was planned. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in-from' or 'planned-not-in-until'. |
planned-from-not |
String |
true |
Filter since a given timestamp where it wasn’t planned. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in'. |
planned-until-not |
String |
true |
Filter until a given timestamp where it wasn’t planned. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in'. |
due |
Array[String] |
true |
Filter by a time interval within which the Task was due. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'due-from' or 'due-until'. |
due-from |
String |
true |
Filter since a given due timestamp. The format is ISO-8601. This parameter can’t be used together with 'due'. |
due-until |
String |
true |
Filter until a given due timestamp. The format is ISO-8601. This parameter can’t be used together with 'due'. |
due-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t due. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'due-not-in-from' or 'due-not-in-until'. |
due-from-not |
String |
true |
Filter since a given timestamp where it isn’t due. The format is ISO-8601. This parameter can’t be used together with 'due-not-in'. |
due-until-not |
String |
true |
Filter until a given timestamp where it isn’t due. The format is ISO-8601. This parameter can’t be used together with 'due-not-in'. |
completed |
Array[String] |
true |
Filter by a time interval within which the Task was completed. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'completed-from' or 'completed-until'. |
completed-from |
String |
true |
Filter since a given completed timestamp. The format is ISO-8601. This parameter can’t be used together with 'completed'. |
completed-until |
String |
true |
Filter until a given completed timestamp. The format is ISO-8601. This parameter can’t be used together with 'completed'. |
completed-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t completed. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in-from' or 'completed-not-in-until'. |
completed-from-not |
String |
true |
Filter since a given timestamp where it wasn’t completed. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in'. |
completed-until-not |
String |
true |
Filter until a given timestamp where it wasn’t completed. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in'. |
name |
Array[String] |
true |
Filter by the name of the Task. This is an exact match. |
name-not |
Array[String] |
true |
Filter by what the name of the Task shouldn’t be. This is an exact match. |
name-like |
Array[String] |
true |
Filter by the name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
name-not-like |
Array[String] |
true |
Filter by what the name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
creator |
Array[String] |
true |
Filter by creator of the Task. This is an exact match. |
creator-not |
Array[String] |
true |
Filter by what the creator of the Task shouldn’t be. This is an exact match. |
creator-like |
Array[String] |
true |
Filter by the creator of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
creator-not-like |
Array[String] |
true |
Filter by what the creator of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
note-like |
Array[String] |
true |
Filter by the note of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
note-not-like |
Array[String] |
true |
Filter by what the note of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
description-like |
Array[String] |
true |
Filter by the description of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
description-not-like |
Array[String] |
true |
Filter by what the description of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
priority |
Array[Integer] |
true |
Filter by the priority of the Task. This is an exact match. |
priority-not |
Array[Integer] |
true |
Filter by what the priority of the Task shouldn’t be. This is an exact match. |
priority-within |
Array[Integer] |
true |
Filter by the range of values of the priority field of the Task. |
priority-from |
Integer |
true |
Filter by priority starting from the given value (inclusive). |
priority-until |
Integer |
true |
Filter by priority up to the given value (inclusive). |
priority-not-within |
Array[Integer] |
true |
Filter by exclusing the range of values of the priority field of the Task. |
priority-not-from |
Integer |
true |
Filter by excluding priority starting from the given value (inclusive). |
priority-not-until |
Integer |
true |
Filter by excluding priority up to the given value (inclusive). |
state |
Array[String] |
true |
Filter by the Task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
state-not |
Array[String] |
true |
Filter by what the Task state shouldn’t be. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
classification-id-not |
Array[String] |
true |
Filter by what the classification id of the Task shouldn’t be. This is an exact match. |
classification-key |
Array[String] |
true |
Filter by the classification key of the Task. This is an exact match. |
classification-key-not |
Array[String] |
true |
Filter by the classification key of the Task. This is an exact match. |
classification-key-like |
Array[String] |
true |
Filter by the classification key of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-key-not-like |
Array[String] |
true |
Filter by what the classification key of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-parent-key |
Array[String] |
true |
Filter by the key of the parent Classification of the Classification of the Task. This is an exact match. |
classification-parent-key-not |
Array[String] |
true |
Filter by what the key of the parent Classification of the Classification of the Task shouldn’t be. This is an exact match. |
classification-parent-key-like |
Array[String] |
true |
Filter by the key of the parent Classification of the Classification of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-parent-key-not-like |
Array[String] |
true |
Filter by what the key of the parent Classification of the Classification of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
classification-category-not |
Array[String] |
true |
Filter by what the classification category of the Task shouldn’t be. This is an exact match. |
classification-category-like |
Array[String] |
true |
Filter by the classification category of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-category-not-like |
Array[String] |
true |
Filter by what the classification category of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-name |
Array[String] |
true |
Filter by the classification name of the Task. This is an exact match. |
classification-name-not |
Array[String] |
true |
Filter by what the classification name of the Task shouldn’t be. This is an exact match. |
classification-name-like |
Array[String] |
true |
Filter by the classification name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-name-not-like |
Array[String] |
true |
Filter by what the classification name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
workbasket-id-not |
Array[String] |
true |
Filter by what the workbasket id of the Task shouldn’t be. This is an exact match. |
workbasket-key |
Array[String] |
true |
Filter by workbasket keys of the Task. This parameter can only be used in combination with 'domain'. |
workbasket-key-not |
Array[String] |
true |
Filter by what the workbasket keys of the Task aren’t. This parameter can only be used in combination with 'domain'. |
domain |
String |
true |
Filter by domain of the Task. This is an exact match. |
business-process-id |
Array[String] |
true |
Filter by the business process id of the Task. This is an exact match. |
business-process-id-not |
Array[String] |
true |
Filter by what the business process id of the Task shouldn’t be. This is an exact match. |
business-process-id-like |
Array[String] |
true |
Filter by the business process id of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
business-process-id-not-like |
Array[String] |
true |
Filter by the business process id of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
parent-business-process-id |
Array[String] |
true |
Filter by the parent business process id of the Task. This is an exact match. |
parent-business-process-id-not |
Array[String] |
true |
Filter by what the parent business process id of the Task shouldn’t be. This is an exact match. |
parent-business-process-id-like |
Array[String] |
true |
Filter by the parent business process id of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
parent-business-process-id-not-like |
Array[String] |
true |
Filter by the parent business process id of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner |
Array[String] |
true |
Filter by owner of the Task. This is an exact match. |
owner-not |
Array[String] |
true |
Filter by what the owner of the Task shouldn’t be. This is an exact match. |
owner-like |
Array[String] |
true |
Filter by the owner of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner-not-like |
Array[String] |
true |
Filter by what the owner of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner-is-null |
String |
true |
Filter by tasks that have no owner. The parameter should exactly be "owner-is-null" without being followed by "=…". |
por |
Array[Object] |
true |
Filter by the primary object reference of the Task. This is an exact match. "por" is a parameter of complex type. Its following attributes from por[].id to por[].value can be specified according to the description of complex parameters in the overview, e.g. por={"value":"exampleValue"}. |
por[].value |
String |
true |
|
por[].id |
String |
true |
|
por[].type |
String |
true |
|
por[].system |
String |
true |
|
por[].company |
String |
true |
|
por[].systemInstance |
String |
true |
|
por[].taskId |
String |
true |
|
por-company |
Array[String] |
true |
Filter by the company of the primary object reference of the Task. This is an exact match. |
por-company-not |
Array[String] |
true |
Filter by what the company of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-company-like |
Array[String] |
true |
Filter by the company of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-company-not-like |
Array[String] |
true |
Filter by what the company of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-system |
Array[String] |
true |
Filter by the system of the primary object reference of the Task. This is an exact match. |
por-system-not |
Array[String] |
true |
Filter by what the system of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-system-like |
Array[String] |
true |
Filter by the system of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-system-not-like |
Array[String] |
true |
Filter by what the system of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-instance |
Array[String] |
true |
Filter by the system instance of the primary object reference of the Task. This is an exact match. |
por-instance-not |
Array[String] |
true |
Filter by what the system instance of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-instance-like |
Array[String] |
true |
Filter by the system instance of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-instance-not-like |
Array[String] |
true |
Filter by what the system instance of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-type |
Array[String] |
true |
Filter by the type of the primary object reference of the Task. This is an exact match. |
por-type-not |
Array[String] |
true |
Filter by what the type of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-type-like |
Array[String] |
true |
Filter by the type of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-type-not-like |
Array[String] |
true |
Filter by what the type of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-value |
Array[String] |
true |
Filter by the value of the primary object reference of the Task. This is an exact match. |
por-value-not |
Array[String] |
true |
Filter by what the value of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-value-like |
Array[String] |
true |
Filter by the value of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-value-not-like |
Array[String] |
true |
Filter by what the value of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor |
Array[Object] |
true |
Filter by the primary object reference of the Task. This is an exact match. "sor" is a parameter of complex type. Its following attributes from sor[].id to sor[].value can be specified according to the description of complex parameters in the overview, e.g. sor={"value":"exampleValue"}. |
sor[].value |
String |
true |
|
sor[].id |
String |
true |
|
sor[].type |
String |
true |
|
sor[].system |
String |
true |
|
sor[].company |
String |
true |
|
sor[].systemInstance |
String |
true |
|
sor[].taskId |
String |
true |
|
sor-company |
Array[String] |
true |
Filter by the company of the secondary object reference of the Task. This is an exact match. |
sor-company-like |
Array[String] |
true |
Filter by the company of the secondary object references of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-system |
Array[String] |
true |
Filter by the system of the secondary object reference of the Task. This is an exact match. |
sor-system-like |
Array[String] |
true |
Filter by the system of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-instance |
Array[String] |
true |
Filter by the system instance of the secondary object reference of the Task. This is an exact match. |
sor-instance-like |
Array[String] |
true |
Filter by the system instance of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-type |
Array[String] |
true |
Filter by the type of the secondary object reference of the Task. This is an exact match. |
sor-type-like |
Array[String] |
true |
Filter by the type of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-value |
Array[String] |
true |
Filter by the value of the secondary object reference of the Task. This is an exact match. |
sor-value-like |
Array[String] |
true |
Filter by the value of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
is-read |
Boolean |
true |
Filter by the is read flag of the Task. This is an exact match. |
is-transferred |
Boolean |
true |
Filter by the is transferred flag of the Task. This is an exact match. |
attachment-classification-id |
Array[String] |
true |
Filter by the attachment classification id of the Task. This is an exact match. |
attachment-classification-id-not |
Array[String] |
true |
Filter by what the attachment classification id of the Task shouldn’t be. This is an exact match. |
attachment-classification-key |
Array[String] |
true |
Filter by the attachment classification key of the Task. This is an exact match. |
attachment-classification-key-not |
Array[String] |
true |
Filter by what the attachment classification key of the Task shouldn’t be. This is an exact match. |
attachment-classification-key-like |
Array[String] |
true |
Filter by the attachment classification key of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-key-not-like |
Array[String] |
true |
Filter by what the attachment classification key of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-name |
Array[String] |
true |
Filter by the attachment classification name of the Task. This is an exact match. |
attachment-classification-name-not |
Array[String] |
true |
Filter by what the attachment classification name of the Task shouldn’t be. This is an exact match. |
attachment-classification-name-like |
Array[String] |
true |
Filter by the attachment classification name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-name-not-like |
Array[String] |
true |
Filter by what the attachment classification name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-channel |
Array[String] |
true |
Filter by the attachment channel of the Task. This is an exact match. |
attachment-channel-not |
Array[String] |
true |
Filter by what the attachment channel of the Task shouldn’t be. This is an exact match. |
attachment-channel-like |
Array[String] |
true |
Filter by the attachment channel of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-channel-not-like |
Array[String] |
true |
Filter by what the attachment channel of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-reference |
Array[String] |
true |
Filter by the attachment reference of the Task. This is an exact match. |
attachment-reference-not |
Array[String] |
true |
Filter by what the attachment reference of the Task shouldn’t be. This is an exact match. |
attachment-reference-like |
Array[String] |
true |
Filter by the attachment reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-reference-not-like |
Array[String] |
true |
Filter by what the attachment reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-received |
Array[String] |
true |
Filter by a time interval within which the attachment of the Task was received. To create an open interval you can just leave it blank. The format is ISO-8601. |
attachment-received-not |
Array[String] |
true |
Filter by a time interval within which the attachment of the Task wasn’t received. To create an open interval you can just leave it blank. The format is ISO-8601. |
without-attachment |
Boolean |
true |
In order to filter Tasks that don’t have any Attachments, set 'without-attachment' to 'true'. Any other value for 'without-attachment' is invalid. |
callback-state |
Array[String] |
true |
Filter by the callback state of the Task. This is an exact match. Must be one of [NONE, CALLBACK_PROCESSING_REQUIRED, CLAIMED, CALLBACK_PROCESSING_COMPLETED]. |
callback-state-not |
Array[String] |
true |
Filter by what the callback state of the Task shouldn’t be. This is an exact match. Must be one of [NONE, CALLBACK_PROCESSING_REQUIRED, CLAIMED, CALLBACK_PROCESSING_COMPLETED]. |
wildcard-search-fields |
Array[String] |
true |
Filter by wildcard search field of the Task. This must be used in combination with 'wildcard-search-value'. Must be one of [NAME, DESCRIPTION, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16]. |
wildcard-search-value |
String |
true |
Filter by wildcard search field of the Task. This is an exact match. This must be used in combination with 'wildcard-search-fields'. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-not |
Array[String] |
true |
Exclude values of the field custom1 of the Task. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-like |
Array[String] |
true |
Filter by what the custom1 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-not |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-like |
Array[String] |
true |
Filter by what the custom2 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-not |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-like |
Array[String] |
true |
Filter by what the custom3 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-not |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-like |
Array[String] |
true |
Filter by what the custom4 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-not |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-like |
Array[String] |
true |
Filter by what the custom5 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-not |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-like |
Array[String] |
true |
Filter by what the custom6 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-not |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-like |
Array[String] |
true |
Filter by what the custom7 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-not |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-like |
Array[String] |
true |
Filter by what the custom8 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-not |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-like |
Array[String] |
true |
Filter by what the custom9 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-not |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-like |
Array[String] |
true |
Filter by what the custom10 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-not |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-like |
Array[String] |
true |
Filter by what the custom11 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-not |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-like |
Array[String] |
true |
Filter by what the custom12 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-not |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-like |
Array[String] |
true |
Filter by what the custom13 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-not |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-like |
Array[String] |
true |
Filter by what the custom14 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-not |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-like |
Array[String] |
true |
Filter by what the custom15 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-not |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-like |
Array[String] |
true |
Filter by what the custom16 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-int-1 |
Array[Integer] |
true |
Filter by the value of the field customInt1 of the Task. This is an exact match. |
custom-int-1-not |
Array[Integer] |
true |
Exclude values of the field customInt1 of the Task. |
custom-int-1-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt1 of the Task. |
custom-int-1-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt1 of the Task. |
custom-int-1-from |
Integer |
true |
Filter by lower bound of customInt1. This parameter can’t be used together with 'custom-int-1-within'. |
custom-int-1-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt1 of the Task. |
custom-int-1-to |
Integer |
true |
Filter by upper bound of customInt1. This parameter can’t be used together with 'custom-int-1-within'. |
custom-int-1-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt1 of the Task. |
custom-int-2 |
Array[Integer] |
true |
Filter by the value of the field customInt2 of the Task. This is an exact match. |
custom-int-2-not |
Array[Integer] |
true |
Exclude values of the field customInt2 of the Task. |
custom-int-2-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt2 of the Task. |
custom-int-2-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt2 of the Task. |
custom-int-2-from |
Integer |
true |
Filter by lower bound of customInt2. This parameter can’t be used together with 'custom-int-2-within'. |
custom-int-2-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt2 of the Task. |
custom-int-2-to |
Integer |
true |
Filter by upper bound of customInt2. This parameter can’t be used together with 'custom-int-2-within'. |
custom-int-2-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt2 of the Task. |
custom-int-3 |
Array[Integer] |
true |
Filter by the value of the field customInt3 of the Task. This is an exact match. |
custom-int-3-not |
Array[Integer] |
true |
Exclude values of the field customInt3 of the Task. |
custom-int-3-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt3 of the Task. |
custom-int-3-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt3 of the Task. |
custom-int-3-from |
Integer |
true |
Filter by lower bound of customInt3. This parameter can’t be used together with 'custom-int-3-within'. |
custom-int-3-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt3 of the Task. |
custom-int-3-to |
Integer |
true |
Filter by upper bound of customInt3. This parameter can’t be used together with 'custom-int-3-within'. |
custom-int-3-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt3 of the Task. |
custom-int-4 |
Array[Integer] |
true |
Filter by the value of the field customInt4 of the Task. This is an exact match. |
custom-int-4-not |
Array[Integer] |
true |
Exclude values of the field customInt4 of the Task. |
custom-int-4-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt4 of the Task. |
custom-int-4-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt4 of the Task. |
custom-int-4-from |
Integer |
true |
Filter by lower bound of customInt4. This parameter can’t be used together with 'custom-int-4-within'. |
custom-int-4-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt4 of the Task. |
custom-int-4-to |
Integer |
true |
Filter by upper bound of customInt4. This parameter can’t be used together with 'custom-int-4-within'. |
custom-int-4-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt4 of the Task. |
custom-int-5 |
Array[Integer] |
true |
Filter by the value of the field customInt5 of the Task. This is an exact match. |
custom-int-5-not |
Array[Integer] |
true |
Exclude values of the field customInt5 of the Task. |
custom-int-5-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt5 of the Task. |
custom-int-5-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt5 of the Task. |
custom-int-5-from |
Integer |
true |
Filter by lower bound of customInt5. This parameter can’t be used together with 'custom-int-5-within'. |
custom-int-5-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt5 of the Task. |
custom-int-5-to |
Integer |
true |
Filter by upper bound of customInt5. This parameter can’t be used together with 'custom-int-5-within'. |
custom-int-5-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt5 of the Task. |
custom-int-6 |
Array[Integer] |
true |
Filter by the value of the field customInt6 of the Task. This is an exact match. |
custom-int-6-not |
Array[Integer] |
true |
Exclude values of the field customInt6 of the Task. |
custom-int-6-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt6 of the Task. |
custom-int-6-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt6 of the Task. |
custom-int-6-from |
Integer |
true |
Filter by lower bound of customInt6. This parameter can’t be used together with 'custom-int-6-within'. |
custom-int-6-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt6 of the Task. |
custom-int-6-to |
Integer |
true |
Filter by upper bound of customInt6. This parameter can’t be used together with 'custom-int-6-within'. |
custom-int-6-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt6 of the Task. |
custom-int-7 |
Array[Integer] |
true |
Filter by the value of the field customInt7 of the Task. This is an exact match. |
custom-int-7-not |
Array[Integer] |
true |
Exclude values of the field customInt7 of the Task. |
custom-int-7-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt7 of the Task. |
custom-int-7-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt7 of the Task. |
custom-int-7-from |
Integer |
true |
Filter by lower bound of customInt7. This parameter can’t be used together with 'custom-int-7-within'. |
custom-int-7-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt7 of the Task. |
custom-int-7-to |
Integer |
true |
Filter by upper bound of customInt7. This parameter can’t be used together with 'custom-int-7-within'. |
custom-int-7-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt7 of the Task. |
custom-int-8 |
Array[Integer] |
true |
Filter by the value of the field customInt8 of the Task. This is an exact match. |
custom-int-8-not |
Array[Integer] |
true |
Exclude values of the field customInt8 of the Task. |
custom-int-8-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt8 of the Task. |
custom-int-8-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt8 of the Task. |
custom-int-8-from |
Integer |
true |
Filter by lower bound of customInt8. This parameter can’t be used together with 'custom-int-8-within'. |
custom-int-8-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt8 of the Task. |
custom-int-8-to |
Integer |
true |
Filter by upper bound of customInt8. This parameter can’t be used together with 'custom-int-8-within'. |
custom-int-8-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt8 of the Task. |
sort-by |
Array[String] |
true |
Sort the result by a given field. Multiple sort values can be declared. When the primary sort value is the same, the second one will be used. Must be one of [CLASSIFICATION_KEY, CLASSIFICATION_NAME, POR_TYPE, POR_VALUE, POR_COMPANY, POR_SYSTEM, POR_SYSTEM_INSTANCE, STATE, NAME, DUE, PLANNED, RECEIVED, PRIORITY, CREATED, CLAIMED, DOMAIN, TASK_ID, MODIFIED, CREATOR, NOTE, OWNER, OWNER_LONG_NAME, BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, WORKBASKET_KEY, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, WORKBASKET_ID, WORKBASKET_NAME, ATTACHMENT_CLASSIFICATION_KEY, ATTACHMENT_CLASSIFICATION_NAME, ATTACHMENT_CLASSIFICATION_ID, ATTACHMENT_CHANNEL, ATTACHMENT_REFERENCE, ATTACHMENT_RECEIVED, COMPLETED]. |
order |
Array[String] |
true |
The order direction for each sort value. This value requires the use of 'sort-by'. The amount of sort-by and order declarations have to match. Alternatively the value can be omitted. If done so the default sort order (ASCENDING) will be applied to every sort-by value. Must be one of [ASCENDING, DESCENDING]. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/select-and-claim?custom14=abc HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2418
{
"taskId" : "TKI:000000000000000000000000000000000004",
"externalId" : "ETI:000000000000000000000000000000000004",
"created" : "2024-05-26T15:27:56.595Z",
"claimed" : "2024-05-29T15:28:03.203Z",
"modified" : "2024-05-29T15:28:03.203Z",
"planned" : "2024-05-26T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "CLAIMED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000004",
"parentBusinessProcessId" : "DOC_0000000000000000004",
"owner" : "admin",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom2" : "ade",
"custom6" : "074",
"custom7" : "",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000004"
}
}
}
Cancel a claimed Task
DELETE /api/v1/tasks/{taskId}/claim
This endpoint cancels the claim of an existing Task if it was claimed by the current user before. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the requested Task. |
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
keepOwner |
Boolean |
true |
Flag whether or not to keep the owner despite the cancel claim. Default value: 'false'. |
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
DELETE /api/v1/tasks/TKI:000000000000000000000000000000000002/claim HTTP/1.1
Authorization: Basic dXNlci0xLTE6dXNlci0xLTE=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 5986
{
"taskId" : "TKI:000000000000000000000000000000000002",
"externalId" : "ETI:000000000000000000000000000000000002",
"created" : "2024-05-27T15:27:56.595Z",
"modified" : "2024-05-29T15:28:03.562Z",
"planned" : "2024-05-27T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Task02",
"creator" : "creator_user_id",
"note" : "Some custom Note",
"description" : "Lorem ipsum was n Quatsch t. Aber stimmt.",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000016",
"key" : "T2000",
"applicationEntryPoint" : "z",
"category" : "MANUAL",
"domain" : "DOMAIN_A",
"name" : "T-Vertragstermin",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P1D",
"type" : "TASK",
"custom1" : "VNR,KOLVNR,RVNR",
"custom2" : "CUSTOM2",
"custom3" : "Custom3",
"custom4" : "custom4",
"custom5" : "custom5",
"custom6" : "custom6",
"custom7" : "custom7",
"custom8" : "custom8"
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000006",
"key" : "USER-1-1",
"name" : "PPK User 1 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 1 KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "custom4z",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "BPI21",
"parentBusinessProcessId" : "PBPI21",
"primaryObjRef" : {
"company" : "MyCompany1",
"system" : "MySystem1",
"systemInstance" : "MyInstance1",
"type" : "MyType1",
"value" : "MyValue1"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ {
"id" : "ID4",
"taskId" : "TKI:000000000000000000000000000000000002",
"company" : "Company1",
"system" : "System4",
"systemInstance" : "Instance4",
"type" : "Type2",
"value" : "Value2"
} ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ {
"attachmentId" : "TAI:000000000000000000000000000000000003",
"taskId" : "TKI:000000000000000000000000000000000002",
"created" : "2018-01-29T15:55:03Z",
"classificationSummary" : {
"classificationId" : "CLI:000000000000000000000000000000000004",
"key" : "L11010",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Dynamikänderung",
"parentId" : "",
"parentKey" : "",
"priority" : 7,
"serviceLevel" : "P4D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"objectReference" : {
"company" : "novatec",
"system" : "novasys",
"systemInstance" : "nvinst",
"type" : "typ1",
"value" : "val1"
},
"channel" : "ch1",
"customAttributes" : { },
"_links" : {
"self" : {
"href" : "http://localhost:8080/TAI:000000000000000000000000000000000003"
}
}
}, {
"attachmentId" : "TAI:000000000000000000000000000000000004",
"taskId" : "TKI:000000000000000000000000000000000002",
"created" : "2018-01-29T15:55:04Z",
"classificationSummary" : {
"classificationId" : "CLI:000000000000000000000000000000000005",
"key" : "L110102",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Dynamik-Ablehnung",
"parentId" : "CLI:000000000000000000000000000000000004",
"parentKey" : "L11010",
"priority" : 5,
"serviceLevel" : "P5D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"objectReference" : {
"company" : "novatec",
"system" : "novasys",
"systemInstance" : "nvinst",
"type" : "typ1",
"value" : "val1"
},
"channel" : "ch1",
"customAttributes" : { },
"_links" : {
"self" : {
"href" : "http://localhost:8080/TAI:000000000000000000000000000000000004"
}
}
}, {
"attachmentId" : "TAI:000000000000000000000000000000000005",
"taskId" : "TKI:000000000000000000000000000000000002",
"created" : "2018-01-29T15:55:05Z",
"classificationSummary" : {
"classificationId" : "CLI:000000000000000000000000000000000006",
"key" : "L110105",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Dynamik-Ausschluss",
"parentId" : "CLI:000000000000000000000000000000000004",
"parentKey" : "L11010",
"priority" : 5,
"serviceLevel" : "P5D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"objectReference" : {
"company" : "novatec",
"system" : "novasys",
"systemInstance" : "nvinst",
"type" : "typ1",
"value" : "val1"
},
"channel" : "ch1",
"customAttributes" : { },
"_links" : {
"self" : {
"href" : "http://localhost:8080/TAI:000000000000000000000000000000000005"
}
}
} ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000002"
}
}
}
Force cancel a claimed Task
DELETE /api/v1/tasks/{taskId}/claim/force
This endpoint force cancels the claim of an existing Task. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the requested Task. |
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
keepOwner |
Boolean |
true |
Flag whether or not to keep the owner despite the cancel claim. Default value: 'false'. |
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
DELETE /api/v1/tasks/TKI:000000000000000000000000000000000035/claim/force HTTP/1.1
Authorization: Basic dXNlci0xLTI6dXNlci0xLTI=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2297
{
"taskId" : "TKI:000000000000000000000000000000000035",
"externalId" : "ETI:000000000000000000000000000000000035",
"created" : "2024-05-28T15:27:56.595Z",
"modified" : "2024-05-29T15:28:02.306Z",
"planned" : "2024-05-28T15:27:56.595Z",
"due" : "2024-05-28T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000035",
"parentBusinessProcessId" : "DOC_0000000000000000035",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "98765432"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000035"
}
}
}
Request a review on a Task
POST /api/v1/tasks/{taskId}/request-review
This endpoint request a review on the specified Task. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
TaskId the id of the relevant Task. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000032/request-review HTTP/1.1
Authorization: Basic dXNlci0xLTI6dXNlci0xLTI=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2404
{
"taskId" : "TKI:000000000000000000000000000000000032",
"externalId" : "ETI:000000000000000000000000000000000032",
"created" : "2024-05-28T15:27:56.595Z",
"claimed" : "2024-05-28T15:27:56.595Z",
"modified" : "2024-05-29T15:28:03.508Z",
"planned" : "2024-05-28T15:27:56.595Z",
"due" : "2024-05-30T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY_FOR_REVIEW",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000032",
"parentBusinessProcessId" : "DOC_0000000000000000032",
"ownerLongName" : "Eifrig, Elena - (user-1-2)",
"primaryObjRef" : {
"company" : "CDEF00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "98765432"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000032"
}
}
}
Force request a review on a Task
POST /api/v1/tasks/{taskId}/request-review/force
This endpoint force request a review on the specified Task. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
TaskId the id of the relevant Task. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000101/request-review/force HTTP/1.1
Authorization: Basic dXNlci0xLTI6dXNlci0xLTI=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2420
{
"taskId" : "TKI:000000000000000000000000000000000101",
"externalId" : "ETI:000000000000000000000000000000000101",
"created" : "2024-05-28T15:27:56.595Z",
"claimed" : "2024-05-28T15:27:56.595Z",
"modified" : "2024-05-29T15:28:03.062Z",
"planned" : "2024-05-28T15:27:56.595Z",
"due" : "2024-05-31T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY_FOR_REVIEW",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000101",
"parentBusinessProcessId" : "DOC_0000000000000000101",
"ownerLongName" : "Eifrig, Elena - (user-1-2)",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "98765432"
},
"custom5" : "el",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000101"
}
}
}
Request changes on a Task
POST /api/v1/tasks/{taskId}/request-changes
This endpoint request changes on the specified Task. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The id of the relevant Task. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000136/request-changes HTTP/1.1
Authorization: Basic dXNlci0xLTE6dXNlci0xLTE=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2391
{
"taskId" : "TKI:000000000000000000000000000000000136",
"externalId" : "ETI:000000000000000000000000000000000136",
"created" : "2024-05-28T15:27:56.595Z",
"claimed" : "2024-05-28T15:27:56.595Z",
"modified" : "2024-05-29T15:28:02.240Z",
"planned" : "2024-05-28T15:27:56.595Z",
"due" : "2024-05-28T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000035",
"parentBusinessProcessId" : "DOC_0000000000000000035",
"ownerLongName" : "Mustermann, Max - (user-1-1)",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "98765432"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000136"
}
}
}
Force request changes on a Task
POST /api/v1/tasks/{taskId}/request-changes/force
This endpoint force requests changes on a Task. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task on which a review should be requested. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000100/request-changes/force HTTP/1.1
Authorization: Basic dXNlci0xLTE6dXNlci0xLTE=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2389
{
"taskId" : "TKI:000000000000000000000000000000000100",
"externalId" : "ETI:000000000000000000000000000000000100",
"created" : "2024-05-28T15:27:56.595Z",
"claimed" : "2024-05-28T15:27:56.595Z",
"modified" : "2024-05-29T15:28:01.977Z",
"planned" : "2024-05-28T15:27:56.595Z",
"due" : "2024-05-28T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000100",
"parentBusinessProcessId" : "DOC_0000000000000000100",
"ownerLongName" : "Eifrig, Elena - (user-1-2)",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "98765432"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000100"
}
}
}
Complete a Task
POST /api/v1/tasks/{taskId}/complete
This endpoint completes a Task. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
Id of the requested Task to complete. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000003/complete HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2432
{
"taskId" : "TKI:000000000000000000000000000000000003",
"externalId" : "ETI:000000000000000000000000000000000003",
"created" : "2024-05-27T15:27:56.595Z",
"claimed" : "2024-05-29T15:28:03.114Z",
"completed" : "2024-05-29T15:28:03.353Z",
"modified" : "2024-05-29T15:28:03.353Z",
"planned" : "2024-05-27T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "new description",
"priority" : 2,
"manualPriority" : -1,
"state" : "COMPLETED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000003",
"parentBusinessProcessId" : "DOC_0000000000000000003",
"owner" : "admin",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom1" : "efg",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000003"
}
}
}
Force complete a Task
POST /api/v1/tasks/{taskId}/complete/force
This endpoint force completes a Task. CANCELED Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
Id of the requested Task to force complete. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000003/complete/force HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2432
{
"taskId" : "TKI:000000000000000000000000000000000003",
"externalId" : "ETI:000000000000000000000000000000000003",
"created" : "2024-05-27T15:27:56.595Z",
"claimed" : "2024-05-29T15:28:03.114Z",
"completed" : "2024-05-29T15:28:03.353Z",
"modified" : "2024-05-29T15:28:03.353Z",
"planned" : "2024-05-27T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "new description",
"priority" : 2,
"manualPriority" : -1,
"state" : "COMPLETED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000003",
"parentBusinessProcessId" : "DOC_0000000000000000003",
"owner" : "admin",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom1" : "efg",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000003"
}
}
}
Cancel a Task
POST /api/v1/tasks/{taskId}/cancel
This endpoint cancels a Task. Cancellation marks a Task as obsolete. The actual work the Task was referring to is no longer required Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
Id of the requested Task to cancel. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000026/cancel HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2467
{
"taskId" : "TKI:000000000000000000000000000000000026",
"externalId" : "ETI:000000000000000000000000000000000026",
"created" : "2024-05-29T15:27:56.595Z",
"claimed" : "2024-05-29T15:27:56.595Z",
"completed" : "2024-05-29T15:28:03.457Z",
"modified" : "2024-05-29T15:28:03.457Z",
"planned" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "CANCELLED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000026",
"parentBusinessProcessId" : "DOC_0000000000000000026",
"owner" : "user-1-1",
"ownerLongName" : "Mustermann, Max - (user-1-1)",
"primaryObjRef" : {
"company" : "bcde00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "98765432"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000026"
}
}
}
Terminate a Task
POST /api/v1/tasks/{taskId}/terminate
This endpoint terminates a Task. Termination is an administrative action to complete a Task.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
Id of the requested Task to terminate. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000000/terminate HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 5650
{
"taskId" : "TKI:000000000000000000000000000000000000",
"externalId" : "ETI:000000000000000000000000000000000000",
"created" : "2024-05-28T15:27:56.595Z",
"claimed" : "2024-05-29T15:27:56.595Z",
"completed" : "2024-05-29T15:28:03.001Z",
"modified" : "2024-05-29T15:28:03.001Z",
"planned" : "2024-05-28T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Task99",
"creator" : "creator_user_id",
"note" : "Some custom Note",
"description" : "Lorem ipsum was n Quatsch dolor sit amet.",
"priority" : 1,
"manualPriority" : -1,
"state" : "TERMINATED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000016",
"key" : "T2000",
"applicationEntryPoint" : "z",
"category" : "MANUAL",
"domain" : "DOMAIN_A",
"name" : "T-Vertragstermin",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P1D",
"type" : "TASK",
"custom1" : "VNR,KOLVNR,RVNR",
"custom2" : "CUSTOM2",
"custom3" : "Custom3",
"custom4" : "custom4",
"custom5" : "custom5",
"custom6" : "custom6",
"custom7" : "custom7",
"custom8" : "custom8"
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000006",
"key" : "USER-1-1",
"name" : "PPK User 1 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 1 KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "custom4z",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "BPI21",
"parentBusinessProcessId" : "PBPI21",
"owner" : "user-1-1",
"ownerLongName" : "Mustermann, Max - (user-1-1)",
"primaryObjRef" : {
"company" : "MyCompany1",
"system" : "MySystem1",
"systemInstance" : "MyInstance1",
"type" : "MyType1",
"value" : "MyValue1"
},
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "custom5",
"custom6" : "custom6",
"custom7" : "custom7",
"custom8" : "custom8",
"custom9" : "custom9",
"custom10" : "custom10",
"custom11" : "custom11",
"custom12" : "custom12",
"custom13" : "custom13",
"custom14" : "abc",
"custom15" : "custom15",
"custom16" : "custom16",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ {
"id" : "ID1",
"taskId" : "TKI:000000000000000000000000000000000000",
"company" : "Company1",
"system" : "System1",
"systemInstance" : "Instance1",
"type" : "Type1",
"value" : "Value1"
}, {
"id" : "ID2",
"taskId" : "TKI:000000000000000000000000000000000000",
"company" : "Company2",
"system" : "System2",
"systemInstance" : "Instance2",
"type" : "Type2",
"value" : "Value2"
} ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ {
"attachmentId" : "TAI:000000000000000000000000000000000000",
"taskId" : "TKI:000000000000000000000000000000000000",
"created" : "2018-01-29T15:55:00Z",
"modified" : "2018-01-30T15:55:00Z",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"objectReference" : {
"company" : "novatec",
"system" : "novasys",
"systemInstance" : "nvinst",
"type" : "typ1",
"value" : "val1"
},
"channel" : "ch1",
"customAttributes" : { },
"_links" : {
"self" : {
"href" : "http://localhost:8080/TAI:000000000000000000000000000000000000"
}
}
}, {
"attachmentId" : "TAI:000000000000000000000000000000000009",
"taskId" : "TKI:000000000000000000000000000000000000",
"created" : "2018-01-29T15:55:00Z",
"modified" : "2018-01-30T15:55:00Z",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"objectReference" : {
"company" : "novatec",
"system" : "novasys",
"systemInstance" : "nvinst",
"type" : "typ1",
"value" : "val1"
},
"channel" : "ch1",
"customAttributes" : { },
"_links" : {
"self" : {
"href" : "http://localhost:8080/TAI:000000000000000000000000000000000009"
}
}
} ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000000"
}
}
}
Transfer a Task to another Workbasket
POST /api/v1/tasks/{taskId}/transfer/{workbasketId}
This endpoint transfers a given Task to a given Workbasket, if possible. the Task.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task which should be transferred. |
workbasketId |
String |
false |
The Id of the destination Workbasket. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000004/transfer/WBI:100000000000000000000000000000000001 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2395
{
"taskId" : "TKI:000000000000000000000000000000000004",
"externalId" : "ETI:000000000000000000000000000000000004",
"created" : "2024-05-26T15:27:56.595Z",
"claimed" : "2024-05-29T15:28:03.203Z",
"modified" : "2024-05-29T15:28:03.615Z",
"planned" : "2024-05-26T15:27:56.595Z",
"received" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000004",
"parentBusinessProcessId" : "DOC_0000000000000000004",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "VNR",
"value" : "11223344"
},
"custom2" : "ade",
"custom6" : "074",
"custom7" : "",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : false,
"transferred" : true,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000004"
}
}
}
Set a Task read or unread
POST /api/v1/tasks/{taskId}/set-read
This endpoint sets the 'isRead' property of a Task. Workbasket the Task is in.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
Id of the requested Task to set read or unread. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
is-read |
Boolean |
true |
The value to set the Task property isRead. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000025/set-read HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 22
Host: localhost:8080
{
"is-read" : true
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2433
{
"taskId" : "TKI:000000000000000000000000000000000025",
"externalId" : "ETI:000000000000000000000000000000000025",
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:28:03.662Z",
"planned" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "READY",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000025",
"parentBusinessProcessId" : "DOC_0000000000000000025",
"primaryObjRef" : {
"company" : "abcd00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "98765432"
},
"custom10" : "ert",
"custom11" : "ert",
"custom12" : "ert",
"custom13" : "ert",
"custom14" : "ert",
"custom15" : "ert",
"custom16" : "ert",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"customAttributes" : [ ],
"callbackInfo" : [ ],
"attachments" : [ ],
"read" : true,
"transferred" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI%3A000000000000000000000000000000000025"
}
}
}
Delete a Task
DELETE /api/v1/tasks/{taskId}
This endpoint deletes a Task.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task which should be deleted. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
DELETE /api/v1/tasks/TKI:000000000000000000000000000000000039 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Force delete a Task
DELETE /api/v1/tasks/{taskId}/force
This endpoint force deletes a Task even if it’s not completed. state of the Task is CALLBACK_PROCESSING_REQUIRED.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task which should be force deleted. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskId |
String |
true |
Unique Id. |
externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
created |
String |
true |
The creation timestamp in the system. |
claimed |
String |
true |
The timestamp of the last claim-operation. |
completed |
String |
true |
The timestamp of the completion. |
modified |
String |
true |
The timestamp of the last modification. |
planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
name |
String |
true |
The name of the task. |
creator |
String |
true |
The creator of the task. |
note |
String |
true |
Note. |
description |
String |
true |
The description of the task. |
priority |
Integer |
true |
The priority of the task. |
manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classificationSummary |
Object |
true |
The classification of this task. |
classificationSummary.classificationId |
String |
true |
Unique Id. |
classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
classificationSummary.name |
String |
true |
The name of the classification. |
classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classificationSummary.priority |
Integer |
true |
The priority of the classification. |
classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary |
Object |
true |
The workbasket this task resides in. |
workbasketSummary.workbasketId |
String |
true |
Unique Id. |
workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
workbasketSummary.name |
String |
true |
The name of the workbasket. |
workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketSummary.description |
String |
true |
The description of the workbasket. |
workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
businessProcessId |
String |
true |
The business process id. |
parentBusinessProcessId |
String |
true |
The parent business process id. |
owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
ownerLongName |
String |
true |
The long name of the task owner. |
primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
primaryObjRef.id |
String |
true |
Unique ID. |
primaryObjRef.taskId |
String |
true |
Task Id. |
primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
primaryObjRef.value |
String |
true |
The value of the primary object reference. |
groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
custom9 |
String |
true |
A custom property with name "9". |
custom10 |
String |
true |
A custom property with name "10". |
custom11 |
String |
true |
A custom property with name "11". |
custom12 |
String |
true |
A custom property with name "12". |
custom13 |
String |
true |
A custom property with name "13". |
custom14 |
String |
true |
A custom property with name "14". |
custom15 |
String |
true |
A custom property with name "15". |
custom16 |
String |
true |
A custom property with name "16". |
customInt1 |
Integer |
true |
A custom int property with name "1". |
customInt2 |
Integer |
true |
A custom int property with name "2". |
customInt3 |
Integer |
true |
A custom int property with name "3". |
customInt4 |
Integer |
true |
A custom int property with name "4". |
customInt5 |
Integer |
true |
A custom int property with name "5". |
customInt6 |
Integer |
true |
A custom int property with name "6". |
customInt7 |
Integer |
true |
A custom int property with name "7". |
customInt8 |
Integer |
true |
A custom int property with name "8". |
secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
secondaryObjectReferences[].id |
String |
true |
Unique ID. |
secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
customAttributes |
Array[Object] |
true |
Additional information of the task. |
customAttributes[].key |
String |
true |
The key of the custom attribute. |
customAttributes[].value |
String |
true |
The value of the custom attribute. |
callbackInfo |
Array[Object] |
true |
Callback Information of the task. |
callbackInfo[].key |
String |
true |
The key of the custom attribute. |
callbackInfo[].value |
String |
true |
The value of the custom attribute. |
attachments |
Array[Object] |
true |
Attachments of the task. |
attachments[].attachmentId |
String |
true |
Unique Id. |
attachments[].taskId |
String |
true |
The referenced task id. |
attachments[].created |
String |
true |
The creation timestamp in the system. |
attachments[].modified |
String |
true |
The timestamp of the last modification. |
attachments[].received |
String |
true |
The timestamp of the entry date. |
attachments[].classificationSummary |
Object |
true |
The classification of this attachment. |
attachments[].classificationSummary.classificationId |
String |
true |
Unique Id. |
attachments[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
attachments[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
attachments[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
attachments[].classificationSummary.name |
String |
true |
The name of the classification. |
attachments[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
attachments[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
attachments[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
attachments[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
attachments[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
attachments[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
attachments[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
attachments[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
attachments[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
attachments[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
attachments[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
attachments[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
attachments[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
attachments[].objectReference.id |
String |
true |
Unique ID. |
attachments[].objectReference.taskId |
String |
true |
Task Id. |
attachments[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
attachments[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
attachments[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
attachments[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
attachments[].objectReference.value |
String |
true |
The value of the primary object reference. |
attachments[].channel |
String |
true |
Determines on which channel this attachment was received. |
attachments[].customAttributes |
Map |
true |
All additional information of the Attachment. |
read |
Boolean |
true |
Indicator if the task has been read. |
transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
DELETE /api/v1/tasks/TKI:000000000000000000000000000000000005/force HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Delete multiple Tasks
DELETE /api/v1/tasks
This endpoint deletes an aggregation of Tasks and returns the deleted Tasks. Filters can be applied. Tasks.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
Parameter | Type | Optional | Description |
---|---|---|---|
task-id |
Array[String] |
true |
Filter by task id. This is an exact match. |
task-id-not |
Array[String] |
true |
Filter by what the task id shouldn’t be. This is an exact match. |
external-id |
Array[String] |
true |
Filter by the external id of the Task. This is an exact match. |
external-id-not |
Array[String] |
true |
Filter by what the external id of the Task shouldn’t be. This is an exact match. |
received |
Array[String] |
true |
Filter by a time interval within which the Task was received. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'received-from' or 'received-until'. |
received-from |
String |
true |
Filter since a given received timestamp. The format is ISO-8601. This parameter can’t be used together with 'received'. |
received-until |
String |
true |
Filter until a given received timestamp. The format is ISO-8601. This parameter can’t be used together with 'received'. |
received-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t received. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'received-not-in-from' or 'received-not-in-until'. |
received-from-not |
String |
true |
Filter since a given timestamp where it wasn’t received. The format is ISO-8601. This parameter can’t be used together with 'received-not-in'. |
received-until-not |
String |
true |
Filter until a given timestamp where it wasn’t received. The format is ISO-8601. This parameter can’t be used together with 'received-not-in'. |
created |
Array[String] |
true |
Filter by a time interval within which the Task was created. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'created-from' or 'created-until'. |
created-from |
String |
true |
Filter since a given created timestamp. The format is ISO-8601. This parameter can’t be used together with 'created'. |
created-until |
String |
true |
Filter until a given created timestamp. The format is ISO-8601. This parameter can’t be used together with 'created'. |
created-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t created. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'created-not-in-from' or 'created-not-in-until'. |
created-from-not |
String |
true |
Filter not since a given timestamp where it wasn’t created. The format is ISO-8601. This parameter can’t be used together with 'created-not-in'. |
created-until-not |
String |
true |
Filter not until a given timestamp where it wasn’t created. The format is ISO-8601. This parameter can’t be used together with 'created-not-in'. |
claimed |
Array[String] |
true |
Filter by a time interval within which the Task was claimed. To create an open interval you can just leave it blank. The format is ISO-8601. |
claimed-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t claimed. To create an open interval you can just leave it blank. The format is ISO-8601. |
modified |
Array[String] |
true |
Filter by a time interval within which the Task was modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
modified-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
planned |
Array[String] |
true |
Filter by a time interval within which the Task was planned. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'planned-from' or 'planned-until'. |
planned-from |
String |
true |
Filter since a given planned timestamp. The format is ISO-8601. This parameter can’t be used together with 'planned'. |
planned-until |
String |
true |
Filter until a given planned timestamp. The format is ISO-8601. This parameter can’t be used together with 'planned'. |
planned-not |
Array[String] |
true |
Filter by a time interval within which the Task was planned. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in-from' or 'planned-not-in-until'. |
planned-from-not |
String |
true |
Filter since a given timestamp where it wasn’t planned. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in'. |
planned-until-not |
String |
true |
Filter until a given timestamp where it wasn’t planned. The format is ISO-8601. This parameter can’t be used together with 'planned-not-in'. |
due |
Array[String] |
true |
Filter by a time interval within which the Task was due. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'due-from' or 'due-until'. |
due-from |
String |
true |
Filter since a given due timestamp. The format is ISO-8601. This parameter can’t be used together with 'due'. |
due-until |
String |
true |
Filter until a given due timestamp. The format is ISO-8601. This parameter can’t be used together with 'due'. |
due-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t due. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'due-not-in-from' or 'due-not-in-until'. |
due-from-not |
String |
true |
Filter since a given timestamp where it isn’t due. The format is ISO-8601. This parameter can’t be used together with 'due-not-in'. |
due-until-not |
String |
true |
Filter until a given timestamp where it isn’t due. The format is ISO-8601. This parameter can’t be used together with 'due-not-in'. |
completed |
Array[String] |
true |
Filter by a time interval within which the Task was completed. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'completed-from' or 'completed-until'. |
completed-from |
String |
true |
Filter since a given completed timestamp. The format is ISO-8601. This parameter can’t be used together with 'completed'. |
completed-until |
String |
true |
Filter until a given completed timestamp. The format is ISO-8601. This parameter can’t be used together with 'completed'. |
completed-not |
Array[String] |
true |
Filter by a time interval within which the Task wasn’t completed. To create an open interval you can just leave it blank. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in-from' or 'completed-not-in-until'. |
completed-from-not |
String |
true |
Filter since a given timestamp where it wasn’t completed. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in'. |
completed-until-not |
String |
true |
Filter until a given timestamp where it wasn’t completed. The format is ISO-8601. This parameter can’t be used together with 'completed-not-in'. |
name |
Array[String] |
true |
Filter by the name of the Task. This is an exact match. |
name-not |
Array[String] |
true |
Filter by what the name of the Task shouldn’t be. This is an exact match. |
name-like |
Array[String] |
true |
Filter by the name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
name-not-like |
Array[String] |
true |
Filter by what the name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
creator |
Array[String] |
true |
Filter by creator of the Task. This is an exact match. |
creator-not |
Array[String] |
true |
Filter by what the creator of the Task shouldn’t be. This is an exact match. |
creator-like |
Array[String] |
true |
Filter by the creator of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
creator-not-like |
Array[String] |
true |
Filter by what the creator of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
note-like |
Array[String] |
true |
Filter by the note of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
note-not-like |
Array[String] |
true |
Filter by what the note of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
description-like |
Array[String] |
true |
Filter by the description of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
description-not-like |
Array[String] |
true |
Filter by what the description of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
priority |
Array[Integer] |
true |
Filter by the priority of the Task. This is an exact match. |
priority-not |
Array[Integer] |
true |
Filter by what the priority of the Task shouldn’t be. This is an exact match. |
priority-within |
Array[Integer] |
true |
Filter by the range of values of the priority field of the Task. |
priority-from |
Integer |
true |
Filter by priority starting from the given value (inclusive). |
priority-until |
Integer |
true |
Filter by priority up to the given value (inclusive). |
priority-not-within |
Array[Integer] |
true |
Filter by exclusing the range of values of the priority field of the Task. |
priority-not-from |
Integer |
true |
Filter by excluding priority starting from the given value (inclusive). |
priority-not-until |
Integer |
true |
Filter by excluding priority up to the given value (inclusive). |
state |
Array[String] |
true |
Filter by the Task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
state-not |
Array[String] |
true |
Filter by what the Task state shouldn’t be. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
classification-id-not |
Array[String] |
true |
Filter by what the classification id of the Task shouldn’t be. This is an exact match. |
classification-key |
Array[String] |
true |
Filter by the classification key of the Task. This is an exact match. |
classification-key-not |
Array[String] |
true |
Filter by the classification key of the Task. This is an exact match. |
classification-key-like |
Array[String] |
true |
Filter by the classification key of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-key-not-like |
Array[String] |
true |
Filter by what the classification key of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-parent-key |
Array[String] |
true |
Filter by the key of the parent Classification of the Classification of the Task. This is an exact match. |
classification-parent-key-not |
Array[String] |
true |
Filter by what the key of the parent Classification of the Classification of the Task shouldn’t be. This is an exact match. |
classification-parent-key-like |
Array[String] |
true |
Filter by the key of the parent Classification of the Classification of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-parent-key-not-like |
Array[String] |
true |
Filter by what the key of the parent Classification of the Classification of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
classification-category-not |
Array[String] |
true |
Filter by what the classification category of the Task shouldn’t be. This is an exact match. |
classification-category-like |
Array[String] |
true |
Filter by the classification category of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-category-not-like |
Array[String] |
true |
Filter by what the classification category of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-name |
Array[String] |
true |
Filter by the classification name of the Task. This is an exact match. |
classification-name-not |
Array[String] |
true |
Filter by what the classification name of the Task shouldn’t be. This is an exact match. |
classification-name-like |
Array[String] |
true |
Filter by the classification name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
classification-name-not-like |
Array[String] |
true |
Filter by what the classification name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
workbasket-id-not |
Array[String] |
true |
Filter by what the workbasket id of the Task shouldn’t be. This is an exact match. |
workbasket-key |
Array[String] |
true |
Filter by workbasket keys of the Task. This parameter can only be used in combination with 'domain'. |
workbasket-key-not |
Array[String] |
true |
Filter by what the workbasket keys of the Task aren’t. This parameter can only be used in combination with 'domain'. |
domain |
String |
true |
Filter by domain of the Task. This is an exact match. |
business-process-id |
Array[String] |
true |
Filter by the business process id of the Task. This is an exact match. |
business-process-id-not |
Array[String] |
true |
Filter by what the business process id of the Task shouldn’t be. This is an exact match. |
business-process-id-like |
Array[String] |
true |
Filter by the business process id of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
business-process-id-not-like |
Array[String] |
true |
Filter by the business process id of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
parent-business-process-id |
Array[String] |
true |
Filter by the parent business process id of the Task. This is an exact match. |
parent-business-process-id-not |
Array[String] |
true |
Filter by what the parent business process id of the Task shouldn’t be. This is an exact match. |
parent-business-process-id-like |
Array[String] |
true |
Filter by the parent business process id of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
parent-business-process-id-not-like |
Array[String] |
true |
Filter by the parent business process id of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner |
Array[String] |
true |
Filter by owner of the Task. This is an exact match. |
owner-not |
Array[String] |
true |
Filter by what the owner of the Task shouldn’t be. This is an exact match. |
owner-like |
Array[String] |
true |
Filter by the owner of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner-not-like |
Array[String] |
true |
Filter by what the owner of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner-is-null |
String |
true |
Filter by tasks that have no owner. The parameter should exactly be "owner-is-null" without being followed by "=…". |
por |
Array[Object] |
true |
Filter by the primary object reference of the Task. This is an exact match. "por" is a parameter of complex type. Its following attributes from por[].id to por[].value can be specified according to the description of complex parameters in the overview, e.g. por={"value":"exampleValue"}. |
por[].value |
String |
true |
|
por[].id |
String |
true |
|
por[].type |
String |
true |
|
por[].system |
String |
true |
|
por[].company |
String |
true |
|
por[].systemInstance |
String |
true |
|
por[].taskId |
String |
true |
|
por-company |
Array[String] |
true |
Filter by the company of the primary object reference of the Task. This is an exact match. |
por-company-not |
Array[String] |
true |
Filter by what the company of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-company-like |
Array[String] |
true |
Filter by the company of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-company-not-like |
Array[String] |
true |
Filter by what the company of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-system |
Array[String] |
true |
Filter by the system of the primary object reference of the Task. This is an exact match. |
por-system-not |
Array[String] |
true |
Filter by what the system of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-system-like |
Array[String] |
true |
Filter by the system of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-system-not-like |
Array[String] |
true |
Filter by what the system of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-instance |
Array[String] |
true |
Filter by the system instance of the primary object reference of the Task. This is an exact match. |
por-instance-not |
Array[String] |
true |
Filter by what the system instance of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-instance-like |
Array[String] |
true |
Filter by the system instance of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-instance-not-like |
Array[String] |
true |
Filter by what the system instance of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-type |
Array[String] |
true |
Filter by the type of the primary object reference of the Task. This is an exact match. |
por-type-not |
Array[String] |
true |
Filter by what the type of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-type-like |
Array[String] |
true |
Filter by the type of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-type-not-like |
Array[String] |
true |
Filter by what the type of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-value |
Array[String] |
true |
Filter by the value of the primary object reference of the Task. This is an exact match. |
por-value-not |
Array[String] |
true |
Filter by what the value of the primary object reference of the Task shouldn’t be. This is an exact match. |
por-value-like |
Array[String] |
true |
Filter by the value of the primary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
por-value-not-like |
Array[String] |
true |
Filter by what the value of the primary object reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor |
Array[Object] |
true |
Filter by the primary object reference of the Task. This is an exact match. "sor" is a parameter of complex type. Its following attributes from sor[].id to sor[].value can be specified according to the description of complex parameters in the overview, e.g. sor={"value":"exampleValue"}. |
sor[].value |
String |
true |
|
sor[].id |
String |
true |
|
sor[].type |
String |
true |
|
sor[].system |
String |
true |
|
sor[].company |
String |
true |
|
sor[].systemInstance |
String |
true |
|
sor[].taskId |
String |
true |
|
sor-company |
Array[String] |
true |
Filter by the company of the secondary object reference of the Task. This is an exact match. |
sor-company-like |
Array[String] |
true |
Filter by the company of the secondary object references of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-system |
Array[String] |
true |
Filter by the system of the secondary object reference of the Task. This is an exact match. |
sor-system-like |
Array[String] |
true |
Filter by the system of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-instance |
Array[String] |
true |
Filter by the system instance of the secondary object reference of the Task. This is an exact match. |
sor-instance-like |
Array[String] |
true |
Filter by the system instance of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-type |
Array[String] |
true |
Filter by the type of the secondary object reference of the Task. This is an exact match. |
sor-type-like |
Array[String] |
true |
Filter by the type of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sor-value |
Array[String] |
true |
Filter by the value of the secondary object reference of the Task. This is an exact match. |
sor-value-like |
Array[String] |
true |
Filter by the value of the secondary object reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
is-read |
Boolean |
true |
Filter by the is read flag of the Task. This is an exact match. |
is-transferred |
Boolean |
true |
Filter by the is transferred flag of the Task. This is an exact match. |
attachment-classification-id |
Array[String] |
true |
Filter by the attachment classification id of the Task. This is an exact match. |
attachment-classification-id-not |
Array[String] |
true |
Filter by what the attachment classification id of the Task shouldn’t be. This is an exact match. |
attachment-classification-key |
Array[String] |
true |
Filter by the attachment classification key of the Task. This is an exact match. |
attachment-classification-key-not |
Array[String] |
true |
Filter by what the attachment classification key of the Task shouldn’t be. This is an exact match. |
attachment-classification-key-like |
Array[String] |
true |
Filter by the attachment classification key of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-key-not-like |
Array[String] |
true |
Filter by what the attachment classification key of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-name |
Array[String] |
true |
Filter by the attachment classification name of the Task. This is an exact match. |
attachment-classification-name-not |
Array[String] |
true |
Filter by what the attachment classification name of the Task shouldn’t be. This is an exact match. |
attachment-classification-name-like |
Array[String] |
true |
Filter by the attachment classification name of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-classification-name-not-like |
Array[String] |
true |
Filter by what the attachment classification name of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-channel |
Array[String] |
true |
Filter by the attachment channel of the Task. This is an exact match. |
attachment-channel-not |
Array[String] |
true |
Filter by what the attachment channel of the Task shouldn’t be. This is an exact match. |
attachment-channel-like |
Array[String] |
true |
Filter by the attachment channel of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-channel-not-like |
Array[String] |
true |
Filter by what the attachment channel of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-reference |
Array[String] |
true |
Filter by the attachment reference of the Task. This is an exact match. |
attachment-reference-not |
Array[String] |
true |
Filter by what the attachment reference of the Task shouldn’t be. This is an exact match. |
attachment-reference-like |
Array[String] |
true |
Filter by the attachment reference of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-reference-not-like |
Array[String] |
true |
Filter by what the attachment reference of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
attachment-received |
Array[String] |
true |
Filter by a time interval within which the attachment of the Task was received. To create an open interval you can just leave it blank. The format is ISO-8601. |
attachment-received-not |
Array[String] |
true |
Filter by a time interval within which the attachment of the Task wasn’t received. To create an open interval you can just leave it blank. The format is ISO-8601. |
without-attachment |
Boolean |
true |
In order to filter Tasks that don’t have any Attachments, set 'without-attachment' to 'true'. Any other value for 'without-attachment' is invalid. |
callback-state |
Array[String] |
true |
Filter by the callback state of the Task. This is an exact match. Must be one of [NONE, CALLBACK_PROCESSING_REQUIRED, CLAIMED, CALLBACK_PROCESSING_COMPLETED]. |
callback-state-not |
Array[String] |
true |
Filter by what the callback state of the Task shouldn’t be. This is an exact match. Must be one of [NONE, CALLBACK_PROCESSING_REQUIRED, CLAIMED, CALLBACK_PROCESSING_COMPLETED]. |
wildcard-search-fields |
Array[String] |
true |
Filter by wildcard search field of the Task. This must be used in combination with 'wildcard-search-value'. Must be one of [NAME, DESCRIPTION, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16]. |
wildcard-search-value |
String |
true |
Filter by wildcard search field of the Task. This is an exact match. This must be used in combination with 'wildcard-search-fields'. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-not |
Array[String] |
true |
Exclude values of the field custom1 of the Task. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-like |
Array[String] |
true |
Filter by what the custom1 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-not |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-like |
Array[String] |
true |
Filter by what the custom2 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-not |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-like |
Array[String] |
true |
Filter by what the custom3 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-not |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-like |
Array[String] |
true |
Filter by what the custom4 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-not |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-like |
Array[String] |
true |
Filter by what the custom5 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-not |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-like |
Array[String] |
true |
Filter by what the custom6 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-not |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-like |
Array[String] |
true |
Filter by what the custom7 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-not |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-like |
Array[String] |
true |
Filter by what the custom8 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-not |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-like |
Array[String] |
true |
Filter by what the custom9 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-not |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-like |
Array[String] |
true |
Filter by what the custom10 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-not |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-like |
Array[String] |
true |
Filter by what the custom11 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-not |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-like |
Array[String] |
true |
Filter by what the custom12 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-not |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-like |
Array[String] |
true |
Filter by what the custom13 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-not |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-like |
Array[String] |
true |
Filter by what the custom14 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-not |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-like |
Array[String] |
true |
Filter by what the custom15 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-not |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-like |
Array[String] |
true |
Filter by what the custom16 field of the Task shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-int-1 |
Array[Integer] |
true |
Filter by the value of the field customInt1 of the Task. This is an exact match. |
custom-int-1-not |
Array[Integer] |
true |
Exclude values of the field customInt1 of the Task. |
custom-int-1-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt1 of the Task. |
custom-int-1-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt1 of the Task. |
custom-int-1-from |
Integer |
true |
Filter by lower bound of customInt1. This parameter can’t be used together with 'custom-int-1-within'. |
custom-int-1-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt1 of the Task. |
custom-int-1-to |
Integer |
true |
Filter by upper bound of customInt1. This parameter can’t be used together with 'custom-int-1-within'. |
custom-int-1-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt1 of the Task. |
custom-int-2 |
Array[Integer] |
true |
Filter by the value of the field customInt2 of the Task. This is an exact match. |
custom-int-2-not |
Array[Integer] |
true |
Exclude values of the field customInt2 of the Task. |
custom-int-2-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt2 of the Task. |
custom-int-2-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt2 of the Task. |
custom-int-2-from |
Integer |
true |
Filter by lower bound of customInt2. This parameter can’t be used together with 'custom-int-2-within'. |
custom-int-2-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt2 of the Task. |
custom-int-2-to |
Integer |
true |
Filter by upper bound of customInt2. This parameter can’t be used together with 'custom-int-2-within'. |
custom-int-2-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt2 of the Task. |
custom-int-3 |
Array[Integer] |
true |
Filter by the value of the field customInt3 of the Task. This is an exact match. |
custom-int-3-not |
Array[Integer] |
true |
Exclude values of the field customInt3 of the Task. |
custom-int-3-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt3 of the Task. |
custom-int-3-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt3 of the Task. |
custom-int-3-from |
Integer |
true |
Filter by lower bound of customInt3. This parameter can’t be used together with 'custom-int-3-within'. |
custom-int-3-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt3 of the Task. |
custom-int-3-to |
Integer |
true |
Filter by upper bound of customInt3. This parameter can’t be used together with 'custom-int-3-within'. |
custom-int-3-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt3 of the Task. |
custom-int-4 |
Array[Integer] |
true |
Filter by the value of the field customInt4 of the Task. This is an exact match. |
custom-int-4-not |
Array[Integer] |
true |
Exclude values of the field customInt4 of the Task. |
custom-int-4-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt4 of the Task. |
custom-int-4-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt4 of the Task. |
custom-int-4-from |
Integer |
true |
Filter by lower bound of customInt4. This parameter can’t be used together with 'custom-int-4-within'. |
custom-int-4-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt4 of the Task. |
custom-int-4-to |
Integer |
true |
Filter by upper bound of customInt4. This parameter can’t be used together with 'custom-int-4-within'. |
custom-int-4-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt4 of the Task. |
custom-int-5 |
Array[Integer] |
true |
Filter by the value of the field customInt5 of the Task. This is an exact match. |
custom-int-5-not |
Array[Integer] |
true |
Exclude values of the field customInt5 of the Task. |
custom-int-5-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt5 of the Task. |
custom-int-5-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt5 of the Task. |
custom-int-5-from |
Integer |
true |
Filter by lower bound of customInt5. This parameter can’t be used together with 'custom-int-5-within'. |
custom-int-5-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt5 of the Task. |
custom-int-5-to |
Integer |
true |
Filter by upper bound of customInt5. This parameter can’t be used together with 'custom-int-5-within'. |
custom-int-5-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt5 of the Task. |
custom-int-6 |
Array[Integer] |
true |
Filter by the value of the field customInt6 of the Task. This is an exact match. |
custom-int-6-not |
Array[Integer] |
true |
Exclude values of the field customInt6 of the Task. |
custom-int-6-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt6 of the Task. |
custom-int-6-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt6 of the Task. |
custom-int-6-from |
Integer |
true |
Filter by lower bound of customInt6. This parameter can’t be used together with 'custom-int-6-within'. |
custom-int-6-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt6 of the Task. |
custom-int-6-to |
Integer |
true |
Filter by upper bound of customInt6. This parameter can’t be used together with 'custom-int-6-within'. |
custom-int-6-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt6 of the Task. |
custom-int-7 |
Array[Integer] |
true |
Filter by the value of the field customInt7 of the Task. This is an exact match. |
custom-int-7-not |
Array[Integer] |
true |
Exclude values of the field customInt7 of the Task. |
custom-int-7-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt7 of the Task. |
custom-int-7-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt7 of the Task. |
custom-int-7-from |
Integer |
true |
Filter by lower bound of customInt7. This parameter can’t be used together with 'custom-int-7-within'. |
custom-int-7-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt7 of the Task. |
custom-int-7-to |
Integer |
true |
Filter by upper bound of customInt7. This parameter can’t be used together with 'custom-int-7-within'. |
custom-int-7-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt7 of the Task. |
custom-int-8 |
Array[Integer] |
true |
Filter by the value of the field customInt8 of the Task. This is an exact match. |
custom-int-8-not |
Array[Integer] |
true |
Exclude values of the field customInt8 of the Task. |
custom-int-8-within |
Array[Integer] |
true |
Filter by the range of value of the field customInt8 of the Task. |
custom-int-8-not-within |
Array[Integer] |
true |
Exclude range of values of the field customInt8 of the Task. |
custom-int-8-from |
Integer |
true |
Filter by lower bound of customInt8. This parameter can’t be used together with 'custom-int-8-within'. |
custom-int-8-from-not |
Integer |
true |
Exclude values from a lower bound of the field customInt8 of the Task. |
custom-int-8-to |
Integer |
true |
Filter by upper bound of customInt8. This parameter can’t be used together with 'custom-int-8-within'. |
custom-int-8-to-not |
Integer |
true |
Exclude values to an upper bound of the field customInt8 of the Task. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
tasks |
Array[Object] |
true |
The embedded tasks. |
tasks[].taskId |
String |
true |
Unique Id. |
tasks[].externalId |
String |
true |
External Id. Can be used to enforce idempotence at task creation. Can identify an external task. |
tasks[].created |
String |
true |
The creation timestamp in the system. |
tasks[].claimed |
String |
true |
The timestamp of the last claim-operation. |
tasks[].completed |
String |
true |
The timestamp of the completion. |
tasks[].modified |
String |
true |
The timestamp of the last modification. |
tasks[].planned |
String |
true |
Planned start of the task. The actual completion of the task should be between PLANNED and DUE. |
tasks[].received |
String |
true |
Timestamp when the task has been received. It notes when the surrounding process started and not just when the actual task was created. |
tasks[].due |
String |
true |
Timestamp when the task is due. The actual completion of the task should be between PLANNED and DUE. |
tasks[].name |
String |
true |
The name of the task. |
tasks[].creator |
String |
true |
The creator of the task. |
tasks[].note |
String |
true |
Note. |
tasks[].description |
String |
true |
The description of the task. |
tasks[].priority |
Integer |
true |
The priority of the task. |
tasks[].manualPriority |
Integer |
true |
The manual priority of the task. If the value of manualPriority is zero or greater, the priority is automatically set to manualPriority. In this case, all computations of priority are disabled. If the value of manualPriority is negative, Tasks are not prioritized manually. |
tasks[].state |
String |
true |
The current task state. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
tasks[].classificationSummary |
Object |
true |
The classification of this task. |
tasks[].classificationSummary.classificationId |
String |
true |
Unique Id. |
tasks[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
tasks[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
tasks[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
tasks[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
tasks[].classificationSummary.name |
String |
true |
The name of the classification. |
tasks[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
tasks[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
tasks[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
tasks[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
tasks[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
tasks[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
tasks[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
tasks[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
tasks[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
tasks[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
tasks[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
tasks[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
tasks[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
tasks[].workbasketSummary |
Object |
true |
The workbasket this task resides in. |
tasks[].workbasketSummary.workbasketId |
String |
true |
Unique Id. |
tasks[].workbasketSummary.key |
String |
true |
The professional key for the workbasket. |
tasks[].workbasketSummary.name |
String |
true |
The name of the workbasket. |
tasks[].workbasketSummary.domain |
String |
true |
The domain the workbasket belongs to. |
tasks[].workbasketSummary.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
tasks[].workbasketSummary.description |
String |
true |
The description of the workbasket. |
tasks[].workbasketSummary.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
tasks[].workbasketSummary.custom1 |
String |
true |
A custom property with name "1". |
tasks[].workbasketSummary.custom2 |
String |
true |
A custom property with name "2". |
tasks[].workbasketSummary.custom3 |
String |
true |
A custom property with name "3". |
tasks[].workbasketSummary.custom4 |
String |
true |
A custom property with name "4". |
tasks[].workbasketSummary.custom5 |
String |
true |
A custom property with name "5". |
tasks[].workbasketSummary.custom6 |
String |
true |
A custom property with name "6". |
tasks[].workbasketSummary.custom7 |
String |
true |
A custom property with name "7". |
tasks[].workbasketSummary.custom8 |
String |
true |
A custom property with name "8". |
tasks[].workbasketSummary.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
tasks[].workbasketSummary.orgLevel2 |
String |
true |
The second Org Level. |
tasks[].workbasketSummary.orgLevel3 |
String |
true |
The third Org Level. |
tasks[].workbasketSummary.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
tasks[].workbasketSummary.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
tasks[].businessProcessId |
String |
true |
The business process id. |
tasks[].parentBusinessProcessId |
String |
true |
The parent business process id. |
tasks[].owner |
String |
true |
The owner of the task. The owner is set upon claiming of the task. |
tasks[].ownerLongName |
String |
true |
The long name of the task owner. |
tasks[].primaryObjRef |
Object |
true |
The Objects primary ObjectReference. |
tasks[].primaryObjRef.id |
String |
true |
Unique ID. |
tasks[].primaryObjRef.taskId |
String |
true |
Task Id. |
tasks[].primaryObjRef.company |
String |
true |
The company the referenced primary object belongs to. |
tasks[].primaryObjRef.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
tasks[].primaryObjRef.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
tasks[].primaryObjRef.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
tasks[].primaryObjRef.value |
String |
true |
The value of the primary object reference. |
tasks[].groupByCount |
Integer |
true |
Number of Tasks that are grouped together with this Task during a groupBy. |
tasks[].custom1 |
String |
true |
A custom property with name "1". |
tasks[].custom2 |
String |
true |
A custom property with name "2". |
tasks[].custom3 |
String |
true |
A custom property with name "3". |
tasks[].custom4 |
String |
true |
A custom property with name "4". |
tasks[].custom5 |
String |
true |
A custom property with name "5". |
tasks[].custom6 |
String |
true |
A custom property with name "6". |
tasks[].custom7 |
String |
true |
A custom property with name "7". |
tasks[].custom8 |
String |
true |
A custom property with name "8". |
tasks[].custom9 |
String |
true |
A custom property with name "9". |
tasks[].custom10 |
String |
true |
A custom property with name "10". |
tasks[].custom11 |
String |
true |
A custom property with name "11". |
tasks[].custom12 |
String |
true |
A custom property with name "12". |
tasks[].custom13 |
String |
true |
A custom property with name "13". |
tasks[].custom14 |
String |
true |
A custom property with name "14". |
tasks[].custom15 |
String |
true |
A custom property with name "15". |
tasks[].custom16 |
String |
true |
A custom property with name "16". |
tasks[].customInt1 |
Integer |
true |
A custom int property with name "1". |
tasks[].customInt2 |
Integer |
true |
A custom int property with name "2". |
tasks[].customInt3 |
Integer |
true |
A custom int property with name "3". |
tasks[].customInt4 |
Integer |
true |
A custom int property with name "4". |
tasks[].customInt5 |
Integer |
true |
A custom int property with name "5". |
tasks[].customInt6 |
Integer |
true |
A custom int property with name "6". |
tasks[].customInt7 |
Integer |
true |
A custom int property with name "7". |
tasks[].customInt8 |
Integer |
true |
A custom int property with name "8". |
tasks[].secondaryObjectReferences |
Array[Object] |
true |
Secondary object references of the task. |
tasks[].secondaryObjectReferences[].id |
String |
true |
Unique ID. |
tasks[].secondaryObjectReferences[].taskId |
String |
true |
Task Id. |
tasks[].secondaryObjectReferences[].company |
String |
true |
The company the referenced primary object belongs to. |
tasks[].secondaryObjectReferences[].system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
tasks[].secondaryObjectReferences[].systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
tasks[].secondaryObjectReferences[].type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
tasks[].secondaryObjectReferences[].value |
String |
true |
The value of the primary object reference. |
tasks[].attachmentSummaries |
Array[Object] |
true |
The attachment summaries of this task. |
tasks[].attachmentSummaries[].attachmentId |
String |
true |
Unique Id. |
tasks[].attachmentSummaries[].taskId |
String |
true |
The referenced task id. |
tasks[].attachmentSummaries[].created |
String |
true |
The creation timestamp in the system. |
tasks[].attachmentSummaries[].modified |
String |
true |
The timestamp of the last modification. |
tasks[].attachmentSummaries[].received |
String |
true |
The timestamp of the entry date. |
tasks[].attachmentSummaries[].classificationSummary |
Object |
true |
The classification of this attachment. |
tasks[].attachmentSummaries[].classificationSummary.classificationId |
String |
true |
Unique Id. |
tasks[].attachmentSummaries[].classificationSummary.key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
tasks[].attachmentSummaries[].classificationSummary.applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
tasks[].attachmentSummaries[].classificationSummary.category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
tasks[].attachmentSummaries[].classificationSummary.domain |
String |
true |
The domain for which this classification is specified. |
tasks[].attachmentSummaries[].classificationSummary.name |
String |
true |
The name of the classification. |
tasks[].attachmentSummaries[].classificationSummary.parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
tasks[].attachmentSummaries[].classificationSummary.parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
tasks[].attachmentSummaries[].classificationSummary.priority |
Integer |
true |
The priority of the classification. |
tasks[].attachmentSummaries[].classificationSummary.serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
tasks[].attachmentSummaries[].classificationSummary.type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
tasks[].attachmentSummaries[].classificationSummary.custom1 |
String |
true |
A custom property with name "1". |
tasks[].attachmentSummaries[].classificationSummary.custom2 |
String |
true |
A custom property with name "2". |
tasks[].attachmentSummaries[].classificationSummary.custom3 |
String |
true |
A custom property with name "3". |
tasks[].attachmentSummaries[].classificationSummary.custom4 |
String |
true |
A custom property with name "4". |
tasks[].attachmentSummaries[].classificationSummary.custom5 |
String |
true |
A custom property with name "5". |
tasks[].attachmentSummaries[].classificationSummary.custom6 |
String |
true |
A custom property with name "6". |
tasks[].attachmentSummaries[].classificationSummary.custom7 |
String |
true |
A custom property with name "7". |
tasks[].attachmentSummaries[].classificationSummary.custom8 |
String |
true |
A custom property with name "8". |
tasks[].attachmentSummaries[].objectReference |
Object |
true |
The Objects primary ObjectReference. |
tasks[].attachmentSummaries[].objectReference.id |
String |
true |
Unique ID. |
tasks[].attachmentSummaries[].objectReference.taskId |
String |
true |
Task Id. |
tasks[].attachmentSummaries[].objectReference.company |
String |
true |
The company the referenced primary object belongs to. |
tasks[].attachmentSummaries[].objectReference.system |
String |
true |
The (kind of) system, the referenced primary object resides in (e.g. SAP, MySystem A, …). |
tasks[].attachmentSummaries[].objectReference.systemInstance |
String |
true |
The instance of the system where the referenced primary object is located. |
tasks[].attachmentSummaries[].objectReference.type |
String |
true |
The type of the referenced primary object (contract, claim, policy, customer, …). |
tasks[].attachmentSummaries[].objectReference.value |
String |
true |
The value of the primary object reference. |
tasks[].attachmentSummaries[].channel |
String |
true |
Determines on which channel this attachment was received. |
tasks[].read |
Boolean |
true |
Indicator if the task has been read. |
tasks[].transferred |
Boolean |
true |
Indicator if the task has been transferred. |
Example request
DELETE /api/v1/tasks?task-id=TKI:000000000000000000000000000000000036&task-id=TKI:000000000000000000000000000000000037&task-id=TKI:000000000000000000000000000000000038 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 7665
{
"tasks" : [ {
"taskId" : "TKI:000000000000000000000000000000000036",
"externalId" : "ETI:000000000000000000000000000000000036",
"created" : "2024-05-29T15:27:56.595Z",
"claimed" : "2024-05-29T15:27:56.595Z",
"completed" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"planned" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "COMPLETED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000036",
"parentBusinessProcessId" : "DOC_0000000000000000036",
"owner" : "user-1-2",
"ownerLongName" : "Eifrig, Elena - (user-1-2)",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "00011122"
},
"custom5" : "ew",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"attachmentSummaries" : [ ],
"read" : true,
"transferred" : false
}, {
"taskId" : "TKI:000000000000000000000000000000000037",
"externalId" : "ETI:000000000000000000000000000000000037",
"created" : "2024-05-29T15:27:56.595Z",
"claimed" : "2024-05-29T15:27:56.595Z",
"completed" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"planned" : "2024-05-29T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "COMPLETED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000037",
"parentBusinessProcessId" : "DOC_0000000000000000037",
"owner" : "user-1-2",
"ownerLongName" : "Eifrig, Elena - (user-1-2)",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "00011122"
},
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"attachmentSummaries" : [ ],
"read" : true,
"transferred" : false
}, {
"taskId" : "TKI:000000000000000000000000000000000038",
"externalId" : "ETI:000000000000000000000000000000000038",
"created" : "2024-05-28T15:27:56.595Z",
"claimed" : "2024-05-28T15:27:56.595Z",
"completed" : "2024-05-28T15:27:56.595Z",
"modified" : "2024-05-28T15:27:56.595Z",
"planned" : "2024-05-28T15:27:56.595Z",
"due" : "2024-05-29T15:27:56.595Z",
"name" : "Widerruf",
"creator" : "creator_user_id",
"description" : "Widerruf",
"priority" : 2,
"manualPriority" : -1,
"state" : "COMPLETED",
"classificationSummary" : {
"classificationId" : "CLI:100000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P13D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
},
"workbasketSummary" : {
"workbasketId" : "WBI:100000000000000000000000000000000007",
"key" : "USER-1-2",
"name" : "PPK User 2 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 2 KSC 1",
"owner" : "user-1-2",
"custom1" : "custom1",
"custom2" : "custom2",
"custom3" : "custom3",
"custom4" : "custom4",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "versicherung",
"orgLevel2" : "abteilung",
"orgLevel3" : "projekt",
"orgLevel4" : "team",
"markedForDeletion" : false
},
"businessProcessId" : "PI_0000000000038",
"parentBusinessProcessId" : "DOC_0000000000000000038",
"owner" : "user-1-2",
"ownerLongName" : "Eifrig, Elena - (user-1-2)",
"primaryObjRef" : {
"company" : "00",
"system" : "PASystem",
"systemInstance" : "00",
"type" : "SDNR",
"value" : "00011122"
},
"custom5" : "al",
"custom6" : "11",
"custom14" : "abc",
"customInt1" : 1,
"customInt2" : 2,
"customInt3" : 3,
"customInt4" : 4,
"customInt5" : 5,
"customInt6" : 6,
"customInt7" : 7,
"customInt8" : 8,
"secondaryObjectReferences" : [ ],
"attachmentSummaries" : [ ],
"read" : true,
"transferred" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks?task-id=TKI:000000000000000000000000000000000036&task-id=TKI:000000000000000000000000000000000037&task-id=TKI:000000000000000000000000000000000038"
}
}
}
Task Comment Resource
Create a new Task Comment
POST /api/v1/tasks/{taskId}/comments
This endpoint creates a Task Comment. Task Comment.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task where a Task Comment should be created. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
true |
Unique Id. |
taskId |
String |
true |
Task Id. Can identify the task the comment belongs to. |
textField |
String |
true |
The content of the comment. |
creator |
String |
true |
The creator of the task comment. |
creatorFullName |
String |
true |
The long name of the task comment creator. |
created |
String |
true |
The creation timestamp in the system. |
modified |
String |
true |
Timestamp of the last task comment modification. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
true |
Unique Id. |
taskId |
String |
true |
Task Id. Can identify the task the comment belongs to. |
textField |
String |
true |
The content of the comment. |
creator |
String |
true |
The creator of the task comment. |
creatorFullName |
String |
true |
The long name of the task comment creator. |
created |
String |
true |
The creation timestamp in the system. |
modified |
String |
true |
Timestamp of the last task comment modification. |
Example request
POST /api/v1/tasks/TKI:000000000000000000000000000000000000/comments HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 101
Host: localhost:8080
{
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "some text in textfield"
}
Example response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 418
{
"taskCommentId" : "TCI:9ce3aebb-31de-4835-aff3-070c0cba1e94",
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "some text in textfield",
"creator" : "admin",
"created" : "2024-05-29T15:28:04.381Z",
"modified" : "2024-05-29T15:28:04.381Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/comments/TCI%3A9ce3aebb-31de-4835-aff3-070c0cba1e94"
}
}
}
Get a single Task Comment
GET /api/v1/tasks/comments/{taskCommentId}
This endpoint retrieves a Task Comment. Comment.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
false |
The Id of the Task Comment. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
true |
Unique Id. |
taskId |
String |
true |
Task Id. Can identify the task the comment belongs to. |
textField |
String |
true |
The content of the comment. |
creator |
String |
true |
The creator of the task comment. |
creatorFullName |
String |
true |
The long name of the task comment creator. |
created |
String |
true |
The creation timestamp in the system. |
modified |
String |
true |
Timestamp of the last task comment modification. |
Example request
GET /api/v1/tasks/comments/TCI:000000000000000000000000000000000000 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 454
{
"taskCommentId" : "TCI:000000000000000000000000000000000000",
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "some text in textfield",
"creator" : "user-1-1",
"creatorFullName" : "Mustermann, Max",
"created" : "2017-01-29T15:55:00Z",
"modified" : "2018-01-30T15:55:00Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/comments/TCI%3A000000000000000000000000000000000000"
}
}
}
Get a list of all Task Comments for a specific Task
GET /api/v1/tasks/{taskId}/comments
This endpoint retrieves all Task Comments for a specific Task. Further filters can be applied.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskId |
String |
false |
The Id of the Task whose comments are requested. |
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
id |
Array[String] |
true |
Filter by the id of the TaskComment. This is an exact match. |
id-not |
Array[String] |
true |
Filter by what the id of the TaskComment shouldn’t be. This is an exact match. |
id-like |
Array[String] |
true |
Filter by the id of the TaskComment. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
id-not-like |
Array[String] |
true |
Filter by what the id of the TaskComment shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
task-id |
Array[String] |
true |
Filter by the task id of the TaskComment. This is an exact match. |
creator |
Array[String] |
true |
Filter by the creator of the TaskComment. This is an exact match. |
creator-not |
Array[String] |
true |
Filter by what the creator of the TaskComment shouldn’t be. This is an exact match. |
creator-like |
Array[String] |
true |
Filter by the creator of the TaskComment. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
creator-not-like |
Array[String] |
true |
Filter by what the creator of the TaskComment shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
textfield-like |
Array[String] |
true |
Filter by the textfield of the TaskComment. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
textfield-not-like |
Array[String] |
true |
Filter by what the textfield of the TaskComment shouldn’t be. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
modified |
Array[String] |
true |
Filter by a time interval within which the TaskComment was modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
modified-not |
Array[String] |
true |
Filter by a time interval within which the TaskComment wasn’t modified. To create an open interval you can just leave it blank. The format is ISO-8601. |
created |
Array[String] |
true |
Filter by a time interval within which the TaskComment was created. To create an open interval you can just leave it blank. The format is ISO-8601. |
created-not |
Array[String] |
true |
Filter by a time interval within which the TaskComment wasn’t created. To create an open interval you can just leave it blank. The format is ISO-8601. |
sort-by |
Array[String] |
true |
Sort the result by a given field. Multiple sort values can be declared. When the primary sort value is the same, the second one will be used. Must be one of [CREATED, MODIFIED]. |
order |
Array[String] |
true |
The order direction for each sort value. This value requires the use of 'sort-by'. The amount of sort-by and order declarations have to match. Alternatively the value can be omitted. If done so the default sort order (ASCENDING) will be applied to every sort-by value. Must be one of [ASCENDING, DESCENDING]. |
page |
Integer |
true |
Request a specific page. Requires the definition of the 'page-size'. |
page-size |
Integer |
true |
Defines the size for each page. This requires a specific requested 'page'. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskComments |
Array[Object] |
true |
The embedded task comments. |
taskComments[].taskCommentId |
String |
true |
Unique Id. |
taskComments[].taskId |
String |
true |
Task Id. Can identify the task the comment belongs to. |
taskComments[].textField |
String |
true |
The content of the comment. |
taskComments[].creator |
String |
true |
The creator of the task comment. |
taskComments[].creatorFullName |
String |
true |
The long name of the task comment creator. |
taskComments[].created |
String |
true |
The creation timestamp in the system. |
taskComments[].modified |
String |
true |
Timestamp of the last task comment modification. |
Example request
GET /api/v1/tasks/TKI:000000000000000000000000000000000000/comments HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1624
{
"taskComments" : [ {
"taskCommentId" : "TCI:000000000000000000000000000000000000",
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "some text in textfield",
"creator" : "user-1-1",
"creatorFullName" : "Mustermann, Max",
"created" : "2017-01-29T15:55:00Z",
"modified" : "2018-01-30T15:55:00Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/comments/TCI%3A000000000000000000000000000000000000"
}
}
}, {
"taskCommentId" : "TCI:000000000000000000000000000000000001",
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "some other text in textfield",
"creator" : "user-1-2",
"creatorFullName" : "Eifrig, Elena",
"created" : "2015-01-29T15:55:00Z",
"modified" : "2022-01-30T15:55:00Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/comments/TCI%3A000000000000000000000000000000000001"
}
}
}, {
"taskCommentId" : "TCI:000000000000000000000000000000000002",
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "some other text in textfield",
"creator" : "user-1-1",
"creatorFullName" : "Mustermann, Max",
"created" : "2020-01-29T15:55:00Z",
"modified" : "2021-01-30T15:55:00Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/comments/TCI%3A000000000000000000000000000000000002"
}
}
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/TKI:000000000000000000000000000000000000/comments"
}
}
}
Update a Task Comment
PUT /api/v1/tasks/comments/{taskCommentId}
This endpoint updates a given Task Comment. a different process.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
false |
The Task Comment which should be updated. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
true |
Unique Id. |
taskId |
String |
true |
Task Id. Can identify the task the comment belongs to. |
textField |
String |
true |
The content of the comment. |
creator |
String |
true |
The creator of the task comment. |
creatorFullName |
String |
true |
The long name of the task comment creator. |
created |
String |
true |
The creation timestamp in the system. |
modified |
String |
true |
Timestamp of the last task comment modification. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
true |
Unique Id. |
taskId |
String |
true |
Task Id. Can identify the task the comment belongs to. |
textField |
String |
true |
The content of the comment. |
creator |
String |
true |
The creator of the task comment. |
creatorFullName |
String |
true |
The long name of the task comment creator. |
created |
String |
true |
The creation timestamp in the system. |
modified |
String |
true |
Timestamp of the last task comment modification. |
Example request
PUT /api/v1/tasks/comments/TCI:000000000000000000000000000000000000 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 312
Host: localhost:8080
{
"taskCommentId" : "TCI:000000000000000000000000000000000000",
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "updated text in textfield",
"creator" : "user-1-1",
"creatorFullName" : "Mustermann, Max",
"created" : "2017-01-29T15:55:00Z",
"modified" : "2018-01-30T15:55:00Z"
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 461
{
"taskCommentId" : "TCI:000000000000000000000000000000000000",
"taskId" : "TKI:000000000000000000000000000000000000",
"textField" : "updated text in textfield",
"creator" : "user-1-1",
"creatorFullName" : "Mustermann, Max",
"created" : "2017-01-29T15:55:00Z",
"modified" : "2024-05-29T15:28:04.521Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/tasks/comments/TCI%3A000000000000000000000000000000000000"
}
}
}
Delete a Task Comment
DELETE /api/v1/tasks/comments/{taskCommentId}
This endpoint deletes a given Task Comment. existing task.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
false |
The Id of the Task Comment which should be deleted. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
taskCommentId |
String |
true |
Unique Id. |
taskId |
String |
true |
Task Id. Can identify the task the comment belongs to. |
textField |
String |
true |
The content of the comment. |
creator |
String |
true |
The creator of the task comment. |
creatorFullName |
String |
true |
The long name of the task comment creator. |
created |
String |
true |
The creation timestamp in the system. |
modified |
String |
true |
Timestamp of the last task comment modification. |
Example request
DELETE /api/v1/tasks/comments/TCI:000000000000000000000000000000000001 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Classification Resource
Create a new Classification
POST /api/v1/classifications
This endpoint creates a new Classification. means that a Classification with the requested key and domain already exist. information. with the ISO 8601 specification.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
true |
Unique Id. |
key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
domain |
String |
true |
The domain for which this classification is specified. |
name |
String |
true |
The name of the classification. |
parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
priority |
Integer |
true |
The priority of the classification. |
serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
isValidInDomain |
Boolean |
true |
True, if this classification to objects in this domain. |
created |
String |
true |
The creation timestamp of the classification in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
description |
String |
true |
The description of the classification. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
true |
Unique Id. |
key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
domain |
String |
true |
The domain for which this classification is specified. |
name |
String |
true |
The name of the classification. |
parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
priority |
Integer |
true |
The priority of the classification. |
serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
isValidInDomain |
Boolean |
true |
True, if this classification to objects in this domain. |
created |
String |
true |
The creation timestamp of the classification in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
description |
String |
true |
The description of the classification. |
Example request
POST /api/v1/classifications HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 119
Host: localhost:8080
{
"key" : "Key0815casdgdgh",
"domain" : "DOMAIN_B",
"priority" : 0,
"serviceLevel" : "P1D",
"type" : "TASK"
}
Example response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 484
{
"classificationId" : "CLI:f407220c-ad21-4575-abfe-12c390ba3d6b",
"key" : "Key0815casdgdgh",
"domain" : "DOMAIN_B",
"parentId" : "",
"parentKey" : "",
"priority" : 0,
"serviceLevel" : "P1D",
"type" : "TASK",
"isValidInDomain" : true,
"created" : "2024-05-29T15:28:05.124Z",
"modified" : "2024-05-29T15:28:05.124Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/classifications/CLI%3Af407220c-ad21-4575-abfe-12c390ba3d6b"
}
}
}
Get a single Classification
GET /api/v1/classifications/{classificationId}
This endpoint retrieves a single Classification.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
false |
The Id of the requested Classification. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
true |
Unique Id. |
key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
domain |
String |
true |
The domain for which this classification is specified. |
name |
String |
true |
The name of the classification. |
parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
priority |
Integer |
true |
The priority of the classification. |
serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
isValidInDomain |
Boolean |
true |
True, if this classification to objects in this domain. |
created |
String |
true |
The creation timestamp of the classification in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
description |
String |
true |
The description of the classification. |
Example request
GET /api/v1/classifications/CLI:100000000000000000000000000000000009 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 761
{
"classificationId" : "CLI:100000000000000000000000000000000009",
"key" : "L140101",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "Zustimmungserklärung",
"parentId" : "",
"parentKey" : "",
"priority" : 2,
"serviceLevel" : "P2D",
"type" : "TASK",
"custom1" : "VNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"isValidInDomain" : true,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"description" : "Zustimmungserklärung",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/classifications/CLI%3A100000000000000000000000000000000009"
}
}
}
Get a list of all Classifications
GET /api/v1/classifications
This endpoint retrieves a list of existing Classifications. Filters can be applied.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
name |
Array[String] |
true |
Filter by the name of the Classification. This is an exact match. |
name-like |
Array[String] |
true |
Filter by the name of the Classification. This results in a substring search. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
key |
Array[String] |
true |
Filter by the key of the Classification. This is an exact match. |
category |
Array[String] |
true |
Filter by the category of the Classification. This is an exact match. |
domain |
Array[String] |
true |
Filter by the domain of the Classification. This is an exact match. |
type |
Array[String] |
true |
Filter by the type of the Classification. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the value of the field custom1. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-like |
Array[String] |
true |
Filter by the value of the field custom2. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-like |
Array[String] |
true |
Filter by the value of the field custom3. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-like |
Array[String] |
true |
Filter by the value of the field custom4. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-like |
Array[String] |
true |
Filter by the value of the field custom5. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-like |
Array[String] |
true |
Filter by the value of the field custom6. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-like |
Array[String] |
true |
Filter by the value of the field custom7. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-like |
Array[String] |
true |
Filter by the value of the field custom8. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sort-by |
Array[String] |
true |
Sort the result by a given field. Multiple sort values can be declared. When the primary sort value is the same, the second one will be used. Must be one of [APPLICATION_ENTRY_POINT, DOMAIN, KEY, CATEGORY, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, NAME, PARENT_ID, PARENT_KEY, PRIORITY, SERVICE_LEVEL]. |
order |
Array[String] |
true |
The order direction for each sort value. This value requires the use of 'sort-by'. The amount of sort-by and order declarations have to match. Alternatively the value can be omitted. If done so the default sort order (ASCENDING) will be applied to every sort-by value. Must be one of [ASCENDING, DESCENDING]. |
page |
Integer |
true |
Request a specific page. Requires the definition of the 'page-size'. |
page-size |
Integer |
true |
Defines the size for each page. This requires a specific requested 'page'. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
classifications |
Array[Object] |
true |
The embedded classifications. |
classifications[].classificationId |
String |
true |
Unique Id. |
classifications[].key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classifications[].applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classifications[].category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classifications[].domain |
String |
true |
The domain for which this classification is specified. |
classifications[].name |
String |
true |
The name of the classification. |
classifications[].parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classifications[].parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classifications[].priority |
Integer |
true |
The priority of the classification. |
classifications[].serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classifications[].type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classifications[].custom1 |
String |
true |
A custom property with name "1". |
classifications[].custom2 |
String |
true |
A custom property with name "2". |
classifications[].custom3 |
String |
true |
A custom property with name "3". |
classifications[].custom4 |
String |
true |
A custom property with name "4". |
classifications[].custom5 |
String |
true |
A custom property with name "5". |
classifications[].custom6 |
String |
true |
A custom property with name "6". |
classifications[].custom7 |
String |
true |
A custom property with name "7". |
classifications[].custom8 |
String |
true |
A custom property with name "8". |
page |
Object |
true |
The page meta data for a paged request. |
page.size |
Integer |
true |
The element size of the page. |
page.totalElements |
Integer |
true |
The total number of elements available. |
page.totalPages |
Integer |
true |
Amount of pages that are available in total. |
page.number |
Integer |
true |
The current page number. |
Example request
GET /api/v1/classifications HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1629
{
"classifications" : [ {
"classificationId" : "CLI:000000000000000000000000000000000001",
"key" : "L10000",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "OLD-Leistungsfall",
"parentId" : "",
"parentKey" : "",
"priority" : 999,
"serviceLevel" : "P1D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
}, {
"classificationId" : "CLI:000000000000000000000000000000000002",
"key" : "L10303",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Beratungsprotokoll",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P2D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR, ANR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
}, {
"classificationId" : "CLI:000000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P3D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : ""
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/classifications"
}
}
}
Update a Classification
PUT /api/v1/classifications/{classificationId}
This endpoint updates a Classification. meantime by a different process. with the ISO 8601 specification.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
false |
The Id of the Classification which should be updated. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
true |
Unique Id. |
key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
domain |
String |
true |
The domain for which this classification is specified. |
name |
String |
true |
The name of the classification. |
parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
priority |
Integer |
true |
The priority of the classification. |
serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
isValidInDomain |
Boolean |
true |
True, if this classification to objects in this domain. |
created |
String |
true |
The creation timestamp of the classification in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
description |
String |
true |
The description of the classification. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
true |
Unique Id. |
key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
domain |
String |
true |
The domain for which this classification is specified. |
name |
String |
true |
The name of the classification. |
parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
priority |
Integer |
true |
The priority of the classification. |
serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
isValidInDomain |
Boolean |
true |
True, if this classification to objects in this domain. |
created |
String |
true |
The creation timestamp of the classification in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
description |
String |
true |
The description of the classification. |
Example request
PUT /api/v1/classifications/CLI:100000000000000000000000000000000009 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 602
Host: localhost:8080
{
"classificationId" : "CLI:100000000000000000000000000000000009",
"key" : "L140101",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "new name",
"parentId" : "",
"parentKey" : "",
"priority" : 2,
"serviceLevel" : "P2D",
"type" : "TASK",
"custom1" : "VNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"isValidInDomain" : true,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"description" : "Zustimmungserklärung"
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 748
{
"classificationId" : "CLI:100000000000000000000000000000000009",
"key" : "L140101",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "DOMAIN_A",
"name" : "new name",
"parentId" : "",
"parentKey" : "",
"priority" : 2,
"serviceLevel" : "P2D",
"type" : "TASK",
"custom1" : "VNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"isValidInDomain" : true,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:28:05.083Z",
"description" : "Zustimmungserklärung",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/classifications/CLI%3A100000000000000000000000000000000009"
}
}
}
Delete a Classification
DELETE /api/v1/classifications/{classificationId}
This endpoint deletes a requested Classification if possible. Classification.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
false |
The requested Classification Id which should be deleted. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
classificationId |
String |
true |
Unique Id. |
key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
domain |
String |
true |
The domain for which this classification is specified. |
name |
String |
true |
The name of the classification. |
parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
priority |
Integer |
true |
The priority of the classification. |
serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
isValidInDomain |
Boolean |
true |
True, if this classification to objects in this domain. |
created |
String |
true |
The creation timestamp of the classification in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
description |
String |
true |
The description of the classification. |
Example request
DELETE /api/v1/classifications/CLI:100000000000000000000000000000000010 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Workbasket Resource
Create a new Workbasket
POST /api/v1/workbaskets
This endpoint creates a persistent Workbasket. ADMIN.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
true |
Unique Id. |
key |
String |
true |
The professional key for the workbasket. |
name |
String |
true |
The name of the workbasket. |
domain |
String |
true |
The domain the workbasket belongs to. |
type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
description |
String |
true |
The description of the workbasket. |
owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
orgLevel2 |
String |
true |
The second Org Level. |
orgLevel3 |
String |
true |
The third Org Level. |
orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
created |
String |
true |
The creation timestamp of the workbasket in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
true |
Unique Id. |
key |
String |
true |
The professional key for the workbasket. |
name |
String |
true |
The name of the workbasket. |
domain |
String |
true |
The domain the workbasket belongs to. |
type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
description |
String |
true |
The description of the workbasket. |
owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
orgLevel2 |
String |
true |
The second Org Level. |
orgLevel3 |
String |
true |
The third Org Level. |
orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
created |
String |
true |
The creation timestamp of the workbasket in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
Example request
POST /api/v1/workbaskets HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 151
Host: localhost:8080
{
"key" : "asdasdasd",
"name" : "this is a wonderful workbasket name",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"markedForDeletion" : false
}
Example response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1007
{
"workbasketId" : "WBI:f33c14dc-4ed1-4d47-9dc9-5cffd74437bc",
"key" : "asdasdasd",
"name" : "this is a wonderful workbasket name",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"markedForDeletion" : false,
"created" : "2024-05-29T15:28:07.354Z",
"modified" : "2024-05-29T15:28:07.354Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3Af33c14dc-4ed1-4d47-9dc9-5cffd74437bc"
},
"distributionTargets" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3Af33c14dc-4ed1-4d47-9dc9-5cffd74437bc/distribution-targets"
},
"accessItems" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3Af33c14dc-4ed1-4d47-9dc9-5cffd74437bc/workbasketAccessItems"
},
"allWorkbaskets" : {
"href" : "http://localhost:8080/api/v1/workbaskets"
},
"removeDistributionTargets" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3Af33c14dc-4ed1-4d47-9dc9-5cffd74437bc/distribution-targets"
}
}
}
Get a single Workbasket
GET /api/v1/workbaskets/{workbasketId}
This endpoint retrieves a single Workbasket. requested Workbasket.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The Id of the requested Workbasket. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
true |
Unique Id. |
key |
String |
true |
The professional key for the workbasket. |
name |
String |
true |
The name of the workbasket. |
domain |
String |
true |
The domain the workbasket belongs to. |
type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
description |
String |
true |
The description of the workbasket. |
owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
orgLevel2 |
String |
true |
The second Org Level. |
orgLevel3 |
String |
true |
The third Org Level. |
orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
created |
String |
true |
The creation timestamp of the workbasket in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
Example request
GET /api/v1/workbaskets/WBI:100000000000000000000000000000000001 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1286
{
"workbasketId" : "WBI:100000000000000000000000000000000001",
"key" : "GPK_KSC",
"name" : "Gruppenpostkorb KSC",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC",
"owner" : "teamlead-1",
"custom1" : "ABCQVW",
"custom2" : "",
"custom3" : "xyz4",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false,
"created" : "2018-02-01T12:00:00Z",
"modified" : "2024-05-29T15:28:07.239Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000001"
},
"distributionTargets" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000001/distribution-targets"
},
"accessItems" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000001/workbasketAccessItems"
},
"allWorkbaskets" : {
"href" : "http://localhost:8080/api/v1/workbaskets"
},
"removeDistributionTargets" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000001/distribution-targets"
}
}
}
Get a list of all Workbaskets
GET /api/v1/workbaskets
This endpoint retrieves a list of existing Workbaskets. Filters can be applied.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
name |
Array[String] |
true |
Filter by the name of the Workbasket. This is an exact match. |
name-like |
Array[String] |
true |
Filter by the name of the Workbasket. This results in a substring search. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
key |
Array[String] |
true |
Filter by the key of the Workbasket. This is an exact match. |
key-like |
Array[String] |
true |
Filter by the key of the Workbasket. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
owner |
Array[String] |
true |
Filter by the owner of the Workbasket. This is an exact match. |
owner-like |
Array[String] |
true |
Filter by the owner of the Workbasket. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
description-like |
Array[String] |
true |
Filter by the description of the Workbasket. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
domain |
Array[String] |
true |
Filter by the domain of the Workbasket. This is an exact match. |
type |
Array[String] |
true |
Filter by the type of the Workbasket. This is an exact match. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
required-permission |
Array[String] |
true |
Filter by the required permission for the Workbasket. Must be one of [READ, READTASKS, EDITTASKS, OPEN, APPEND, TRANSFER, DISTRIBUTE, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, CUSTOM_11, CUSTOM_12]. |
sort-by |
Array[String] |
true |
Sort the result by a given field. Multiple sort values can be declared. When the primary sort value is the same, the second one will be used. Must be one of [NAME, KEY, OWNER, TYPE, DESCRIPTION, CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, DOMAIN, ORG_LEVEL_1, ORG_LEVEL_2, ORG_LEVEL_3, ORG_LEVEL_4]. |
order |
Array[String] |
true |
The order direction for each sort value. This value requires the use of 'sort-by'. The amount of sort-by and order declarations have to match. Alternatively the value can be omitted. If done so the default sort order (ASCENDING) will be applied to every sort-by value. Must be one of [ASCENDING, DESCENDING]. |
page |
Integer |
true |
Request a specific page. Requires the definition of the 'page-size'. |
page-size |
Integer |
true |
Defines the size for each page. This requires a specific requested 'page'. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
workbaskets |
Array[Object] |
true |
The embedded workbaskets. |
workbaskets[].workbasketId |
String |
true |
Unique Id. |
workbaskets[].key |
String |
true |
The professional key for the workbasket. |
workbaskets[].name |
String |
true |
The name of the workbasket. |
workbaskets[].domain |
String |
true |
The domain the workbasket belongs to. |
workbaskets[].type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbaskets[].description |
String |
true |
The description of the workbasket. |
workbaskets[].owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbaskets[].custom1 |
String |
true |
A custom property with name "1". |
workbaskets[].custom2 |
String |
true |
A custom property with name "2". |
workbaskets[].custom3 |
String |
true |
A custom property with name "3". |
workbaskets[].custom4 |
String |
true |
A custom property with name "4". |
workbaskets[].custom5 |
String |
true |
A custom property with name "5". |
workbaskets[].custom6 |
String |
true |
A custom property with name "6". |
workbaskets[].custom7 |
String |
true |
A custom property with name "7". |
workbaskets[].custom8 |
String |
true |
A custom property with name "8". |
workbaskets[].orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbaskets[].orgLevel2 |
String |
true |
The second Org Level. |
workbaskets[].orgLevel3 |
String |
true |
The third Org Level. |
workbaskets[].orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbaskets[].markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
page |
Object |
true |
The page meta data for a paged request. |
page.size |
Integer |
true |
The element size of the page. |
page.totalElements |
Integer |
true |
The total number of elements available. |
page.totalPages |
Integer |
true |
Amount of pages that are available in total. |
page.number |
Integer |
true |
The current page number. |
Example request
GET /api/v1/workbaskets?type=PERSONAL HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1699
{
"workbaskets" : [ {
"workbasketId" : "WBI:000000000000000000000000000000000000",
"key" : "ADMIN",
"name" : "Postkorb Admin",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "Postkorb Admin",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
}, {
"workbasketId" : "WBI:100000000000000000000000000000000004",
"key" : "TEAMLEAD-1",
"name" : "PPK Teamlead KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK Teamlead KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
}, {
"workbasketId" : "WBI:100000000000000000000000000000000005",
"key" : "TEAMLEAD-2",
"name" : "PPK Teamlead KSC 2",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK Teamlead KSC 2",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets?type=PERSONAL"
}
}
}
Get all Workbasket Access Items
GET /api/v1/workbaskets/{workbasketId}/workbasketAccessItems
This endpoint retrieves all Workbasket Access Items for a given Workbasket. ADMIN.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The Id of the requested Workbasket. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
accessItems |
Array[Object] |
true |
The embedded access items. |
accessItems[].accessItemId |
String |
true |
Unique Id. |
accessItems[].workbasketId |
String |
true |
The workbasket Id. |
accessItems[].accessId |
String |
true |
The Access Id. This could be either a user Id or a full qualified group Id. |
accessItems[].workbasketKey |
String |
true |
The workbasket key. |
accessItems[].accessName |
String |
true |
The name. |
accessItems[].permRead |
Boolean |
true |
The permission to read the information about the workbasket. |
accessItems[].permReadTasks |
Boolean |
true |
The permission to access a task from the workbasket. |
accessItems[].permOpen |
Boolean |
true |
The permission to view the content (the tasks) of a workbasket. |
accessItems[].permAppend |
Boolean |
true |
The permission to add tasks to the workbasket. Required for creation and transferring of tasks. |
accessItems[].permEditTasks |
Boolean |
true |
The permission to edit a task from the workbasket. |
accessItems[].permTransfer |
Boolean |
true |
The permission to transfer tasks (out of the current workbasket). |
accessItems[].permDistribute |
Boolean |
true |
The permission to distribute tasks from the workbasket. |
accessItems[].permCustom1 |
Boolean |
true |
The custom permission with the name "1". |
accessItems[].permCustom2 |
Boolean |
true |
The custom permission with the name "2". |
accessItems[].permCustom3 |
Boolean |
true |
The custom permission with the name "3". |
accessItems[].permCustom4 |
Boolean |
true |
The custom permission with the name "4". |
accessItems[].permCustom5 |
Boolean |
true |
The custom permission with the name "5". |
accessItems[].permCustom6 |
Boolean |
true |
The custom permission with the name "6". |
accessItems[].permCustom7 |
Boolean |
true |
The custom permission with the name "7". |
accessItems[].permCustom8 |
Boolean |
true |
The custom permission with the name "8". |
accessItems[].permCustom9 |
Boolean |
true |
The custom permission with the name "9". |
accessItems[].permCustom10 |
Boolean |
true |
The custom permission with the name "10". |
accessItems[].permCustom11 |
Boolean |
true |
The custom permission with the name "11". |
accessItems[].permCustom12 |
Boolean |
true |
The custom permission with the name "12". |
Example request
GET /api/v1/workbaskets/WBI:100000000000000000000000000000000001/workbasketAccessItems HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1072
{
"accessItems" : [ {
"accessItemId" : "WAI:74f58222-ab44-4adf-9eb3-0980b10bdf64",
"workbasketId" : "WBI:100000000000000000000000000000000001",
"accessId" : "new-access-id",
"workbasketKey" : "GPK_KSC",
"accessName" : "new-access-name",
"permRead" : false,
"permReadTasks" : false,
"permOpen" : true,
"permAppend" : false,
"permEditTasks" : false,
"permTransfer" : false,
"permDistribute" : false,
"permCustom1" : false,
"permCustom2" : false,
"permCustom3" : false,
"permCustom4" : false,
"permCustom5" : false,
"permCustom6" : false,
"permCustom7" : false,
"permCustom8" : false,
"permCustom9" : false,
"permCustom10" : false,
"permCustom11" : false,
"permCustom12" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI:100000000000000000000000000000000001/workbasketAccessItems"
},
"workbasket" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000001"
}
}
}
Get all Distribution Targets for a Workbasket
GET /api/v1/workbaskets/{workbasketId}/distribution-targets
This endpoint retrieves all Distribution Targets for a requested Workbasket. specified Workbasket.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The Id of the Workbasket whose Distribution Targets will be retrieved. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
distributionTargets |
Array[Object] |
true |
The embedded distribution targets. |
distributionTargets[].workbasketId |
String |
true |
Unique Id. |
distributionTargets[].key |
String |
true |
The professional key for the workbasket. |
distributionTargets[].name |
String |
true |
The name of the workbasket. |
distributionTargets[].domain |
String |
true |
The domain the workbasket belongs to. |
distributionTargets[].type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
distributionTargets[].description |
String |
true |
The description of the workbasket. |
distributionTargets[].owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
distributionTargets[].custom1 |
String |
true |
A custom property with name "1". |
distributionTargets[].custom2 |
String |
true |
A custom property with name "2". |
distributionTargets[].custom3 |
String |
true |
A custom property with name "3". |
distributionTargets[].custom4 |
String |
true |
A custom property with name "4". |
distributionTargets[].custom5 |
String |
true |
A custom property with name "5". |
distributionTargets[].custom6 |
String |
true |
A custom property with name "6". |
distributionTargets[].custom7 |
String |
true |
A custom property with name "7". |
distributionTargets[].custom8 |
String |
true |
A custom property with name "8". |
distributionTargets[].orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
distributionTargets[].orgLevel2 |
String |
true |
The second Org Level. |
distributionTargets[].orgLevel3 |
String |
true |
The third Org Level. |
distributionTargets[].orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
distributionTargets[].markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
Example request
GET /api/v1/workbaskets/WBI:100000000000000000000000000000000002/distribution-targets HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1712
{
"distributionTargets" : [ {
"workbasketId" : "WBI:100000000000000000000000000000000003",
"key" : "GPK_KSC_2",
"name" : "Gruppenpostkorb KSC 2",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC 2",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
}, {
"workbasketId" : "WBI:100000000000000000000000000000000004",
"key" : "TEAMLEAD-1",
"name" : "PPK Teamlead KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK Teamlead KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
}, {
"workbasketId" : "WBI:100000000000000000000000000000000006",
"key" : "USER-1-1",
"name" : "PPK User 1 KSC 1",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "PPK User 1 KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "custom4z",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI:100000000000000000000000000000000002/distribution-targets"
}
}
}
Update a Workbasket
PUT /api/v1/workbaskets/{workbasketId}
This endpoint updates a given Workbasket. not match. updated it already.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The Id of the Workbasket which should be updated. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
true |
Unique Id. |
key |
String |
true |
The professional key for the workbasket. |
name |
String |
true |
The name of the workbasket. |
domain |
String |
true |
The domain the workbasket belongs to. |
type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
description |
String |
true |
The description of the workbasket. |
owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
orgLevel2 |
String |
true |
The second Org Level. |
orgLevel3 |
String |
true |
The third Org Level. |
orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
created |
String |
true |
The creation timestamp of the workbasket in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
true |
Unique Id. |
key |
String |
true |
The professional key for the workbasket. |
name |
String |
true |
The name of the workbasket. |
domain |
String |
true |
The domain the workbasket belongs to. |
type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
description |
String |
true |
The description of the workbasket. |
owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
orgLevel2 |
String |
true |
The second Org Level. |
orgLevel3 |
String |
true |
The third Org Level. |
orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
created |
String |
true |
The creation timestamp of the workbasket in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
Example request
PUT /api/v1/workbaskets/WBI:100000000000000000000000000000000003 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 555
Host: localhost:8080
{
"workbasketId" : "WBI:100000000000000000000000000000000003",
"key" : "GPK_KSC_2",
"name" : "new name",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC 2",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z"
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1263
{
"workbasketId" : "WBI:100000000000000000000000000000000003",
"key" : "GPK_KSC_2",
"name" : "new name",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC 2",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:28:07.387Z",
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000003"
},
"distributionTargets" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000003/distribution-targets"
},
"accessItems" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000003/workbasketAccessItems"
},
"allWorkbaskets" : {
"href" : "http://localhost:8080/api/v1/workbaskets"
},
"removeDistributionTargets" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000003/distribution-targets"
}
}
}
Remove a Workbasket as Distribution Target
DELETE /api/v1/workbaskets/{workbasketId}/distribution-targets
This endpoint removes all Distribution Target references for a provided Workbasket.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The Id of the requested Workbasket. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
No response body.
Example request
DELETE /api/v1/workbaskets/WBI:100000000000000000000000000000000007/distribution-targets HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Set all Workbasket Access Items
PUT /api/v1/workbaskets/{workbasketId}/workbasketAccessItems
This endpoint replaces all Workbasket Access Items for a given Workbasket with the provided ones. ADMIN in the provided list.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The Id of the Workbasket whose Workbasket Access Items will be replaced. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
accessItems |
Array[Object] |
true |
The embedded access items. |
accessItems[].accessItemId |
String |
true |
Unique Id. |
accessItems[].workbasketId |
String |
true |
The workbasket Id. |
accessItems[].accessId |
String |
true |
The Access Id. This could be either a user Id or a full qualified group Id. |
accessItems[].workbasketKey |
String |
true |
The workbasket key. |
accessItems[].accessName |
String |
true |
The name. |
accessItems[].permRead |
Boolean |
true |
The permission to read the information about the workbasket. |
accessItems[].permReadTasks |
Boolean |
true |
The permission to access a task from the workbasket. |
accessItems[].permOpen |
Boolean |
true |
The permission to view the content (the tasks) of a workbasket. |
accessItems[].permAppend |
Boolean |
true |
The permission to add tasks to the workbasket. Required for creation and transferring of tasks. |
accessItems[].permEditTasks |
Boolean |
true |
The permission to edit a task from the workbasket. |
accessItems[].permTransfer |
Boolean |
true |
The permission to transfer tasks (out of the current workbasket). |
accessItems[].permDistribute |
Boolean |
true |
The permission to distribute tasks from the workbasket. |
accessItems[].permCustom1 |
Boolean |
true |
The custom permission with the name "1". |
accessItems[].permCustom2 |
Boolean |
true |
The custom permission with the name "2". |
accessItems[].permCustom3 |
Boolean |
true |
The custom permission with the name "3". |
accessItems[].permCustom4 |
Boolean |
true |
The custom permission with the name "4". |
accessItems[].permCustom5 |
Boolean |
true |
The custom permission with the name "5". |
accessItems[].permCustom6 |
Boolean |
true |
The custom permission with the name "6". |
accessItems[].permCustom7 |
Boolean |
true |
The custom permission with the name "7". |
accessItems[].permCustom8 |
Boolean |
true |
The custom permission with the name "8". |
accessItems[].permCustom9 |
Boolean |
true |
The custom permission with the name "9". |
accessItems[].permCustom10 |
Boolean |
true |
The custom permission with the name "10". |
accessItems[].permCustom11 |
Boolean |
true |
The custom permission with the name "11". |
accessItems[].permCustom12 |
Boolean |
true |
The custom permission with the name "12". |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
accessItems |
Array[Object] |
true |
The embedded access items. |
accessItems[].accessItemId |
String |
true |
Unique Id. |
accessItems[].workbasketId |
String |
true |
The workbasket Id. |
accessItems[].accessId |
String |
true |
The Access Id. This could be either a user Id or a full qualified group Id. |
accessItems[].workbasketKey |
String |
true |
The workbasket key. |
accessItems[].accessName |
String |
true |
The name. |
accessItems[].permRead |
Boolean |
true |
The permission to read the information about the workbasket. |
accessItems[].permReadTasks |
Boolean |
true |
The permission to access a task from the workbasket. |
accessItems[].permOpen |
Boolean |
true |
The permission to view the content (the tasks) of a workbasket. |
accessItems[].permAppend |
Boolean |
true |
The permission to add tasks to the workbasket. Required for creation and transferring of tasks. |
accessItems[].permEditTasks |
Boolean |
true |
The permission to edit a task from the workbasket. |
accessItems[].permTransfer |
Boolean |
true |
The permission to transfer tasks (out of the current workbasket). |
accessItems[].permDistribute |
Boolean |
true |
The permission to distribute tasks from the workbasket. |
accessItems[].permCustom1 |
Boolean |
true |
The custom permission with the name "1". |
accessItems[].permCustom2 |
Boolean |
true |
The custom permission with the name "2". |
accessItems[].permCustom3 |
Boolean |
true |
The custom permission with the name "3". |
accessItems[].permCustom4 |
Boolean |
true |
The custom permission with the name "4". |
accessItems[].permCustom5 |
Boolean |
true |
The custom permission with the name "5". |
accessItems[].permCustom6 |
Boolean |
true |
The custom permission with the name "6". |
accessItems[].permCustom7 |
Boolean |
true |
The custom permission with the name "7". |
accessItems[].permCustom8 |
Boolean |
true |
The custom permission with the name "8". |
accessItems[].permCustom9 |
Boolean |
true |
The custom permission with the name "9". |
accessItems[].permCustom10 |
Boolean |
true |
The custom permission with the name "10". |
accessItems[].permCustom11 |
Boolean |
true |
The custom permission with the name "11". |
accessItems[].permCustom12 |
Boolean |
true |
The custom permission with the name "12". |
Example request
PUT /api/v1/workbaskets/WBI:100000000000000000000000000000000001/workbasketAccessItems HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 683
Host: localhost:8080
{
"accessItems" : [ {
"workbasketId" : "WBI:100000000000000000000000000000000001",
"accessId" : "new-access-id",
"accessName" : "new-access-name",
"permRead" : false,
"permReadTasks" : false,
"permOpen" : true,
"permAppend" : false,
"permEditTasks" : false,
"permTransfer" : false,
"permDistribute" : false,
"permCustom1" : false,
"permCustom2" : false,
"permCustom3" : false,
"permCustom4" : false,
"permCustom5" : false,
"permCustom6" : false,
"permCustom7" : false,
"permCustom8" : false,
"permCustom9" : false,
"permCustom10" : false,
"permCustom11" : false,
"permCustom12" : false
} ]
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1072
{
"accessItems" : [ {
"accessItemId" : "WAI:74f58222-ab44-4adf-9eb3-0980b10bdf64",
"workbasketId" : "WBI:100000000000000000000000000000000001",
"accessId" : "new-access-id",
"workbasketKey" : "GPK_KSC",
"accessName" : "new-access-name",
"permRead" : false,
"permReadTasks" : false,
"permOpen" : true,
"permAppend" : false,
"permEditTasks" : false,
"permTransfer" : false,
"permDistribute" : false,
"permCustom1" : false,
"permCustom2" : false,
"permCustom3" : false,
"permCustom4" : false,
"permCustom5" : false,
"permCustom6" : false,
"permCustom7" : false,
"permCustom8" : false,
"permCustom9" : false,
"permCustom10" : false,
"permCustom11" : false,
"permCustom12" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI:100000000000000000000000000000000001/workbasketAccessItems"
},
"workbasket" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI%3A100000000000000000000000000000000001"
}
}
}
Set all Distribution Targets for a Workbasket
PUT /api/v1/workbaskets/{workbasketId}/distribution-targets
This endpoint replaces all Distribution Targets for a given Workbasket with the provided ones. the source Workbasket.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The source Workbasket. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
distributionTargets |
Array[Object] |
true |
The embedded distribution targets. |
distributionTargets[].workbasketId |
String |
true |
Unique Id. |
distributionTargets[].key |
String |
true |
The professional key for the workbasket. |
distributionTargets[].name |
String |
true |
The name of the workbasket. |
distributionTargets[].domain |
String |
true |
The domain the workbasket belongs to. |
distributionTargets[].type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
distributionTargets[].description |
String |
true |
The description of the workbasket. |
distributionTargets[].owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
distributionTargets[].custom1 |
String |
true |
A custom property with name "1". |
distributionTargets[].custom2 |
String |
true |
A custom property with name "2". |
distributionTargets[].custom3 |
String |
true |
A custom property with name "3". |
distributionTargets[].custom4 |
String |
true |
A custom property with name "4". |
distributionTargets[].custom5 |
String |
true |
A custom property with name "5". |
distributionTargets[].custom6 |
String |
true |
A custom property with name "6". |
distributionTargets[].custom7 |
String |
true |
A custom property with name "7". |
distributionTargets[].custom8 |
String |
true |
A custom property with name "8". |
distributionTargets[].orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
distributionTargets[].orgLevel2 |
String |
true |
The second Org Level. |
distributionTargets[].orgLevel3 |
String |
true |
The third Org Level. |
distributionTargets[].orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
distributionTargets[].markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
Example request
PUT /api/v1/workbaskets/WBI:100000000000000000000000000000000001/distribution-targets HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 90
Host: localhost:8080
[ "WBI:100000000000000000000000000000000002", "WBI:100000000000000000000000000000000003" ]
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1207
{
"distributionTargets" : [ {
"workbasketId" : "WBI:100000000000000000000000000000000002",
"key" : "GPK_KSC_1",
"name" : "Gruppenpostkorb KSC 1",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC 1",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
}, {
"workbasketId" : "WBI:100000000000000000000000000000000003",
"key" : "GPK_KSC_2",
"name" : "Gruppenpostkorb KSC 2",
"domain" : "DOMAIN_A",
"type" : "GROUP",
"description" : "Gruppenpostkorb KSC 2",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbaskets/WBI:100000000000000000000000000000000001/distribution-targets"
}
}
}
Delete a Workbasket
DELETE /api/v1/workbaskets/{workbasketId}
This endpoint deletes an existing Workbasket.
Returned HTTP Status codes:
-
204 NO_CONTENT - Workbasket has been deleted successfully
-
202 ACCEPTED - Workbasket still contains completed Tasks. It has been marked for deletion and will be deleted automatically as soon as all completed Tasks are deleted.
-
423 LOCKED - Workbasket contains non-completed Tasks and cannot be deleted.
Workbasket.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
false |
The Id of the Workbasket which should be deleted. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
workbasketId |
String |
true |
Unique Id. |
key |
String |
true |
The professional key for the workbasket. |
name |
String |
true |
The name of the workbasket. |
domain |
String |
true |
The domain the workbasket belongs to. |
type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
description |
String |
true |
The description of the workbasket. |
owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
custom1 |
String |
true |
A custom property with name "1". |
custom2 |
String |
true |
A custom property with name "2". |
custom3 |
String |
true |
A custom property with name "3". |
custom4 |
String |
true |
A custom property with name "4". |
custom5 |
String |
true |
A custom property with name "5". |
custom6 |
String |
true |
A custom property with name "6". |
custom7 |
String |
true |
A custom property with name "7". |
custom8 |
String |
true |
A custom property with name "8". |
orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
orgLevel2 |
String |
true |
The second Org Level. |
orgLevel3 |
String |
true |
The third Org Level. |
orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
created |
String |
true |
The creation timestamp of the workbasket in the system. The format is ISO-8601. |
modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
Example request
DELETE /api/v1/workbaskets/WBI:100000000000000000000000000000000002 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Workbasket Access Item Resource
Get a list of all Workbasket Access Items
GET /api/v1/workbasket-access-items
This endpoint retrieves a list of existing Workbasket Access Items. Filters can be applied.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasket-key |
Array[String] |
true |
Filter by the key of the Workbasket. This is an exact match. |
workbasket-key-like |
Array[String] |
true |
Filter by the key of the Workbasket. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
access-id |
Array[String] |
true |
Filter by the name of the access id. This is an exact match. |
access-id-like |
Array[String] |
true |
Filter by the name of the access id. This results in a substring search.. (% is appended to the beginning and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
sort-by |
Array[String] |
true |
Sort the result by a given field. Multiple sort values can be declared. When the primary sort value is the same, the second one will be used. Must be one of [WORKBASKET_KEY, ACCESS_ID]. |
order |
Array[String] |
true |
The order direction for each sort value. This value requires the use of 'sort-by'. The amount of sort-by and order declarations have to match. Alternatively the value can be omitted. If done so the default sort order (ASCENDING) will be applied to every sort-by value. Must be one of [ASCENDING, DESCENDING]. |
page |
Integer |
true |
Request a specific page. Requires the definition of the 'page-size'. |
page-size |
Integer |
true |
Defines the size for each page. This requires a specific requested 'page'. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
accessItems |
Array[Object] |
true |
The embedded access items. |
accessItems[].accessItemId |
String |
true |
Unique Id. |
accessItems[].workbasketId |
String |
true |
The workbasket Id. |
accessItems[].accessId |
String |
true |
The Access Id. This could be either a user Id or a full qualified group Id. |
accessItems[].workbasketKey |
String |
true |
The workbasket key. |
accessItems[].accessName |
String |
true |
The name. |
accessItems[].permRead |
Boolean |
true |
The permission to read the information about the workbasket. |
accessItems[].permReadTasks |
Boolean |
true |
The permission to access a task from the workbasket. |
accessItems[].permOpen |
Boolean |
true |
The permission to view the content (the tasks) of a workbasket. |
accessItems[].permAppend |
Boolean |
true |
The permission to add tasks to the workbasket. Required for creation and transferring of tasks. |
accessItems[].permEditTasks |
Boolean |
true |
The permission to edit a task from the workbasket. |
accessItems[].permTransfer |
Boolean |
true |
The permission to transfer tasks (out of the current workbasket). |
accessItems[].permDistribute |
Boolean |
true |
The permission to distribute tasks from the workbasket. |
accessItems[].permCustom1 |
Boolean |
true |
The custom permission with the name "1". |
accessItems[].permCustom2 |
Boolean |
true |
The custom permission with the name "2". |
accessItems[].permCustom3 |
Boolean |
true |
The custom permission with the name "3". |
accessItems[].permCustom4 |
Boolean |
true |
The custom permission with the name "4". |
accessItems[].permCustom5 |
Boolean |
true |
The custom permission with the name "5". |
accessItems[].permCustom6 |
Boolean |
true |
The custom permission with the name "6". |
accessItems[].permCustom7 |
Boolean |
true |
The custom permission with the name "7". |
accessItems[].permCustom8 |
Boolean |
true |
The custom permission with the name "8". |
accessItems[].permCustom9 |
Boolean |
true |
The custom permission with the name "9". |
accessItems[].permCustom10 |
Boolean |
true |
The custom permission with the name "10". |
accessItems[].permCustom11 |
Boolean |
true |
The custom permission with the name "11". |
accessItems[].permCustom12 |
Boolean |
true |
The custom permission with the name "12". |
page |
Object |
true |
The page meta data for a paged request. |
page.size |
Integer |
true |
The element size of the page. |
page.totalElements |
Integer |
true |
The total number of elements available. |
page.totalPages |
Integer |
true |
Amount of pages that are available in total. |
page.number |
Integer |
true |
The current page number. |
Example request
GET /api/v1/workbasket-access-items?sort-by=WORKBASKET_KEY&order=ASCENDING&access-id=user-2-2 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1669
{
"accessItems" : [ {
"accessItemId" : "WAI:100000000000000000000000000000016202",
"workbasketId" : "WBI:100000000000000000000000000000000016",
"accessId" : "user-2-2",
"workbasketKey" : "TPK_VIP_2",
"accessName" : "Tim Schläfrig",
"permRead" : true,
"permReadTasks" : true,
"permOpen" : true,
"permAppend" : true,
"permEditTasks" : true,
"permTransfer" : true,
"permDistribute" : true,
"permCustom1" : false,
"permCustom2" : true,
"permCustom3" : false,
"permCustom4" : false,
"permCustom5" : false,
"permCustom6" : false,
"permCustom7" : false,
"permCustom8" : false,
"permCustom9" : true,
"permCustom10" : true,
"permCustom11" : true,
"permCustom12" : true
}, {
"accessItemId" : "WAI:100000000000000000000000000000000006",
"workbasketId" : "WBI:100000000000000000000000000000000009",
"accessId" : "user-2-2",
"workbasketKey" : "USER-2-2",
"accessName" : "Tim Schläfrig",
"permRead" : true,
"permReadTasks" : true,
"permOpen" : true,
"permAppend" : true,
"permEditTasks" : true,
"permTransfer" : true,
"permDistribute" : true,
"permCustom1" : true,
"permCustom2" : true,
"permCustom3" : true,
"permCustom4" : true,
"permCustom5" : true,
"permCustom6" : true,
"permCustom7" : true,
"permCustom8" : true,
"permCustom9" : true,
"permCustom10" : true,
"permCustom11" : true,
"permCustom12" : true
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbasket-access-items?sort-by=WORKBASKET_KEY&order=ASCENDING&access-id=user-2-2"
}
}
}
Delete a Workbasket Access Item
DELETE /api/v1/workbasket-access-items
This endpoint deletes all Workbasket Access Items for a provided Access Id.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
access-id |
String |
false |
The Access Id whose Workbasket Access Items should be removed. |
Request fields
No parameters.
Response fields
No response body.
Example request
DELETE /api/v1/workbasket-access-items?access-id=user-2-1 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Monitoring Resources
Compute a Workbasket Report
GET /api/v1/monitor/workbasket-report
This endpoint generates a Workbasket Report.
Each Row represents a Workbasket.
Each Column Header represents a Time Interval.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
task-timestamp |
String |
true |
Determine which Task Timestamp should be used for comparison. Must be one of [CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, DUE]. |
Parameter | Type | Optional | Description |
---|---|---|---|
in-working-days |
Boolean |
true |
Determine weather the report should convert the age of the Tasks into working days. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
state |
Array[String] |
true |
Filter by the task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
domain |
Array[String] |
true |
Filter by domain of the Task. This is an exact match. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
excluded-classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-in |
Array[String] |
true |
Filter out by values of the field custom1 of the Task. This is an exact match. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-in |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-in |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-in |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-in |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-in |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-in |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-in |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-in |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-in |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-in |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-in |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-in |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-in |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-in |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-in |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/workbasket-report?state=READY&state=CLAIMED&state=COMPLETED HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 872
{
"meta" : {
"name" : "WorkbasketReport",
"date" : "2024-05-29T15:27:58.899372407Z",
"header" : [ "<-11", "[-10 ... -5]", "-4" ],
"rowDesc" : [ "WORKBASKET" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 0, 0, 0 ],
"total" : 5,
"depth" : 0,
"desc" : [ "Postkorb Admin" ],
"display" : true
}, {
"cells" : [ 0, 0, 1 ],
"total" : 22,
"depth" : 0,
"desc" : [ "Gruppenpostkorb KSC" ],
"display" : true
}, {
"cells" : [ 0, 0, 0 ],
"total" : 2,
"depth" : 0,
"desc" : [ "PPK Teamlead KSC 1" ],
"display" : true
} ],
"sumRow" : [ {
"cells" : [ 0, 1, 2 ],
"total" : 97,
"depth" : 0,
"desc" : [ "Total" ],
"display" : true
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/workbasket-report?task-timestamp=DUE"
}
}
}
Compute a Workbasket Priority Report
GET /api/v1/monitor/workbasket-priority-report
This endpoint generates a Workbasket Priority Report.
Each Row represents a Workbasket.
Each Column Header represents a priority range.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
workbasket-type |
Array[Object] |
true |
Determine the WorkbasketTypes to include in the report. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
columnHeader |
Array[Object] |
true |
The column headers for the report. |
Parameter | Type | Optional | Description |
---|---|---|---|
in-working-days |
Boolean |
true |
Determine weather the report should convert the age of the Tasks into working days. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
state |
Array[String] |
true |
Filter by the task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
domain |
Array[String] |
true |
Filter by domain of the Task. This is an exact match. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
excluded-classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-in |
Array[String] |
true |
Filter out by values of the field custom1 of the Task. This is an exact match. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-in |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-in |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-in |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-in |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-in |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-in |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-in |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-in |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-in |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-in |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-in |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-in |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-in |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-in |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-in |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/workbasket-priority-report?workbasket-type=GROUP HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 788
{
"meta" : {
"name" : "WorkbasketPriorityReport",
"date" : "2024-05-29T15:27:59.204540392Z",
"header" : [ "<249", "250 - 500", ">501" ],
"rowDesc" : [ "WORKBASKET" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 21, 0, 1 ],
"total" : 22,
"depth" : 0,
"desc" : [ "GPK_KSC" ],
"display" : true
}, {
"cells" : [ 1, 0, 0 ],
"total" : 1,
"depth" : 0,
"desc" : [ "USER-B-2" ],
"display" : true
} ],
"sumRow" : [ {
"cells" : [ 22, 0, 1 ],
"total" : 23,
"depth" : 0,
"desc" : [ "Total" ],
"display" : true
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/workbasket-priority-report?workbasket-type=GROUP{&columnHeader}",
"templated" : true
}
}
}
Compute a Classification Category Report
GET /api/v1/monitor/classification-category-report
This endpoint generates a Classification Category Report
Each Row represents a Classification category.
Each Column Header represents a Time Interval.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
task-timestamp |
String |
true |
Determine which Task Timestamp should be used for comparison. Must be one of [CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, DUE]. |
Parameter | Type | Optional | Description |
---|---|---|---|
in-working-days |
Boolean |
true |
Determine weather the report should convert the age of the Tasks into working days. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
state |
Array[String] |
true |
Filter by the task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
domain |
Array[String] |
true |
Filter by domain of the Task. This is an exact match. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
excluded-classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-in |
Array[String] |
true |
Filter out by values of the field custom1 of the Task. This is an exact match. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-in |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-in |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-in |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-in |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-in |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-in |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-in |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-in |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-in |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-in |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-in |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-in |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-in |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-in |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-in |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/classification-category-report HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 882
{
"meta" : {
"name" : "ClassificationCategoryReport",
"date" : "2024-05-29T15:27:58.991059042Z",
"header" : [ "<-11", "[-10 ... -5]", "-4" ],
"rowDesc" : [ "CLASSIFICATION CATEGORIES" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 0, 0, 0 ],
"total" : 2,
"depth" : 0,
"desc" : [ "AUTOMATIC" ],
"display" : true
}, {
"cells" : [ 0, 1, 2 ],
"total" : 88,
"depth" : 0,
"desc" : [ "EXTERN" ],
"display" : true
}, {
"cells" : [ 0, 0, 0 ],
"total" : 2,
"depth" : 0,
"desc" : [ "MANUAL" ],
"display" : true
} ],
"sumRow" : [ {
"cells" : [ 0, 1, 2 ],
"total" : 92,
"depth" : 0,
"desc" : [ "Total" ],
"display" : true
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/classification-category-report?task-timestamp=DUE"
}
}
}
Compute a Classification Report
GET /api/v1/monitor/classification-report
This endpoint generates a Classification Report.
Each Row represents a Classification.
Each Column Header represents a Time Interval.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
task-timestamp |
String |
true |
Determine which Task Timestamp should be used for comparison. Must be one of [CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, DUE]. |
Parameter | Type | Optional | Description |
---|---|---|---|
in-working-days |
Boolean |
true |
Determine weather the report should convert the age of the Tasks into working days. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
state |
Array[String] |
true |
Filter by the task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
domain |
Array[String] |
true |
Filter by domain of the Task. This is an exact match. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
excluded-classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-in |
Array[String] |
true |
Filter out by values of the field custom1 of the Task. This is an exact match. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-in |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-in |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-in |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-in |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-in |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-in |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-in |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-in |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-in |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-in |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-in |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-in |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-in |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-in |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-in |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/classification-report HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 872
{
"meta" : {
"name" : "ClassificationReport",
"date" : "2024-05-29T15:27:59.355923803Z",
"header" : [ "<-11", "[-10 ... -5]", "-4" ],
"rowDesc" : [ "CLASSIFICATION" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 0, 0, 0 ],
"total" : 1,
"depth" : 0,
"desc" : [ "Beratungsprotokoll" ],
"display" : true
}, {
"cells" : [ 0, 1, 1 ],
"total" : 57,
"depth" : 0,
"desc" : [ "Widerruf" ],
"display" : true
}, {
"cells" : [ 0, 0, 1 ],
"total" : 22,
"depth" : 0,
"desc" : [ "Widerruf neu" ],
"display" : true
} ],
"sumRow" : [ {
"cells" : [ 0, 1, 2 ],
"total" : 92,
"depth" : 0,
"desc" : [ "Total" ],
"display" : true
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/classification-report?task-timestamp=DUE"
}
}
}
Compute a Detailed Classification Report
GET /api/v1/monitor/detailed-classification-report
This endpoint generates a Detailed Classification Report.
Each Foldable Row represents a Classification and can be expanded to show the Classification of Attachments.
Each Column Header represents a Time Interval.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
task-timestamp |
String |
true |
Determine which Task Timestamp should be used for comparison. Must be one of [CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, DUE]. |
Parameter | Type | Optional | Description |
---|---|---|---|
in-working-days |
Boolean |
true |
Determine weather the report should convert the age of the Tasks into working days. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
state |
Array[String] |
true |
Filter by the task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
domain |
Array[String] |
true |
Filter by domain of the Task. This is an exact match. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
excluded-classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-in |
Array[String] |
true |
Filter out by values of the field custom1 of the Task. This is an exact match. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-in |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-in |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-in |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-in |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-in |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-in |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-in |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-in |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-in |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-in |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-in |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-in |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-in |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-in |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-in |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/detailed-classification-report HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1205
{
"meta" : {
"name" : "DetailedClassificationReport",
"date" : "2024-05-29T15:27:58.594838898Z",
"header" : [ "<-11", "[-10 ... -5]", "-4" ],
"rowDesc" : [ "TASK CLASSIFICATION", "ATTACHMENT" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 0, 0, 0 ],
"total" : 1,
"depth" : 0,
"desc" : [ "Beratungsprotokoll", null ],
"display" : true
}, {
"cells" : [ 0, 0, 0 ],
"total" : 1,
"depth" : 1,
"desc" : [ "Beratungsprotokoll", "N/A" ],
"display" : false
}, {
"cells" : [ 0, 1, 1 ],
"total" : 57,
"depth" : 0,
"desc" : [ "Widerruf", null ],
"display" : true
} ],
"sumRow" : [ {
"cells" : [ 0, 1, 2 ],
"total" : 99,
"depth" : 0,
"desc" : [ "Total", null ],
"display" : true
}, {
"cells" : [ 0, 0, 0 ],
"total" : 1,
"depth" : 1,
"desc" : [ "Total", "Beratungsprotokoll" ],
"display" : false
}, {
"cells" : [ 0, 0, 0 ],
"total" : 7,
"depth" : 1,
"desc" : [ "Total", "Widerruf" ],
"display" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/detailed-classification-report?task-timestamp=DUE"
}
}
}
Compute a Detailed Classification Report
GET /api/v1/monitor/task-custom-field-value-report
This endpoint generates a Task Custom Field Value Report.
Each Row represents a value of the requested Task Custom Field.
Each Column Header represents a Time Interval.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
custom-field |
String |
false |
The Task Custom Field whose values are of interest. Must be one of [CUSTOM_1, CUSTOM_2, CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16]. |
task-timestamp |
String |
true |
Determine which Task Timestamp should be used for comparison. Must be one of [CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, DUE]. |
Parameter | Type | Optional | Description |
---|---|---|---|
in-working-days |
Boolean |
true |
Determine weather the report should convert the age of the Tasks into working days. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
state |
Array[String] |
true |
Filter by the task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
domain |
Array[String] |
true |
Filter by domain of the Task. This is an exact match. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
excluded-classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-in |
Array[String] |
true |
Filter out by values of the field custom1 of the Task. This is an exact match. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-in |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-in |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-in |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-in |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-in |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-in |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-in |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-in |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-in |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-in |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-in |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-in |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-in |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-in |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-in |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/task-custom-field-value-report?custom-field=CUSTOM_14 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 884
{
"meta" : {
"name" : "TaskCustomFieldValueReport",
"date" : "2024-05-29T15:27:59.125993068Z",
"header" : [ "<-11", "[-10 ... -5]", "-4" ],
"rowDesc" : [ "TASK CUSTOM FIELDS" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 0, 1, 2 ],
"total" : 90,
"depth" : 0,
"desc" : [ "abc" ],
"display" : true
}, {
"cells" : [ 0, 0, 0 ],
"total" : 1,
"depth" : 0,
"desc" : [ "dde" ],
"display" : true
}, {
"cells" : [ 0, 0, 0 ],
"total" : 1,
"depth" : 0,
"desc" : [ "ert" ],
"display" : true
} ],
"sumRow" : [ {
"cells" : [ 0, 1, 2 ],
"total" : 92,
"depth" : 0,
"desc" : [ "Total" ],
"display" : true
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/task-custom-field-value-report?custom-field=CUSTOM_14&task-timestamp=DUE"
}
}
}
Compute a Task Status Report
GET /api/v1/monitor/task-status-report
This endpoint generates a Task Status Report.
Each Row represents a Workbasket.
Each Column Header represents a Task State.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
domain |
Object |
true |
Filter the report values by domains. |
state |
Object |
true |
Filter the report values by Task states. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
workbasket-id |
Object |
true |
Filter the report values by Workbasket Ids. |
priority-minimum |
Integer |
true |
Filter the report values by a minimum priority. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/task-status-report HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 910
{
"meta" : {
"name" : "TaskStatusReport",
"date" : "2024-05-29T15:27:59.069566119Z",
"header" : [ "READY", "CLAIMED", "READY_FOR_REVIEW" ],
"rowDesc" : [ "DOMAINS" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 3, 1, 0 ],
"total" : 5,
"depth" : 0,
"desc" : [ "Postkorb Admin" ],
"display" : true
}, {
"cells" : [ 22, 0, 0 ],
"total" : 22,
"depth" : 0,
"desc" : [ "Gruppenpostkorb KSC" ],
"display" : true
}, {
"cells" : [ 0, 1, 0 ],
"total" : 2,
"depth" : 0,
"desc" : [ "PPK Teamlead KSC 1" ],
"display" : true
} ],
"sumRow" : [ {
"cells" : [ 57, 23, 1 ],
"total" : 92,
"depth" : 0,
"desc" : [ "Total" ],
"display" : true
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/task-status-report{?domain,state,workbasket-id,priority-minimum}"
}
}
}
Compute a Timestamp Report
GET /api/v1/monitor/timestamp-report
This endpoint generates a Timestamp Report.
Each Foldable Row represents a TaskTimestamp and can be expanded to display the four organization levels of the corresponding Workbasket.
Each Column Header represents a TimeInterval.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
task-timestamp |
Array[Object] |
true |
Filter by the Task Timestamp of the task. Must be one of [CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, DUE]. |
Parameter | Type | Optional | Description |
---|---|---|---|
in-working-days |
Boolean |
true |
Determine weather the report should convert the age of the Tasks into working days. |
workbasket-id |
Array[String] |
true |
Filter by workbasket id of the Task. This is an exact match. |
state |
Array[String] |
true |
Filter by the task state. This is an exact match. Must be one of [READY, CLAIMED, READY_FOR_REVIEW, IN_REVIEW, COMPLETED, CANCELLED, TERMINATED]. |
classification-category |
Array[String] |
true |
Filter by the classification category of the Task. This is an exact match. |
domain |
Array[String] |
true |
Filter by domain of the Task. This is an exact match. |
classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
excluded-classification-id |
Array[String] |
true |
Filter by the classification id of the Task. This is an exact match. |
custom-1 |
Array[String] |
true |
Filter by the value of the field custom1 of the Task. This is an exact match. |
custom-1-like |
Array[String] |
true |
Filter by the custom1 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-1-not-in |
Array[String] |
true |
Filter out by values of the field custom1 of the Task. This is an exact match. |
custom-2 |
Array[String] |
true |
Filter by the value of the field custom2 of the Task. This is an exact match. |
custom-2-like |
Array[String] |
true |
Filter by the custom2 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-2-not-in |
Array[String] |
true |
Filter out by values of the field custom2 of the Task. This is an exact match. |
custom-3 |
Array[String] |
true |
Filter by the value of the field custom3 of the Task. This is an exact match. |
custom-3-like |
Array[String] |
true |
Filter by the custom3 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-3-not-in |
Array[String] |
true |
Filter out by values of the field custom3 of the Task. This is an exact match. |
custom-4 |
Array[String] |
true |
Filter by the value of the field custom4 of the Task. This is an exact match. |
custom-4-like |
Array[String] |
true |
Filter by the custom4 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-4-not-in |
Array[String] |
true |
Filter out by values of the field custom4 of the Task. This is an exact match. |
custom-5 |
Array[String] |
true |
Filter by the value of the field custom5 of the Task. This is an exact match. |
custom-5-like |
Array[String] |
true |
Filter by the custom5 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-5-not-in |
Array[String] |
true |
Filter out by values of the field custom5 of the Task. This is an exact match. |
custom-6 |
Array[String] |
true |
Filter by the value of the field custom6 of the Task. This is an exact match. |
custom-6-like |
Array[String] |
true |
Filter by the custom6 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-6-not-in |
Array[String] |
true |
Filter out by values of the field custom6 of the Task. This is an exact match. |
custom-7 |
Array[String] |
true |
Filter by the value of the field custom7 of the Task. This is an exact match. |
custom-7-like |
Array[String] |
true |
Filter by the custom7 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-7-not-in |
Array[String] |
true |
Filter out by values of the field custom7 of the Task. This is an exact match. |
custom-8 |
Array[String] |
true |
Filter by the value of the field custom8 of the Task. This is an exact match. |
custom-8-like |
Array[String] |
true |
Filter by the custom8 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-8-not-in |
Array[String] |
true |
Filter out by values of the field custom8 of the Task. This is an exact match. |
custom-9 |
Array[String] |
true |
Filter by the value of the field custom9 of the Task. This is an exact match. |
custom-9-like |
Array[String] |
true |
Filter by the custom9 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-9-not-in |
Array[String] |
true |
Filter out by values of the field custom9 of the Task. This is an exact match. |
custom-10 |
Array[String] |
true |
Filter by the value of the field custom10 of the Task. This is an exact match. |
custom-10-like |
Array[String] |
true |
Filter by the custom10 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-10-not-in |
Array[String] |
true |
Filter out by values of the field custom10 of the Task. This is an exact match. |
custom-11 |
Array[String] |
true |
Filter by the value of the field custom11 of the Task. This is an exact match. |
custom-11-like |
Array[String] |
true |
Filter by the custom11 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-11-not-in |
Array[String] |
true |
Filter out by values of the field custom11 of the Task. This is an exact match. |
custom-12 |
Array[String] |
true |
Filter by the value of the field custom12 of the Task. This is an exact match. |
custom-12-like |
Array[String] |
true |
Filter by the custom12 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-12-not-in |
Array[String] |
true |
Filter out by values of the field custom12 of the Task. This is an exact match. |
custom-13 |
Array[String] |
true |
Filter by the value of the field custom13 of the Task. This is an exact match. |
custom-13-like |
Array[String] |
true |
Filter by the custom13 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-13-not-in |
Array[String] |
true |
Filter out by values of the field custom13 of the Task. This is an exact match. |
custom-14 |
Array[String] |
true |
Filter by the value of the field custom14 of the Task. This is an exact match. |
custom-14-like |
Array[String] |
true |
Filter by the custom14 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-14-not-in |
Array[String] |
true |
Filter out by values of the field custom14 of the Task. This is an exact match. |
custom-15 |
Array[String] |
true |
Filter by the value of the field custom15 of the Task. This is an exact match. |
custom-15-like |
Array[String] |
true |
Filter by the custom15 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-15-not-in |
Array[String] |
true |
Filter out by values of the field custom15 of the Task. This is an exact match. |
custom-16 |
Array[String] |
true |
Filter by the value of the field custom16 of the Task. This is an exact match. |
custom-16-like |
Array[String] |
true |
Filter by the custom16 field of the Task. This results in a substring search (% is appended to the front and end of the requested value). Further SQL "LIKE" wildcard characters will be resolved correctly. |
custom-16-not-in |
Array[String] |
true |
Filter out by values of the field custom16 of the Task. This is an exact match. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
meta |
Object |
true |
Object holding meta info on the report. |
meta.name |
String |
true |
Name of the report. |
meta.date |
String |
true |
Date of the report creation. |
meta.header |
Array[String] |
true |
Column headers of the report. |
meta.rowDesc |
Array[String] |
true |
Descriptions for the rows of the report. |
meta.sumRowDesc |
String |
true |
Description for the sum column. |
rows |
Array[Object] |
true |
Array holding the rows of the report. |
rows[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
rows[].total |
Integer |
true |
Sum of all values of the given row. |
rows[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
rows[].desc |
Array[String] |
true |
Array containing description of the row. |
rows[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
sumRow |
Array[Object] |
true |
Array holding the sums in the columns over all rows. |
sumRow[].cells |
Array[Integer] |
true |
Array holding all the cell values of the given row. |
sumRow[].total |
Integer |
true |
Sum of all values of the given row. |
sumRow[].depth |
Integer |
true |
Depth of the row. If the depth is > 0, then this row is a sub-row of a prior row. |
sumRow[].desc |
Array[String] |
true |
Array containing description of the row. |
sumRow[].display |
Boolean |
true |
Boolean identifying if the given row should be initially displayed or not. |
Example request
GET /api/v1/monitor/timestamp-report HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1187
{
"meta" : {
"name" : "TimestampReport",
"date" : "2024-05-29T15:27:59.282872103Z",
"header" : [ "<-11", "[-10 ... -5]", "-4" ],
"rowDesc" : [ "STATES", "ORG LEVEL 1", "ORG LEVEL 2" ],
"sumRowDesc" : "Total"
},
"rows" : [ {
"cells" : [ 0, 0, 0 ],
"total" : 9,
"depth" : 0,
"desc" : [ "COMPLETED", null, null ],
"display" : true
}, {
"cells" : [ 0, 0, 0 ],
"total" : 4,
"depth" : 1,
"desc" : [ "COMPLETED", "N/A", null ],
"display" : false
}, {
"cells" : [ 0, 0, 0 ],
"total" : 4,
"depth" : 2,
"desc" : [ "COMPLETED", "N/A", "N/A" ],
"display" : false
} ],
"sumRow" : [ {
"cells" : [ 0, 19, 5 ],
"total" : 101,
"depth" : 0,
"desc" : [ "Total", null, null ],
"display" : true
}, {
"cells" : [ 0, 19, 5 ],
"total" : 49,
"depth" : 1,
"desc" : [ "Total", "N/A", null ],
"display" : false
}, {
"cells" : [ 0, 19, 5 ],
"total" : 49,
"depth" : 2,
"desc" : [ "Total", "N/A", "N/A" ],
"display" : false
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/monitor/timestamp-report{?task-timestamp}"
}
}
}
Access Id Resource
Search for Access Id (users and groups)
GET /api/v1/access-ids
This endpoint searches a provided access Id in the configured ldap. configured one.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
search-for |
String |
false |
The Access Id which should be searched for. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
[].name |
String |
true |
The name of this Access Id. |
[].accessId |
String |
true |
The value of the Access Id. This value will be used to determine the access to a workbasket. |
Example request
GET /api/v1/access-ids?search-for=max HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 161
[ {
"name" : "Renz, Max",
"accessId" : "das_ist_eine_sehr_sehr_sehr_sehr_sehr_lange_user_id"
}, {
"name" : "Mustermann, Max",
"accessId" : "user-1-1"
} ]
Get groups for Access Id
GET /api/v1/access-ids/groups
This endpoint retrieves all groups a given Access Id belongs to.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
access-id |
String |
false |
The Access Id whose groups should be determined. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
[].name |
String |
true |
The name of this Access Id. |
[].accessId |
String |
true |
The value of the Access Id. This value will be used to determine the access to a workbasket. |
Example request
GET /api/v1/access-ids/groups?access-id=teamlead-1 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 291
[ {
"name" : "business-admins",
"accessId" : "cn=business-admins,cn=groups,ou=test,o=taskana"
}, {
"name" : "ksc-teamleads",
"accessId" : "cn=ksc-teamleads,cn=groups,ou=test,o=taskana"
}, {
"name" : "monitor-users",
"accessId" : "cn=monitor-users,cn=groups,ou=test,o=taskana"
} ]
Search for Access Id (users) in TASKANA user role
GET /api/v1/access-ids/with-name
This endpoint searches AccessIds for a provided name or Access Id. It will only search and return users and members of groups which are configured with the requested TASKANA role. This search will only work if the users in the configured LDAP have an attribute that shows their group memberships, e.g. "memberOf" configured one. or ADMIN.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
search-for |
String |
false |
The name or Access Id which should be searched for. |
role |
String |
false |
The role for which all users should be searched for. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
[].name |
String |
true |
The name of this Access Id. |
[].accessId |
String |
true |
The value of the Access Id. This value will be used to determine the access to a workbasket. |
Example request
GET /api/v1/access-ids/with-name?search-for=user-1&role=user HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 122
[ {
"name" : "Mustermann, Max",
"accessId" : "user-1-1"
}, {
"name" : "Eifrig, Elena",
"accessId" : "user-1-2"
} ]
User Resource
Get a User
GET /api/v1/users/{userId}
This endpoint retrieves a User.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
userId |
String |
false |
The id of the requested User. |
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
userId |
String |
true |
Unique Id. |
groups |
Array[String] |
true |
The groups of the User. |
permissions |
Array[String] |
true |
The permissions of the User. |
domains |
Array[String] |
true |
The domains of the User. The domains are derived from the WorkbasketPermissions and the according TASKANA property taskana.user.minimalPermissionsToAssignDomains. |
firstName |
String |
true |
The first name of the User. |
lastName |
String |
true |
The last name of the User. |
fullName |
String |
true |
The full name of the User. |
longName |
String |
true |
The long name of the User. |
String |
true |
The email of the User. |
|
phone |
String |
true |
The phone number of the User. |
mobilePhone |
String |
true |
The mobile phone number of the User. |
orgLevel4 |
String |
true |
The fourth organisation level of the User. |
orgLevel3 |
String |
true |
The third organisation level of the User. |
orgLevel2 |
String |
true |
The second organisation level of the User. |
orgLevel1 |
String |
true |
The first organisation level of the User. |
data |
String |
true |
The data of the User. This field is used for additional information about the User. |
Example request
GET /api/v1/users/teamlead-1 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 454
{
"userId" : "teamlead-1",
"groups" : [ ],
"permissions" : [ ],
"domains" : [ "DOMAIN_A" ],
"firstName" : "new name",
"lastName" : "Toll",
"fullName" : "Toll, new name",
"longName" : "Toll, new name - (teamlead-1)",
"email" : "titus.toll@web.de",
"phone" : "040-2951854",
"mobilePhone" : "015637683197",
"orgLevel4" : "Novatec",
"orgLevel3" : "BPM",
"orgLevel2" : "Human Workflow",
"orgLevel1" : "TASKANA",
"data" : "xy"
}
Get multiple Users
GET /api/v1/users
This endpoint retrieves multiple Users. If a userId can’t be found in the database it will be ignored. If none of the given userIds is valid, the returned list will be empty. If currentUser is set, the current User from the context will be retrieved as well.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
user-id |
Array[String] |
true |
The ids of the requested Users. |
current-user |
String |
true |
Indicates whether to fetch the current user or not as well. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
users |
Array[Object] |
true |
The embedded users. |
users[].userId |
String |
true |
Unique Id. |
users[].groups |
Array[String] |
true |
The groups of the User. |
users[].permissions |
Array[String] |
true |
The permissions of the User. |
users[].domains |
Array[String] |
true |
The domains of the User. The domains are derived from the WorkbasketPermissions and the according TASKANA property taskana.user.minimalPermissionsToAssignDomains. |
users[].firstName |
String |
true |
The first name of the User. |
users[].lastName |
String |
true |
The last name of the User. |
users[].fullName |
String |
true |
The full name of the User. |
users[].longName |
String |
true |
The long name of the User. |
users[].email |
String |
true |
The email of the User. |
users[].phone |
String |
true |
The phone number of the User. |
users[].mobilePhone |
String |
true |
The mobile phone number of the User. |
users[].orgLevel4 |
String |
true |
The fourth organisation level of the User. |
users[].orgLevel3 |
String |
true |
The third organisation level of the User. |
users[].orgLevel2 |
String |
true |
The second organisation level of the User. |
users[].orgLevel1 |
String |
true |
The first organisation level of the User. |
users[].data |
String |
true |
The data of the User. This field is used for additional information about the User. |
Example request
GET /api/v1/users?user-id=teamlead-1&user-id=user-1-1 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1119
{
"users" : [ {
"userId" : "teamlead-1",
"groups" : [ ],
"permissions" : [ ],
"domains" : [ "DOMAIN_A" ],
"firstName" : "Titus",
"lastName" : "Toll",
"fullName" : "Toll, Titus",
"longName" : "Toll, Titus - (teamlead-1)",
"email" : "titus.toll@web.de",
"phone" : "040-2951854",
"mobilePhone" : "015637683197",
"orgLevel4" : "Novatec",
"orgLevel3" : "BPM",
"orgLevel2" : "Human Workflow",
"orgLevel1" : "TASKANA",
"data" : "xy"
}, {
"userId" : "user-1-1",
"groups" : [ ],
"permissions" : [ ],
"domains" : [ "DOMAIN_A" ],
"firstName" : "Max",
"lastName" : "Mustermann",
"fullName" : "Mustermann, Max",
"longName" : "Mustermann, Max - (user-1-1)",
"email" : "max.mustermann@web.de",
"phone" : "040-2951854",
"mobilePhone" : "015637683197",
"orgLevel4" : "Novatec",
"orgLevel3" : "BPM",
"orgLevel2" : "Human Workflow",
"orgLevel1" : "TASKANA",
"data" : ""
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/users?user-id=teamlead-1&user-id=user-1-1"
}
}
}
Create a User
POST /api/v1/users
This endpoint creates a User.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userId |
String |
true |
Unique Id. |
groups |
Array[String] |
true |
The groups of the User. |
permissions |
Array[String] |
true |
The permissions of the User. |
domains |
Array[String] |
true |
The domains of the User. The domains are derived from the WorkbasketPermissions and the according TASKANA property taskana.user.minimalPermissionsToAssignDomains. |
firstName |
String |
true |
The first name of the User. |
lastName |
String |
true |
The last name of the User. |
fullName |
String |
true |
The full name of the User. |
longName |
String |
true |
The long name of the User. |
String |
true |
The email of the User. |
|
phone |
String |
true |
The phone number of the User. |
mobilePhone |
String |
true |
The mobile phone number of the User. |
orgLevel4 |
String |
true |
The fourth organisation level of the User. |
orgLevel3 |
String |
true |
The third organisation level of the User. |
orgLevel2 |
String |
true |
The second organisation level of the User. |
orgLevel1 |
String |
true |
The first organisation level of the User. |
data |
String |
true |
The data of the User. This field is used for additional information about the User. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
userId |
String |
true |
Unique Id. |
groups |
Array[String] |
true |
The groups of the User. |
permissions |
Array[String] |
true |
The permissions of the User. |
domains |
Array[String] |
true |
The domains of the User. The domains are derived from the WorkbasketPermissions and the according TASKANA property taskana.user.minimalPermissionsToAssignDomains. |
firstName |
String |
true |
The first name of the User. |
lastName |
String |
true |
The last name of the User. |
fullName |
String |
true |
The full name of the User. |
longName |
String |
true |
The long name of the User. |
String |
true |
The email of the User. |
|
phone |
String |
true |
The phone number of the User. |
mobilePhone |
String |
true |
The mobile phone number of the User. |
orgLevel4 |
String |
true |
The fourth organisation level of the User. |
orgLevel3 |
String |
true |
The third organisation level of the User. |
orgLevel2 |
String |
true |
The second organisation level of the User. |
orgLevel1 |
String |
true |
The first organisation level of the User. |
data |
String |
true |
The data of the User. This field is used for additional information about the User. |
Example request
POST /api/v1/users HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 136
Host: localhost:8080
{
"userId" : "user-10-2",
"groups" : [ ],
"permissions" : [ ],
"domains" : [ ],
"firstName" : "Hans",
"lastName" : "Georg"
}
Example response
HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 210
{
"userId" : "user-10-2",
"groups" : [ ],
"permissions" : [ ],
"domains" : [ ],
"firstName" : "Hans",
"lastName" : "Georg",
"fullName" : "Georg, Hans",
"longName" : "Georg, Hans - (user-10-2)"
}
Update a User
PUT /api/v1/users/{userId}
This endpoint updates a User.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
userId |
String |
false |
The id of the User to update. |
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
userId |
String |
true |
Unique Id. |
groups |
Array[String] |
true |
The groups of the User. |
permissions |
Array[String] |
true |
The permissions of the User. |
domains |
Array[String] |
true |
The domains of the User. The domains are derived from the WorkbasketPermissions and the according TASKANA property taskana.user.minimalPermissionsToAssignDomains. |
firstName |
String |
true |
The first name of the User. |
lastName |
String |
true |
The last name of the User. |
fullName |
String |
true |
The full name of the User. |
longName |
String |
true |
The long name of the User. |
String |
true |
The email of the User. |
|
phone |
String |
true |
The phone number of the User. |
mobilePhone |
String |
true |
The mobile phone number of the User. |
orgLevel4 |
String |
true |
The fourth organisation level of the User. |
orgLevel3 |
String |
true |
The third organisation level of the User. |
orgLevel2 |
String |
true |
The second organisation level of the User. |
orgLevel1 |
String |
true |
The first organisation level of the User. |
data |
String |
true |
The data of the User. This field is used for additional information about the User. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
userId |
String |
true |
Unique Id. |
groups |
Array[String] |
true |
The groups of the User. |
permissions |
Array[String] |
true |
The permissions of the User. |
domains |
Array[String] |
true |
The domains of the User. The domains are derived from the WorkbasketPermissions and the according TASKANA property taskana.user.minimalPermissionsToAssignDomains. |
firstName |
String |
true |
The first name of the User. |
lastName |
String |
true |
The last name of the User. |
fullName |
String |
true |
The full name of the User. |
longName |
String |
true |
The long name of the User. |
String |
true |
The email of the User. |
|
phone |
String |
true |
The phone number of the User. |
mobilePhone |
String |
true |
The mobile phone number of the User. |
orgLevel4 |
String |
true |
The fourth organisation level of the User. |
orgLevel3 |
String |
true |
The third organisation level of the User. |
orgLevel2 |
String |
true |
The second organisation level of the User. |
orgLevel1 |
String |
true |
The first organisation level of the User. |
data |
String |
true |
The data of the User. This field is used for additional information about the User. |
Example request
PUT /api/v1/users/teamlead-1 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 448
Host: localhost:8080
{
"userId" : "teamlead-1",
"groups" : [ ],
"permissions" : [ ],
"domains" : [ "DOMAIN_A" ],
"firstName" : "new name",
"lastName" : "Toll",
"fullName" : "Toll, Titus",
"longName" : "Toll, Titus - (teamlead-1)",
"email" : "titus.toll@web.de",
"phone" : "040-2951854",
"mobilePhone" : "015637683197",
"orgLevel4" : "Novatec",
"orgLevel3" : "BPM",
"orgLevel2" : "Human Workflow",
"orgLevel1" : "TASKANA",
"data" : "xy"
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 454
{
"userId" : "teamlead-1",
"groups" : [ ],
"permissions" : [ ],
"domains" : [ "DOMAIN_A" ],
"firstName" : "new name",
"lastName" : "Toll",
"fullName" : "Toll, new name",
"longName" : "Toll, new name - (teamlead-1)",
"email" : "titus.toll@web.de",
"phone" : "040-2951854",
"mobilePhone" : "015637683197",
"orgLevel4" : "Novatec",
"orgLevel3" : "BPM",
"orgLevel2" : "Human Workflow",
"orgLevel1" : "TASKANA",
"data" : "xy"
}
Delete a User
DELETE /api/v1/users/{userId}
This endpoint deletes a User.
Path parameters
Parameter | Type | Optional | Description |
---|---|---|---|
userId |
String |
false |
The id of the User to delete. |
Query parameters
No parameters.
Request fields
No parameters.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
userId |
String |
true |
Unique Id. |
groups |
Array[String] |
true |
The groups of the User. |
permissions |
Array[String] |
true |
The permissions of the User. |
domains |
Array[String] |
true |
The domains of the User. The domains are derived from the WorkbasketPermissions and the according TASKANA property taskana.user.minimalPermissionsToAssignDomains. |
firstName |
String |
true |
The first name of the User. |
lastName |
String |
true |
The last name of the User. |
fullName |
String |
true |
The full name of the User. |
longName |
String |
true |
The long name of the User. |
String |
true |
The email of the User. |
|
phone |
String |
true |
The phone number of the User. |
mobilePhone |
String |
true |
The mobile phone number of the User. |
orgLevel4 |
String |
true |
The fourth organisation level of the User. |
orgLevel3 |
String |
true |
The third organisation level of the User. |
orgLevel2 |
String |
true |
The second organisation level of the User. |
orgLevel1 |
String |
true |
The first organisation level of the User. |
data |
String |
true |
The data of the User. This field is used for additional information about the User. |
Example request
DELETE /api/v1/users/user-1-1 HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Configuration Resources
Get Domains
GET /api/v1/domains
This endpoint retrieves all configured Domains.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
No request body.
Response fields
No response body.
Example request
GET /api/v1/domains HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 38
[ "DOMAIN_A", "DOMAIN_B", "DOMAIN_C" ]
Get Classification Categories
GET /api/v1/classification-categories
This endpoint retrieves the configured classification categories for a specific classification type. classification categories will be returned.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
type |
String |
true |
The classification type whose categories should be determined. If not specified all classification categories will be returned. |
Request fields
No request body.
Response fields
No response body.
Example request
GET /api/v1/classification-categories HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 37
[ "EXTERNAL", "MANUAL", "AUTOMATIC" ]
Get Classification Types
GET /api/v1/classification-types
This endpoint retrieves the configured classification types.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
No request body.
Response fields
No response body.
Example request
GET /api/v1/classification-types HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 22
[ "TASK", "DOCUMENT" ]
Get Classification Categories By Type Map
GET /api/v1/classifications-by-type
This endpoint retrieves all configured classification categories grouped by each classification type.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
No request body.
Response fields
No response body.
Example request
GET /api/v1/classifications-by-type HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 83
{
"TASK" : [ "EXTERNAL", "MANUAL", "AUTOMATIC" ],
"DOCUMENT" : [ "EXTERNAL" ]
}
Get Current User Info
GET /api/v1/current-user-info
This endpoint computes all information of the current user.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
userId |
String |
true |
The user Id of the current user. |
groupIds |
Array[String] |
true |
All groups the current user is a member of. |
roles |
Array[String] |
true |
All taskana roles the current user fulfills. Must be one of [USER, BUSINESS_ADMIN, ADMIN, MONITOR, TASK_ADMIN, TASK_ROUTER]. |
Example request
GET /api/v1/current-user-info HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 69
{
"userId" : "admin",
"groupIds" : [ ],
"roles" : [ "ADMIN" ]
}
Get Is History Provider Enabled
GET /api/v1/history-provider-enabled
This endpoint checks if the history module is in use.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
No request body.
Response fields
No response body.
Example request
GET /api/v1/history-provider-enabled HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 5
false
Current Version
GET /api/v1/version
Get the current application version.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
version |
String |
true |
The current TASKANA version of the REST Service. |
Example request
GET /api/v1/version HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 34
{
"version" : "8.0.2-SNAPSHOT"
}
Get custom configuration
GET /api/v1/config/custom-attributes
This endpoint retrieves the saved custom configuration.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
customAttributes |
Map |
true |
The custom configuration attributes. |
Example request
GET /api/v1/config/custom-attributes HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 440
{
"customAttributes" : {
"schema" : {
"Filter" : {
"displayName" : "Filter for Task-Priority-Report",
"members" : {
"filter" : {
"min" : "1",
"displayName" : "Filter values",
"type" : "json"
}
}
}
},
"filter" : "{ \"Tasks with state READY\": { \"state\": [\"READY\"]}, \"Tasks with state CLAIMED\": {\"state\": [\"CLAIMED\"] }}"
}
}
Set all custom configuration
PUT /api/v1/config/custom-attributes
This endpoint overrides the custom configuration.
Path parameters
No parameters.
Query parameters
No parameters.
Request fields
Path | Type | Optional | Description |
---|---|---|---|
customAttributes |
Map |
true |
The custom configuration attributes. |
Response fields
Path | Type | Optional | Description |
---|---|---|---|
customAttributes |
Map |
true |
The custom configuration attributes. |
Example request
PUT /api/v1/config/custom-attributes HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Content-Length: 440
Host: localhost:8080
{
"customAttributes" : {
"schema" : {
"Filter" : {
"displayName" : "Filter for Task-Priority-Report",
"members" : {
"filter" : {
"displayName" : "Filter values",
"type" : "json",
"min" : "1"
}
}
}
},
"filter" : "{ \"Tasks with state READY\": { \"state\": [\"READY\"]}, \"Tasks with state CLAIMED\": {\"state\": [\"CLAIMED\"] }}"
}
}
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 440
{
"customAttributes" : {
"schema" : {
"Filter" : {
"displayName" : "Filter for Task-Priority-Report",
"members" : {
"filter" : {
"displayName" : "Filter values",
"type" : "json",
"min" : "1"
}
}
}
},
"filter" : "{ \"Tasks with state READY\": { \"state\": [\"READY\"]}, \"Tasks with state CLAIMED\": {\"state\": [\"CLAIMED\"] }}"
}
}
Import / Export
Export Classifications
GET /api/v1/classification-definitions
This endpoint exports all configured Classifications.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
domain |
Array[String] |
true |
Filter the export by domain. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
classifications |
Array[Object] |
true |
The embedded classification definitions. |
classifications[].classificationId |
String |
true |
Unique Id. |
classifications[].key |
String |
true |
The key of the Classification. This is typically an externally known code or abbreviation of the Classification. |
classifications[].applicationEntryPoint |
String |
true |
The logical name of the entry point. This is needed by the task list application to determine the redirect to work on a task of this Classification. |
classifications[].category |
String |
true |
The category of the classification. Categories can be configured in the file 'taskana.properties'. |
classifications[].domain |
String |
true |
The domain for which this classification is specified. |
classifications[].name |
String |
true |
The name of the classification. |
classifications[].parentId |
String |
true |
The Id of the parent classification. Empty string ("") if this is a root classification. |
classifications[].parentKey |
String |
true |
The key of the parent classification. Empty string ("") if this is a root classification. |
classifications[].priority |
Integer |
true |
The priority of the classification. |
classifications[].serviceLevel |
String |
true |
The service level of the classification. This is stated according to ISO 8601. |
classifications[].type |
String |
true |
The type of classification. Types can be configured in the file 'taskana.properties'. |
classifications[].custom1 |
String |
true |
A custom property with name "1". |
classifications[].custom2 |
String |
true |
A custom property with name "2". |
classifications[].custom3 |
String |
true |
A custom property with name "3". |
classifications[].custom4 |
String |
true |
A custom property with name "4". |
classifications[].custom5 |
String |
true |
A custom property with name "5". |
classifications[].custom6 |
String |
true |
A custom property with name "6". |
classifications[].custom7 |
String |
true |
A custom property with name "7". |
classifications[].custom8 |
String |
true |
A custom property with name "8". |
classifications[].isValidInDomain |
Boolean |
true |
True, if this classification to objects in this domain. |
classifications[].created |
String |
true |
The creation timestamp of the classification in the system. The format is ISO-8601. |
classifications[].modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
classifications[].description |
String |
true |
The description of the classification. |
Example request
GET /api/v1/classification-definitions HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 2115
{
"classifications" : [ {
"classificationId" : "CLI:000000000000000000000000000000000001",
"key" : "L10000",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "OLD-Leistungsfall",
"parentId" : "",
"parentKey" : "",
"priority" : 999,
"serviceLevel" : "P1D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"isValidInDomain" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"description" : "OLD-Leistungsfall"
}, {
"classificationId" : "CLI:000000000000000000000000000000000002",
"key" : "L10303",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Beratungsprotokoll",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P2D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR, ANR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"isValidInDomain" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"description" : "Beratungsprotokoll"
}, {
"classificationId" : "CLI:000000000000000000000000000000000003",
"key" : "L1050",
"applicationEntryPoint" : "",
"category" : "EXTERNAL",
"domain" : "",
"name" : "Widerruf",
"parentId" : "",
"parentKey" : "",
"priority" : 1,
"serviceLevel" : "P3D",
"type" : "TASK",
"custom1" : "VNR,RVNR,KOLVNR",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"isValidInDomain" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z",
"description" : "Widerruf"
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/classification-definitions"
}
}
}
Import Classifications
POST /api/v1/classification-definitions
This endpoint imports all Classifications. Existing Classifications will not be removed. Existing Classifications with the same key/domain will be overridden. with the ISO 8601 specification.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
file |
Object |
false |
The file containing the Classifications which should be imported. |
Request fields
No parameters.
Response fields
No response body.
Example request
POST /api/v1/classification-definitions HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Type: application/hal+json; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Authorization: Basic YWRtaW46YWRtaW4=
Host: localhost:8080
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file
{"classifications":[{"key":"Key0815","domain":"DOMAIN_B","priority":0,"serviceLevel":"P1D","type":"TASK"}]}
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Export Workbaskets
GET /api/v1/workbasket-definitions
This endpoint exports all Workbaskets with the corresponding Workbasket Access Items and Distribution Targets. We call this data structure Workbasket Definition.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
domain |
Array[String] |
true |
Filter the export for a specific domain. |
Request fields
No request body.
Response fields
Path | Type | Optional | Description |
---|---|---|---|
workbasketDefinitions |
Array[Object] |
true |
The embedded workbasket definitions. |
workbasketDefinitions[].workbasket |
Object |
true |
The workbasket which is represented. |
workbasketDefinitions[].workbasket.workbasketId |
String |
true |
Unique Id. |
workbasketDefinitions[].workbasket.key |
String |
true |
The professional key for the workbasket. |
workbasketDefinitions[].workbasket.name |
String |
true |
The name of the workbasket. |
workbasketDefinitions[].workbasket.domain |
String |
true |
The domain the workbasket belongs to. |
workbasketDefinitions[].workbasket.type |
String |
true |
The type of the workbasket. Must be one of [GROUP, PERSONAL, TOPIC, CLEARANCE]. |
workbasketDefinitions[].workbasket.description |
String |
true |
The description of the workbasket. |
workbasketDefinitions[].workbasket.owner |
String |
true |
The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket. |
workbasketDefinitions[].workbasket.custom1 |
String |
true |
A custom property with name "1". |
workbasketDefinitions[].workbasket.custom2 |
String |
true |
A custom property with name "2". |
workbasketDefinitions[].workbasket.custom3 |
String |
true |
A custom property with name "3". |
workbasketDefinitions[].workbasket.custom4 |
String |
true |
A custom property with name "4". |
workbasketDefinitions[].workbasket.custom5 |
String |
true |
A custom property with name "5". |
workbasketDefinitions[].workbasket.custom6 |
String |
true |
A custom property with name "6". |
workbasketDefinitions[].workbasket.custom7 |
String |
true |
A custom property with name "7". |
workbasketDefinitions[].workbasket.custom8 |
String |
true |
A custom property with name "8". |
workbasketDefinitions[].workbasket.orgLevel1 |
String |
true |
The first Org Level (the top one). The Org Level is an association with an org hierarchy level in the organization. The values are used for monitoring and statistical purposes and should reflect who is responsible of the tasks in the workbasket. |
workbasketDefinitions[].workbasket.orgLevel2 |
String |
true |
The second Org Level. |
workbasketDefinitions[].workbasket.orgLevel3 |
String |
true |
The third Org Level. |
workbasketDefinitions[].workbasket.orgLevel4 |
String |
true |
The fourth Org Level (the lowest one). |
workbasketDefinitions[].workbasket.markedForDeletion |
Boolean |
true |
Identifier to tell if this workbasket can be deleted. |
workbasketDefinitions[].workbasket.created |
String |
true |
The creation timestamp of the workbasket in the system. The format is ISO-8601. |
workbasketDefinitions[].workbasket.modified |
String |
true |
The timestamp of the last modification. The format is ISO-8601. |
workbasketDefinitions[].authorizations |
Array[Object] |
true |
The workbasket authorizations. |
workbasketDefinitions[].authorizations[].accessItemId |
String |
true |
Unique Id. |
workbasketDefinitions[].authorizations[].workbasketId |
String |
true |
The workbasket Id. |
workbasketDefinitions[].authorizations[].accessId |
String |
true |
The Access Id. This could be either a user Id or a full qualified group Id. |
workbasketDefinitions[].authorizations[].workbasketKey |
String |
true |
The workbasket key. |
workbasketDefinitions[].authorizations[].accessName |
String |
true |
The name. |
workbasketDefinitions[].authorizations[].permRead |
Boolean |
true |
The permission to read the information about the workbasket. |
workbasketDefinitions[].authorizations[].permReadTasks |
Boolean |
true |
The permission to access a task from the workbasket. |
workbasketDefinitions[].authorizations[].permOpen |
Boolean |
true |
The permission to view the content (the tasks) of a workbasket. |
workbasketDefinitions[].authorizations[].permAppend |
Boolean |
true |
The permission to add tasks to the workbasket. Required for creation and transferring of tasks. |
workbasketDefinitions[].authorizations[].permEditTasks |
Boolean |
true |
The permission to edit a task from the workbasket. |
workbasketDefinitions[].authorizations[].permTransfer |
Boolean |
true |
The permission to transfer tasks (out of the current workbasket). |
workbasketDefinitions[].authorizations[].permDistribute |
Boolean |
true |
The permission to distribute tasks from the workbasket. |
workbasketDefinitions[].authorizations[].permCustom1 |
Boolean |
true |
The custom permission with the name "1". |
workbasketDefinitions[].authorizations[].permCustom2 |
Boolean |
true |
The custom permission with the name "2". |
workbasketDefinitions[].authorizations[].permCustom3 |
Boolean |
true |
The custom permission with the name "3". |
workbasketDefinitions[].authorizations[].permCustom4 |
Boolean |
true |
The custom permission with the name "4". |
workbasketDefinitions[].authorizations[].permCustom5 |
Boolean |
true |
The custom permission with the name "5". |
workbasketDefinitions[].authorizations[].permCustom6 |
Boolean |
true |
The custom permission with the name "6". |
workbasketDefinitions[].authorizations[].permCustom7 |
Boolean |
true |
The custom permission with the name "7". |
workbasketDefinitions[].authorizations[].permCustom8 |
Boolean |
true |
The custom permission with the name "8". |
workbasketDefinitions[].authorizations[].permCustom9 |
Boolean |
true |
The custom permission with the name "9". |
workbasketDefinitions[].authorizations[].permCustom10 |
Boolean |
true |
The custom permission with the name "10". |
workbasketDefinitions[].authorizations[].permCustom11 |
Boolean |
true |
The custom permission with the name "11". |
workbasketDefinitions[].authorizations[].permCustom12 |
Boolean |
true |
The custom permission with the name "12". |
workbasketDefinitions[].distributionTargets |
Array[String] |
true |
The distribution targets for this workbasket. |
Example request
GET /api/v1/workbasket-definitions HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/hal+json
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 3927
{
"workbasketDefinitions" : [ {
"workbasket" : {
"workbasketId" : "WBI:000000000000000000000000000000000000",
"key" : "ADMIN",
"name" : "Postkorb Admin",
"domain" : "DOMAIN_A",
"type" : "PERSONAL",
"description" : "Postkorb Admin",
"owner" : "",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z"
},
"authorizations" : [ ],
"distributionTargets" : [ ]
}, {
"workbasket" : {
"workbasketId" : "WBI:000000000000000000000000000000000900",
"key" : "sort001",
"name" : "basxet0",
"domain" : "DOMAIN_A",
"type" : "TOPIC",
"description" : "Lorem ipsum dolor sit amet.",
"owner" : "user-1-3",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z"
},
"authorizations" : [ {
"accessItemId" : "WBI:000000000000000000000000000000000900",
"workbasketId" : "WBI:000000000000000000000000000000000900",
"accessId" : "user-b-1",
"workbasketKey" : "sort001",
"accessName" : "Bern, Bernd",
"permRead" : true,
"permReadTasks" : true,
"permOpen" : true,
"permAppend" : true,
"permEditTasks" : true,
"permTransfer" : true,
"permDistribute" : true,
"permCustom1" : true,
"permCustom2" : true,
"permCustom3" : true,
"permCustom4" : true,
"permCustom5" : true,
"permCustom6" : true,
"permCustom7" : true,
"permCustom8" : true,
"permCustom9" : true,
"permCustom10" : true,
"permCustom11" : true,
"permCustom12" : true
} ],
"distributionTargets" : [ ]
}, {
"workbasket" : {
"workbasketId" : "WBI:000000000000000000000000000000000901",
"key" : "Sort002",
"name" : "Basxet1",
"domain" : "DOMAIN_A",
"type" : "TOPIC",
"description" : "Lorem ipsum dolor sit amet.",
"owner" : "user-1-3",
"custom1" : "",
"custom2" : "",
"custom3" : "",
"custom4" : "",
"custom5" : "",
"custom6" : "",
"custom7" : "",
"custom8" : "",
"orgLevel1" : "",
"orgLevel2" : "",
"orgLevel3" : "",
"orgLevel4" : "",
"markedForDeletion" : false,
"created" : "2024-05-29T15:27:56.595Z",
"modified" : "2024-05-29T15:27:56.595Z"
},
"authorizations" : [ {
"accessItemId" : "WBI:000000000000000000000000000000000901",
"workbasketId" : "WBI:000000000000000000000000000000000901",
"accessId" : "user-b-1",
"workbasketKey" : "Sort002",
"accessName" : "Bern, Bernd",
"permRead" : true,
"permReadTasks" : true,
"permOpen" : true,
"permAppend" : true,
"permEditTasks" : true,
"permTransfer" : true,
"permDistribute" : true,
"permCustom1" : true,
"permCustom2" : true,
"permCustom3" : true,
"permCustom4" : true,
"permCustom5" : true,
"permCustom6" : true,
"permCustom7" : true,
"permCustom8" : true,
"permCustom9" : true,
"permCustom10" : true,
"permCustom11" : true,
"permCustom12" : true
} ],
"distributionTargets" : [ ]
} ],
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/v1/workbasket-definitions"
}
}
}
Import Workbaskets
POST /api/v1/workbasket-definitions
This endpoint imports a list of Workbasket Definitions.
This does not exactly match the REST norm, but we want to have an option to import all settings at once. When a logical equal (key and domain are equal) Workbasket already exists an update will be executed. Otherwise a new Workbasket will be created. a new one. with the used id. information in {@linkplain Workbasket}s' definitions is incorrect. Workbasket and access id already exists.
Path parameters
No parameters.
Query parameters
Parameter | Type | Optional | Description |
---|---|---|---|
file |
Object |
false |
The list of Workbasket Definitions which will be imported to the current system. |
Request fields
No parameters.
Response fields
No response body.
Example request
POST /api/v1/workbasket-definitions HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Type: application/hal+json; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Authorization: Basic YWRtaW46YWRtaW4=
Host: localhost:8080
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file
{"workbasketDefinitions":[{"workbasket":{"workbasketId":"gibtsNochNicht","key":"neuerKey","name":"neuer Name","domain":"DOMAIN_A","type":"GROUP","markedForDeletion":false},"authorizations":[],"distributionTargets":[]}]}
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
Example response
HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY