API Guide
Table 101. Attributes(continued)
Attribute Description
UpdatedBy User who updated the job.
Visible Indicates whether the job is visible.
Editable Indicates whether the job can be edited.
BuiltIn Indicates if the job is internal.
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.
POST method for Jobs
This method creates a job.
Description
Creates a job.
Privilege JOB_MANAGEMENT
HTTP response
codes
201
Example
Input:
{
"Id":0,
"JobName":"Inventory Task Device",
"JobDescription":"Inventory Task Device",
"Schedule":"startnow",
"State":"Enabled",
"JobType":
{
"Id":8,
"Name":"Inventory_Task"
},
"Targets":
[
{
"Id": 25915,
"Data": "",
"TargetType":
{
"Id":1000,
"Name":"DEVICE"
}
}
230 Monitor