Example – HP Intelligent Management Center Licenses User Manual

Page 141

Advertising
background image

Message body

<list>
<device>
<id>69</id>
<label>10.153.89.164</label>
<ip>10.153.89.164</ip>
<mask>255.255.255.0</mask>
<status>1</status>
<sysName/>
<contact/>
<location/>
<sysOid/>
<sysDescription/>
<devCategoryImgSrc>pc</devCategoryImgSrc>
<topoIconName>iconpc</topoIconName>
<categoryId>9</categoryId>
<link href="http://localhost:8080/imcrs/plat/res/device/69" op="GET" rel="self"/>
</device>
......
<link href="http://localhost:8080/imcrs/plat/res/view/custom/11?start=10&size=10" op="GET" rel="next"/>
</list>

Element description

For description on each field, see the API document in “

Query Device Information

.”

Example

Query information about the custom view with the ID 11.

Request

GET http://imc_host:8080/imcrs/plat/res/view/custom/11
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<device>
<id>69</id>
<label>10.153.89.164</label>
<ip>10.153.89.164</ip>
<mask>255.255.255.0</mask>
<status>1</status>
<sysName/>
<contact/>
<location/>
<sysOid/>
<sysDescription/>
<devCategoryImgSrc>pc</devCategoryImgSrc>
<topoIconName>iconpc</topoIconName>
<categoryId>9</categoryId>
<link href="http://localhost:8080/imcrs/plat/res/device/69" op="GET" rel="self"/>
</device>
......
<link href="http://localhost:8080/imcrs/plat/res/view/custom/11?start=10&size=10" op="GET" rel="next"/>
</list>

Query Custom View Information

141

Advertising