White Papers
APIs
26
Updating Firmware using OpenManage Enterprise APIs
{
"JobId": 25125,
"Key": "complianceUpdate",
"Value": "true"
},
{
"JobId": 25125,
"Key": "signVerify",
"Value": "true"
},
{
"JobId": 25125,
"Key": "stagingValue",
"Value": "false"
}
],
"Visible": true,
"Editable": true,
"Builtin": false
}
Monitoring Jobs to completion:
GET on /api/JobService/Jobs to determine job status and monitor to completion. A list of job states is
available below
{
"2020":
"Scheduled",
"2030":
"Queued",
"2040":
"Starting",
"2050":
"Running",
"2060":
"Completed",
"2070":
"Failed",
"2090":
"Warning",
"2080":
"New",
"2100":
"Aborted",
"2101":
"Paused",
"2102":
"Stopped",
"2103":
"Canceled"
}
If a job fails, run a GET command on /api/JobService/Jobs(<id>)/ExecutionHistories
You can drill down further by parsing the ID returned in the ExecutionHistories response and using that ID to
run a GET call on /api/JobService/Jobs(<id>)/ExecutionHistories(<id>)/ExecutionHistoryDetails.