API Guide

Table Of Contents
Jobs
/api/JobService/Jobs
This URI represents all the jobs.
GET method for Jobs
This method returns the details of all the jobs.
Description Returns details of all the jobs.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "/api/$metadata#Collection(JobService.Job)",
"@odata.count": 1,
"value":
[
{
"@odata.type": "#JobService.Job",
"@odata.id": "/api/JobService/Jobs(10016)",
"Id": 10016,
"JobName": "Default Inventory Task",
"JobDescription": "Default Inventory Task",
"NextRun": "2018-09-14 15:30:00.0",
"LastRun": "2018-09-14 15:00:00.381",
"StartTime": null,
"EndTime": null,
"Schedule": "0 0/30 * 1/1 * ? *",
"State": "Enabled",
"CreatedBy": "admin",
"UpdatedBy": null,
"Visible": false,
"Editable": false,
"Builtin": true,
"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,
234
Monitor