Create Task
Use this endpoint to schedule a new task.
Request
URI
POST
https://{api_host}/vco/api/tasks
COPY
Request Body
task of type(s) application/json
Required
{
"recurrence-pattern": "string",
"workflow": {
"customized-icon": false,
"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",
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"version": "string",
"outputParameters": [
{
"scope": "string",
"name": "string",
"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",
"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
Responses
202
The request is successful
Operation doesn't return any data structure
400
The request is invalid(validation error)
Operation doesn't return any data structure
401
The user is not authorized
Operation doesn't return any data structure
404
Can not find a workflow 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