TasksRest Resource
Tasks
- Available Since
- 1.5.6
POST /2.0/tasks/transfer
Transfer pending tasks from one user to another
- Available Since
- 1.5.6
media type | data type | description |
---|---|---|
application/json | TaskTransferVO (JSON) | Request JSON (example):
{
"userTo": "user",
"userFrom": "adm",
"transferActiveDocuments": true,
"transferMyDocumentsInApproval": true,
"transferPendingWorkflow": true,
"transferOpenWorkflow": true,
"transferApprovers": true,
"transferApprovals": true,
"transferDocumentSecurity": true,
"instanceIdInitial": 0,
"instanceIdFinal": 9999999,
"documentIdInitial": 0,
"documentIdFinal": 9999999
}
|
media type | data type | description |
---|---|---|
text/plain | object |
{
"content": "=== Checking Transfer of Folder Writing Permission=== [INFO]
All permissions were transferred.
================================================================================ ===
Checking Transfer of Active Documents === [INFO]
Document X - testdocument transferred [INFO]
================================================================================ ===
Checking Transfer of Documents Pending Approval === [INFO]
Document X - testdocument transferred
================================================================================ ===
Checking Transfer of Pending Workflow Tasks === [WARN] No record found.
================================================================================ ===
Checking Transfer of Open Workflow === [WARN] No record found.
================================================================================ ===
Checking Transfer of Folders/Documents Approver === [INFO]
Transferred to the document approver X
================================================================================ ===
Verificando Transferência de Aprovação de Documento === [INFO]
Document approval transferred: X
================================================================================ ===
Checking Transfer of Task Central Tasks
=== ================================================================================ "
"message": {
"message": "OK",
"detail": "OK",
"type": "INFO"
}
}
|
- Available Since
- 1.5.12
GET /2.0/tasks/findApprovalDocumentsByUser/{colleagueId}
Returns documents that is in approval or was disapproved
- Available Since
- 1.5.12
name | type | description |
---|---|---|
colleagueId | path | Valid value: "userId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) | This method returns an array of VOs Documents for approval. |
- Available Since
- 1.5.4
GET /2.0/tasks/findDocsInAgreement/{colleagueId}
Search for all documents in agreement with the specified user
- Available Since
- 1.5.4
name | type | description |
---|---|---|
colleagueId | path | Valid value: "userId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.4
GET /2.0/tasks/findDocsInCheckout/{colleagueId}
Search for all documents with checkout status
- Available Since
- 1.5.4
name | type | description |
---|---|---|
colleagueId | path | Valid value: "userId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.3
GET /2.0/tasks/findDocumentsToApprove/{colleagueId}
Returns the documents to approve
- Available Since
- 1.5.3
name | type | description |
---|---|---|
colleagueId | path | Valid value: "userId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.3
GET /2.0/tasks/findExpiredWorkflowTasks/{colleagueId}
Expired requests
- Available Since
- 1.5.3
name | type | description |
---|---|---|
colleagueId | path | Valid values: "userId", Pool:Group:"groupId" or Pool:Role:"roleId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.3
GET /2.0/tasks/findMyDocuments/{colleagueId}
Returns my Documents
- Available Since
- 1.5.3
name | type | description |
---|---|---|
colleagueId | path | Valid value: "userId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.3
GET /2.0/tasks/findMyRequests/{colleagueId}
My Opened requests
- Available Since
- 1.5.3
name | type | description |
---|---|---|
colleagueId | path | Valid value: "userId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.4
GET /2.0/tasks/findTasksInAgreement/{colleagueId}
Get tasks in agreement
- Available Since
- 1.5.4
name | type | description |
---|---|---|
colleagueId | path | Valid value: "userId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.3
GET /2.0/tasks/findWorkflowTasks/{colleagueId}
Pending requests
- Available Since
- 1.5.3
name | type | description |
---|---|---|
colleagueId | path | Valid values: "userId", Pool:Group:"groupId" or Pool:Role:"roleId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.5.4
GET /2.0/tasks/getResumedTasks/{colleagueId}
Gets a resumed view of tasks for the specified user
- Available Since
- 1.5.4
name | type | description |
---|---|---|
colleagueId | path | Valid value: "colleagueId" |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|