Jobs

HMC REST API Framework supports invocation of long running operations through the use of Jobs.

For every Job there are two main semantics:
  1. Job Object
  2. Job Operation

On invoking any Job, a Job ID is returned to the user. This Job ID is to be used to poll the Status of the Job. After a job is completed, you must delete the job.

Resource to obtain Job Status using Job ID

rest/api/uom/jobs/{job_id}

Methods

Table 1. List of methods
Method Name Description Internet Media Type
PUT Request web server to perform an operation on the specified object based on the specified parameters. application/vnd.ibm.powervm.web+xml; type=JobRequest

Resource to delete a Job

rest/api/uom/jobs/{job_id}

Methods to delete a job

Table 2. List of methods
Method Name Description
DEL Request to delete a job specified as "job id" in the URL.