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

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

Advertising
background image

Add Operator

Add an operator with specified information.

Interface URI

/plat/operator

Access Method

HTTP

POST

Message body

<operator>
<name>cccc</name>
<fullName>cccc</fullName>
<authType>0</authType>
<password>cccc</password>
<sessionTimeout>10</sessionTimeout>
<operatorGroupId>1</operatorGroupId>
<desc>cccc</desc>
<defaultAcl>0</defaultAcl>
<operatorAclList>
<operatorAcl>
<startIp>10.153.89.1</startIp>
<endIp>10.153.89.2</endIp>
<accessType>0</accessType>
<desc>allow 10.153.89.1–10.153.89.2</desc>
<aclOrder>1</aclOrder>
</operatorAcl>
</operatorAclList>
</operator>

Element description

For meanings of fields in the message body, see

“Query All Operators” (page 34)

.

Returned Result

Status codes

201 (Created): Success

409 (Conflict): Failure. See

Error Codes

.”

Message header

If the operation 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/operator/4

Add Operator

39

Advertising