Description | Example | Return Message | Group(s)

NewTask

HTTP Request Formats

POST api/task/{taskName}

To specify the schedule the command shall be sent to:

POST api/schedule/{scheduleName}/task/{taskName}

Description

The NewTask REST API command creates a new task in the active schedule. This command can accept any parameter values that EditTask command can accept. The command will be rejected if a task with this name already exists.

Examples

Creates a new task named DemoTask with priority 1

POST api/task/DemoTask

Body:

{

"Priority" : "1"

}

Return Message

If activated, a standard response for a successful HTTP response shall appear.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

12.3