HP Intelligent Management Center Extended API User Guide
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 interface view with the ID 3.
Request
PUT http://imc_host:8080/imcrs/plat/res/view/interface/3
accept: application/xml
...
<interfaceView>
<name>yourIfView</name>
<desc>yourIfView</desc>
<ifInfo>
<deviceId>55</deviceId>
<ifIndex>1</ifIndex>
</ifInfo>
<ifInfo>
<deviceId>55</deviceId>
<ifIndex>2</ifIndex>
</ifInfo>
</interfaceView>
Response
HTTP/1.1 204 No Content
...
154 Network Resource Management