API Guide

Table 114. Attributes (continued)
Attribute Description
2000 for computes
4000 for IOM
PowerState The supported values are:
2 (Power On)Transitions the system to "power on"
state. The corresponding ACPI state is G0/S0.
5 (Power Cycle (Off Soft))Turns off the system. The
corresponding ACPI state is G2/S5, in which the system
consumes a minimal amount of power. The system, then,
transitions to "power on" state. The corresponding ACPI
state for "power on" is G0/S0.
8 (Power Off Soft Non-Graceful)Transitions the
system to off state. The corresponding ACPI state G2/S5,
in which the system consumes a minimal amount of power.
10 (Master Bus Reset)Performs hardware reset on the
system.
12 (Power Off - Soft Graceful)Performs an orderly
transition to "power off" state. The corresponding ACPI
state is G2/S5, in which the system consumes a minimal
amount of power.
/api/JobService/Jobs(Id)
This URI represents the details of a job.
GET method for Jobs(Id)
This method returns the details of a specific job.
Description
Returns details of a job.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "/api/$metadata#JobService.Job/$entity",
"@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,
322 Monitor