API Guide
Table 115. Attributes (continued)
Attribute Description
Targets Job targets.
Params Parameters for the job.
LastRunStatus Indicates the status of the last instance of the job execution.
JobStatus Job completion status.
● 2020 — Scheduled
● 2030 — Queued
● 2040 — Starting
● 2050 — Running
● 2060 — Completed
● 2070 — Failed
● 2080 — New
● 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"
}
}
]
}
324 Monitor