API Guide

Table Of Contents
"Targets":
[
{
"JobId": 10016,
"Id": 500,
"Data": "All-Devices",
"TargetType":
{
"Id": 6000,
"Name": "GROUP"
}
}
],
"Params":
[
{
"JobId": 10016,
"Key": "defaultInventoryTask",
"Value": "TRUE"
}
],
"LastRunStatus":
{
"@odata.type": "#JobService.JobStatus",
"Id": 2060,
"Name": "Completed"
},
"JobType":
{
"@odata.type": "#JobService.JobType",
"Id": 8,
"Name": "Inventory_Task",
"Internal": false
},
"JobStatus":
{
"@odata.type": "#JobService.JobStatus",
"Id": 2020,
"Name": "Scheduled"
},
"ExecutionHistories@odata.navigationLink": "/api/JobService/
Jobs(10016)/ExecutionHistories"
}
Table 122. Attributes
Attribute Description
Id ID of the job.
JobName Name of the job.
JobDescription Description of the job.
JobType Type of the job.
NextRun The next time when the job will be executed.
LastRun The last time when the job was executed.
StartTime Start time of the job.
EndTime End time of the job.
Schedule Job schedule (cron string).
State Indicates whether the job is enabled or disabled.
CreatedBy User who created the job.
UpdatedBy User who updated the job.
Visible Indicates whether the job is visible.
366 Monitor