API Guide

Table Of Contents
/api/JobService/Actions/JobService.RunJobs
POST method for JobService.RunJobs
This method runs the selected jobs.
Description Runs the selected jobs. In one operation, you can run one of the following:
A single job
A set of jobs-based on the filters you provide
All jobs
Privilege DEVICE_CONFIGURATION
HTTP response
codes
204
Example request
body
{
"JobIds": [100,200,300],
}
Or
{
"Filters": {
"Status": 2020,
"State": "",
"JobType": "AlertSubscription_Task",
"StartTime": "2017-06-06 10:00:00.00",
"EndTime": "2017-06-07 10:00:00.00"
}
}
Or
{
"AllJobs": true,
}
Example request
body
To check the firmware compliance
{"JobIds":[10205],"AllJobs":false}
/api/JobService/Actions/JobService.StopJobs
POST method for JobService.StopJobs
This method stops the selected jobs.
Description
Stops the selected jobs. In one operation, you can stop one of the following:
A single job
A set of jobs based on the filters you provide
All jobs
Privilege DEVICE_CONFIGURATION
HTTP response
codes
201
380 Monitor