Add operator group, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 48: Returned result, Interface uri access method returned result

Advertising
background image

Add Operator Group

Add an operator group with specified information.

Interface URI

/plat/opertorGroup

Access Method

HTTP

POST

Message body

<operatorGroup>
<groupName>cccc</groupName>
<groupDesc>desc</groupDesc>
<roleId>1</roleId>
<operatePrivilegeList>
<operatePrivilege><id>iMC-PLAT_SystemMnt_OperatorMng</id><desc>Operator</desc><level>-1</level></operatePrivilege>
<opertePrivliege><id>iMC-Plat_SystemMng_OperatorGroupMng</id><desc>Operator
group</desc><level>-1</level></operatorPrivilege>
</operatePrivilegeList>
</operatorGroup>

Element description

For meanings of the fields in the message body, see

“Query Operator Group Details” (page 46)

.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

Message header

If the operator succeeds, the Location field gives the URI of the new resource. The message body
is empty.

HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/plat/operatorGroup/4

48

System Management

Advertising