HP Intelligent Management Center Extended API User Guide
Add IP Segment
Add an IP segment.
Interface URI
/res/access/assignedIpScope
Access Method
HTTP
POST
Message body
<assignedIpScope>
<startIp>10.153.89.21</startIp>
<endIp>10.153.89.30</endIp>
<name>21to30</name>
<description>10.153.89.21 to 10.153.89.30</description>
</assignedIpScope>
Elements
assignedIpScope sub-elements
Start IP address.startIp
String type. Required. No default value.
End IP address.endIp
String type. Required. No default value.
Owner.name
String type. Required. No default value.
Description.description
String type. Optional. The default value is empty.
Operator group ID.operatorGroupId
Long integer type. Optional, supporting multiple elements. If there is zero elements, the default
value contains 1, 2, and 3. If there is at least one element, the default value contains 1. For the
valid values, see Query Operator Groups.
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/res/access/assignedIpScope/7
Add IP Segment 221