Reference Guide

Table Of Contents
Table 123. Attributes (continued)
Attribute Description
2090 Warning
2100 Aborted
2101 Paused
2102 Stopped
2103 Canceled
Links Link to access all execution histories.
PUT method for Jobs(Id)
This method updates a specific job.
Description Updates a job.
Privilege JOB_MANAGEMENT
HTTP response
codes
200
Example request
body
{
"Id":26097,
"JobName":"Inventory Task",
"JobDescription":"Inventory Task",
"Schedule":"startnow",
"State":"Enabled",
"JobType":
{
"Id":8,
"Name":"Inventory_Task"
},
"Targets":
[
{
"Id": 25915,
"Data": "",
"TargetType":
{
"Id":1000,
"Name":"DEVICE"
}
}
]
}
Example
response body
{
"Id": 26097,
"JobName": "Inventory Task",
"JobDescription": "Inventory Task",
"NextRun": null,
"LastRun": "2018-09-14 15:31:13.094",
"StartTime": null,
"EndTime": null,
"Schedule": "startnow",
"State": "Enabled",
"CreatedBy": "root",
"UpdatedBy": "root",
"LastRunStatus":
{
"Id": 2060,
"Name": "Completed"
},
Monitor 425