Example – HP Intelligent Management Center Licenses User Manual

Page 224

Advertising
background image

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/8

Example

Add a child IP segment ranging from 10.153.89.21 to 10.153.89.25 for the IP segment with ID
7.

Request

POST http://localhost:8080/imcrs/res/access/assignedIpScope/7
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...
<assignedIpScope>
<startIp>10.153.89.21</startIp>
<endIp>10.153.89.25</endIp>
<name>21to25</name>
<description>10.153.89.21 to 10.153.89.25</description>
</assignedIpScope>

Response

HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/res/access/assignedIpScope/8

224 Terminal Access Management

Advertising