Web Services Interface Guide

101 Dell Lifecycle Controller Web Services Interface Guide for Windows
An XML syntax error could yield the following message:
Syntax Error: input must be of the form:
{KEY="VALUE"[;KEY="VALUE"]}
10.2.3 List Jobs in Job Store
The instances of this class will enumerate jobs in the job store along with status information.
Invoke enumerate job status with the following parameters and syntax:
[JobID]: The JobID of a particular job instance to be queried
To get the status of one particular job, use the following:
EXAMPLE 1:
winrm get http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob ?InstanceID=[JobID]
-r:https://[IPADDRESS]/wsman:443 -u:[USERNAME] -p:[PASSWORD] -a:basic -
encoding:utf-8
To get the status of all jobs, use the following:
EXAMPLE 2:
winrm e cimv2/root/dcim/DCIM_LifecycleJob
-u:[USERNAME] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman:443 -auth:basic
-encoding:utf-8
OUTPUT 1 and 2:
The method either returns a list of Concrete job objects or an error message. Once job instanceID is
returned via these status queries, they can be used for job scheduling and setup. Several examples of job
objects are shown below.
DCIM_LifecycleJob
InstanceID = JID_001275884806
JobStartTime
JobStatus = Completed
JobUntilTime