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

POST method for Jobs

This method creates a TSR or diagnostic job.

Description
Creates a TSR or diagnostic job.
Privilege
JOB_MANAGEMENT, DEVICE_CONFIGURATION
HTTP response codes
200
Example to create a TSR job
Input:
{  
 "Id":0,
 "JobName":"TSR",
 "JobDescription":"TSRTask",
 "Schedule":"startnow",
 "State":"Enabled",
 "JobType":
  {  
   "Id":125,
   "Name":"Diagnostic_Task"
  },
 "Params":
  [  
   {  
    "Key":"deviceTypes",
    "Value":"1000"
   },
   {  
    "Key":"operationName",
    "Value":"SERVER_EXECUTE_TSR"
   },
   {  
    "Key":"fileName",
    "Value":"TSR"
   },
   {  
    "Key":"OPERATION_NAME",
    "Value":"SERVER_EXECUTE_TSR"
   },
   {  
    "Key":"ShareType",
    "Value":"2"
   },
   {  
    "Key":"DataSelectorArrayIn",    
    "Value":"[3]"    // Collect Logs types
   },
   {  
    "Key":"user_eula_Agreement",
    "Value":"true"
   },
   {  
    "Key":"ScheduledStartTime",
    "Value":"TIME_NOW"
   }
  ],
 "Targets":
  [  
   {  
    "Id":25085,
    "Data":"",
    "TargetType":
     {  
      "Id":25085,
      "Name":"SERVER"
     }
   }
  ]
}
Example to create a diagnostic job
Input:
{
 "Id":0,
 "JobName":"FinalTest",
 "JobDescription":"amit612",
 "Schedule":"startnow",
 "State":"Enabled",
 "JobType":
  {
   "Id":25,
   "Name":"Diagnostic_Task"
  },
 "Params": 
  [
   {
    "Key":"deviceTypes",
    "Value":"1000"
   },
   {
    "Key":"fileName",
    "Value":"FinalTest"
   },
   {
    "Key":"operationName",
    "Value":"SERVER_DIAGNOSTIC"
   },
   {
    "Key":"OPERATION_NAME",
     "Value":"SERVER_DIAGNOSTIC"
   },
   {
    "Key":"ShareType",
    "Value":"2"
   },
   {
    "Key":"RunMode",
    "Value":"0"
   },
   {
    "Key":"RebootJobType",
    "Value":"2"
   },
   {
    "Key":"ScheduledStartTime",
    "Value":"TIME_NOW"
   }
  ],
 "Targets":
  [
   {
    "Id":3714,
    "Data":"",
    "TargetType":
     {
      "Id":3714,
      "Name":"SERVER"
     }
   }
  ]
}

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: <>()\