Example – HP Intelligent Management Center Licenses User Manual

Page 363

Advertising
background image

Example

Query information about the network asset whose device ID is 1 and asset physical index is 1001.

Request

GET http://imc_host:8080/imcrs/netasset/asset/detail?devId=27&phyIndex=1001
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
<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>
</netAsset>

Query Asset Details 363

Advertising