Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 359

Advertising
background image

netAsset sub-elements

Link to device details .

device

String type.

Link to device details .

asset

String type.

Example

Query and list network assets.

Request

GET http://imc_host:8080/imcrs/netasset/asset
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<netAsset>
<devId>27</devId>
<phyIndex>1001</phyIndex>
<deviceIp>10.153.89.231</deviceIp>
<deviceName>aaa</deviceName>
<desc>WS-C3750E-24TD - Provisioned</desc>
<vendorType>1.3.6.1.4.1.9.12.3.1.3.589</vendorType>
<containedIn>1</containedIn>
<phyClass>3</phyClass>
<relPos>1</relPos>
<name>1</name>
<hardVersion/>
<firmwareVersion/>
<softVersion/>
<serialNum/>
<mfgName/>
<model/>
<alias/>
<isFRU>1</isFRU>
<cleiCode/>
<buildInfo/>
<bom/>
<boardNum/>
<serverDate>2011-08-17T09:34:32+08:00</serverDate>
<remark/>
<assetNumber>234</assetNumber>
<physicalFlag>0</physicalFlag>
<device>http://localhost:8080/imcrs/plat/res/device/27</device>
<asset>http://localhost:8080/imcrs/netasset/asset/detail?devId=27&amp;phyIndex=1001</asset>
</netAsset>
</list>

Query Assets 359

Advertising