API Guide

Table Of Contents
Example request
body
{
"JobName":"Storage Assignment Task 48",
"JobDescription":"Storage Assignment Task",
"Schedule":"startnow",
"State":"Enabled",
"JobType":{
"Id":3,
"Name":"DeviceAction_Task"
},
"Params":[
{
"Key":"operationName",
"Value":"ASSIGN_STORAGE"
},
{
"Key":"assignmentMode",
"Value":"2"
},
{
"Key":"driveSlotIds",
"Value":<Drive Slot Ids e.g "0,1,2,..15">
},
{
"Key":"serverSlots",
"Value": <Server Slots e.g "1">
}
],
"Targets":[
{
"Id":<Insight/Storage Sled Device Id>,
"Data":"",
"TargetType":{
"Id":1000,
"Name":"DEVICE"
}
}
]
}
Clear drive assignment
POST method for clearing drive assignment
Description
Creates a job to clear drive assignments to server slots.
Privilege STORAGE_MANAGEMENT
HTTP response
codes
201
Example request
body
{
"JobName":"Storage Assignment",
"JobDescription":"Storage Assignment Task",
"Schedule":"startnow",
"State":"Enabled",
"JobType":{
"Id":3,
"Name":"DeviceAction_Task"
},
"Params":[
{
"Key":"operationName",
"Value":"CLEAR_STORAGE_ASSIGNMENT"
APIs specific to OpenManage Enterprise Modular Edition 517