API Guide
/api/JobService/Actions/JobService.RunJobs
POST method for JobService.RunJobs
This method executes the selected jobs.
Description Executes the selected jobs. In one operation, you can execute 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
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,
}
/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
Example request
body
{
Monitor 337