Example – HP Intelligent Management Center Licenses User Manual

Page 143

Advertising
background image

Example

Add a custom view named myView. Devices with IDs 1 and 2 are added to the custom view.

Request

POST http://imc_host:8080/imcrs/plat/res/view/custom
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...
<customView>
<name>myView</name>
<device>
<id>1</id>
</device>
<device>
<id>2</id>
</device>
</customView>

Response

HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/plat/res/view/custom/1179

Add Custom View

143

Advertising