Example – HP Intelligent Management Center Licenses User Manual

Page 159

Advertising
background image

Message body

<list>
<device>
<id>22</id>
<label>10.153.0.17</label>
<ip>10.153.0.17</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/22" op="GET" rel="self"/>
</device>
...

</list>

Element description

For the description on each field of the returned value, see

Query Device Information

.

Example

Query IP view with the ID 1041.

Request

GET http://imc_host:8080/imcrs/plat/res/view/ip/1041
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<device>
<id>22</id>
<label>10.153.0.17</label>
<ip>10.153.0.17</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/22" op="GET" rel="self"/>
</device>
...

</list>

Query IP View

159

Advertising