API Guide

Table Of Contents
Table 171. Attributes (continued)
Attribute name Description
InterfaceId Port name.
Key Operation name. Depending on the type of configuration you
want to perform, select the operation name as provided in the
Input snippet.
NOTE: Ensure that you see the right parameters in the provided Input snippet. For example, for configuring MTU speed,
use Speed as the key and 1000 as the value.
Storage management
These APIs enable you to perform storage-management operations in OMEModular. The URI for these operation is /api/
JobService/Jobs.
Assign enclosure
POST method for enclosure assignment
Description Creates a job to assign the entire storage in an enclosure to one or more server slots.
Privilege STORAGE_MANAGEMENT
HTTP response
codes
201
Example request
body
{
"JobName":"Storage Assignment",
"JobDescription":"Storage Assignment Job",
"Schedule":"startnow",
"State":"Enabled",
"JobType":
{
"Id":3,
"Name":"DeviceAction_Task"
},
"Params":
[
{
"Key":"operationName",
"Value":"ASSIGN_STORAGE"
},
{
"Key":"assignmentMode",
"Value":"1"
},
{
"Key":"serverSlots",
"Value": <Server Slots e.g "3,4">
}
],
"Targets":
[
{
"Id":<Insight/Storage Sled Device Id>,
"Data":"",
"TargetType":
{
"Id":1000,
"Name":"DEVICE"
APIs specific to OpenManage Enterprise Modular Edition
515