Get Task
Endpoint for retrieving a single task.
Request
URI
GET
https://{api_host}/vco/api/tasks/{id}
COPY
Path Parameters
string
Responses
200
The request is successful
Returns task of type(s) application/json
{
"recurrence-pattern": "string",
"workflow": {
"customized-icon": false,
"schema-workflow": {
"api-version": "string",
"icon-id": "string",
"object-name": "string",
"schemaLocation": "string",
"description": "string",
"workflow-item": [
{
"end-mode": "string",
"color": "string",
"description": "string",
"type": "string",
"reference": {
"id": "string",
"type": "string"
},
"presentation": {
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-step": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
},
"out-name": "string",
"prototype-id": "string",
"catch-name": "string",
"out-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"alt-out-name": "string",
"throw-bind-name": "string",
"business-status": "string",
"launched-workflow-id": "string",
"content-mode": "string",
"iteration-catch-block": {
"script": {
"value": "string",
"encoded": false
}
},
"script-module": "string",
"script": {
"value": "string",
"encoded": false
},
"linked-workflow-id": "string",
"comparator": 0,
"condition": [
{
"comparator": "string",
"name": "string",
"label": "string",
"type": "string",
"value": "string"
}
],
"display-name": "string",
"in-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"workflow-subelements-list": {
"workflow-subelement": [
{
"display-name": "string",
"in-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"name": "string",
"out-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"linked-workflow-id": "string"
}
]
},
"name": "string",
"interaction": "string",
"position": {
"x": "number",
"y": "number"
},
"conditions": {
"condition": [
{
"comparator": "string",
"name": "string",
"label": "string",
"type": "string",
"value": "string"
}
]
}
}
],
"workflow-note": [
{
"color": "string",
"w": "number",
"x": "number",
"h": "number",
"description": "string",
"y": "number"
}
],
"version": "string",
"ref-types": "string",
"allowed-operations": "string",
"output": {
"param": [
{
"name": "string",
"description": "string",
"type": "string"
}
]
},
"presentation": {
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-step": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
},
"input": {
"param": [
{
"name": "string",
"description": "string",
"type": "string"
}
]
},
"restartMode": 0,
"resumeFromFailedMode": 0,
"error-handler": [
{
"name": "string",
"position": {
"x": "number",
"y": "number"
},
"throw-bind-name": "string"
}
],
"display-name": "string",
"attrib": [
{
"scope": "string",
"name": "string",
"encrypt-value": false,
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"root-name": "string",
"position": {
"x": "number",
"y": "number"
},
"id": "string"
},
"name": "string",
"description": "string",
"href": "string",
"id": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"rel": "string",
"attribute": [
{
"displayValue": "string",
"name": "string",
"value": "string"
}
],
"href": "string",
"type": "string"
}
]
},
"inputParameters": [
{
"scope": "string",
"name": "string",
"encrypt-value": false,
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"version": "string",
"outputParameters": [
{
"scope": "string",
"name": "string",
"encrypt-value": false,
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
]
},
"description": "string",
"recurrence-cycle": "string",
"recurrence-start-date": "string",
"recurrence-end-date": "string",
"start-mode": "string",
"parameter": [
{
"scope": "string",
"name": "string",
"encrypt-value": false,
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"name": "string",
"href": "string",
"id": "string",
"state": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"rel": "string",
"attribute": [
{
"displayValue": "string",
"name": "string",
"value": "string"
}
],
"href": "string",
"type": "string"
}
]
},
"user": "string"
}
string
recurrence-pattern
Optional
recurrence-pattern
string
description
Optional
description
string
recurrence-cycle
Optional
recurrence-cycle
Possible values are : ONE_TIME, EVERY_MINUTES, EVERY_HOURS, EVERY_DAYS, EVERY_WEEKS, EVERY_MONTHS,
string As date-time As date-time
recurrence-start-date
Required
recurrence-start-date
string As date-time As date-time
recurrence-end-date
Optional
recurrence-end-date
string
start-mode
Optional
start-mode
Possible values are : NORMAL, START_IN_THE_PAST,
string
name
Optional
name
string
href
Optional
href
string
id
Optional
id
string
state
Optional
state
Possible values are : FINISHED, CANCELED, ERROR, PENDING, RUNNING, SUSPENDED, UNKNOWN,
string
user
Optional
user
401
The user is not authorized
Operation doesn't return any data structure
404
Can not find a task with the specified ID or the user does not have 'read' access rights for that workflow
Operation doesn't return any data structure
Task Service Operations
POST
Create Task
DELETE
Delete Permission Rule
DELETE
Delete Permissions For Object
DELETE
Delete Task
GET
Get Executions
GET
Get Permission Rule
GET
Get Permissions For Object
GET
Get Task
GET
Get Tasks
POST
Insert Permissions For Object
PUT
Update Permission Rule
POST
Update Task