Schedules an agent procedure for a single agent. When the request is valid, returns a 204 No Content response. When the request is invalid, returns a 404 Not Found response. This occurs when :
The user does not have 'execute' permission in the {agentProcedureId}'s folder security settings.
PUT /automation/agentprocs/{agentId}/{agentProcId}/schedule
Headers
Model Schema
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(see below) |
|
|
|
(see below) |
|
|
|
(see below) |
|
|
|
(see below) |
|
|
|
(see below) |
|
|
|
|
|
|
ScriptPrompts
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
|
|
|
|
|
|
RecurrenceOptions
See recurrence options values below.
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DistributionWindow
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
|
|
StartOptions
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
|
|
ExclusionWindow
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
|
|
Recurrence Options Values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example: to specify 1:45 PM use |
|
|
|
Example: |
Sample Request Model
{
"ServerTimeZone": true,
"SkipIfOffLine": true,
"PowerUpIfOffLine": true,
"ScriptPrompts": [
{
"Caption": "string",
"Name": "string",
"Value": "string"
}
],
"Recurrence": {
"Repeat": "Never",
"Times": 0,
"DaysOfWeek": "string",
"DayOfMonth": "FirstSunday",
"SpecificDayOfMonth": 0,
"MonthOfYear": "January",
"EndAt": "T0000",
"EndOn": "2016-02-05T21:02:56.650Z",
"EndAfterIntervalTimes": 0
},
"Distribution": {
"Interval": "Minutes",
"Magnitude": 0
},
"Start": {
"StartOn": "2016-02-05T21:02:56.650Z",
"StartAt": "T0000"
},
"Exclusion": {
"From": "T0000",
"To": "T0000"
},
"Attributes": {}
}