API Guide
Table 126. Attributes (continued)
Attribute Description
EndTime The end time of job execution.
Key Job execution history details key.
Value Job execution history details value.
ExecutionHistoryId Execution history ID associated with the detail.
JobStatus Job execution history detail completion status.
/api/JobService/Actions/JobService.EnableJobs
POST method for JobService.EnableJobs
This method enables the selected jobs.
Description Enables the selected jobs. In one operation, you can enable 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.DisableJobs
POST method for JobService.DisableJobs
This method disables the selected jobs.
Description
Disables the selected jobs. In one operation, you can disable one of the following:
Monitor 337