Get Task

Get Task

Endpoint for retrieving a single task.

Request
URI
GET
https://{api_host}/vco/api/tasks/{id}
COPY
Path Parameters
string
Required

Responses
200

The request is successful

Returns task of type(s) application/json
"task Object"
string
recurrence-pattern
Optional

recurrence-pattern

object
workflow
Required

workflow

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,
array of object
parameter
Optional

parameter

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,
object
relations
Optional

relations

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

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/tasks/{id}