Example – HP Intelligent Management Center Licenses User Manual
Page 68

Message body
<list>
<deviceVendor>
<id>1</id>
<name>H3C</name>
<description></description>
<phone></phone>
<contact></contact>
<preDefined>true</preDefined>
<link rel=”self” href=”http://imc_host:port/imcrs/res/vendor/1”/>
</deviceVendor>
. . .
<link rel=”next” href=”http://imc_host:port/imcrs/plat/res/vendor?start=10&size=10”/>
</list>
For the description on each field of the returned value, see the API document for Query Device
Vendor Information.
Example
Query device vendor starting with H.
Request
GET http://imc_host:8080/imcrs/plat/res/vendor?name=H*&start=0&size=1000
accept: application/xml
. .
Response
HTTP/1.1 200 OK
Content-Type: application/xml
. . .
<list>
<deviceVendor>
<id>1</id>
<name>H3C</name>
<description></description>
<phone></phone>
<contact></contact>
<preDefined>true</preDefined>
<link rel=”self” href=”http://imc_host:port/imcrs/res/vendor/1”/>
</deviceVendor>
<deviceVendor>
<id>1</id>
<name>HP</name>
<description></description>
<phone></phone>
<contact></contact>
<preDefined>true</preDefined>
<link rel=”self” href=”http://imc_host:port/imcrs/res/vendor/2”/>
</deviceVendor>
. . .
</list>
68
Network Resource Management