Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

OpenManage Enterprise Version 3.2 and OpenManage Enterprise - Modular Edition Version 1.00.10 RESTful API Guide

PDF

PUT method for Jobs(Id)

This method updates a specific job.

Description
Updates a job.
Privilege
JOB_MANAGEMENT
HTTP response codes
200
Example
Input:
{
  "Id":26097,
  "JobName":"Inventory Task",
  "JobDescription":"Inventory Task",
  "Schedule":"startnow",
  "State":"Enabled",
  "JobType":
  {
    "Id":8,
    "Name":"Inventory_Task"
  },
  "Targets":
  [
    {
      "Id": 25915,
      "Data": "",
      "TargetType":
      {
        "Id":1000,
        "Name":"DEVICE"
      }
    }
  ]
}

Output:	
{
  "Id": 26097,
  "JobName": "Inventory Task",
  "JobDescription": "Inventory Task",
  "NextRun": null,
  "LastRun": "2018-09-14 15:31:13.094",
  "StartTime": null,
  "EndTime": null,
  "Schedule": "startnow",
  "State": "Enabled",
  "CreatedBy": "root",
  "UpdatedBy": "root",
  "LastRunStatus":
  {
    "Id": 2060,
    "Name": "Completed"
  },
  "JobType":
  {
    "Id": 8,
    "Name": "Inventory_Task",
    "Internal": false
  },
  "JobStatus":
  {
    "Id": 2080,
    "Name": "New"
  },
  "Targets":
  [
    {
      "JobId": 26097,
      "Id": 25915,
      "Data": "",
      "TargetType":
      {
        "Id": 1000,
        "Name": "DEVICE"
      }
    }
  ],
  "Params": [],
  "Visible": true,
  "Editable": true,
  "Builtin": false
}
Table 1. AttributesThis table lists the attributes that this method supports.
AttributeDescription
IdID of the job.
JobName Name for the job.
JobDescription Description for the job.
Schedule The schedule to start the job.
State Enabled state for the job. It should be enabled.
JobType Id of job type.
JobName Name of the job type.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\