Example – HP Intelligent Management Center Licenses User Manual

Page 370

Advertising
background image

Example

Query and list the 11th to the 20th VLAN port entries for the VLAN with ID 1 on the device whose
ID is 8.

Request

GET http://localhost:8080/imcrs/vlan/1?devId=8&start=10&size=10
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<interface>
<ifIndex>4227698</ifIndex>
</interface>
<interface>
<ifIndex>4227706</ifIndex>
</interface>
<interface>
<ifIndex>4227714</ifIndex>
</interface>
<interface>
<ifIndex>4227722</ifIndex>
</interface>
<interface>
<ifIndex>4227730</ifIndex>
</interface>
<interface>
<ifIndex>4227738</ifIndex>
</interface>
<interface>
<ifIndex>4227746</ifIndex>
</interface>
<interface>
<ifIndex>4227754</ifIndex>
</interface>
<interface>
<ifIndex>4227762</ifIndex>
</interface>
<interface>
<ifIndex>4227770</ifIndex>
</interface>
<link href="http://localhost:8080/imcrs/vlan/1?start=0&size=10&devId=8" op="GET" rel="previous"/>
<link href="http://localhost:8080/imcrs/vlan/1?start=20&size=10&devId=8" op="GET" rel="next"/>
</list>

370 Network Service Management

Advertising