HP Intelligent Management Center Extended API User Guide
customView sub-elements
Devices added to the custom view.device
Element type. Optional. No default value.
IDs of the devices added to the custom view.device/id
Long integer type. Required. No default value.
Returned Result
Status codes
• 204 (No Content): Success.
• 404 (Not Found): No data is found with the ID.
• 409 (Conflict): Failure. See “Error Codes.”
Example
Modify information about the custom view with the ID 1154.
Request
PUT http://imc_host:8080/imcrs/plat/res/view/custom/1154
accept: application/xml
...
<customView>
<name>myView</name>
<autoAddDevType>0</autoAddDevType>
<addAllDev>false</addAllDev>
<device>
<id>2</id>
</device>
<device>
<id>5</id>
</device>
</customView>
Response
HTTP/1.1 204 No Content
...
Modify Custom View 145