Server Management - Remote Server Management
1748239 Members
3758 Online
108759 Solutions
New Discussion

Firmware Upgrade for Gen9 using RESTFul API

 
Shweta_Naik
Occasional Contributor

Firmware Upgrade for Gen9 using RESTFul API

Hi,

I'am trying to automate the firware upgrade process. I'am trying the mount ssp.iso file by using the HP RESTFul API.

Command which I'm running is

rawpost virtualmedia.json –url=xx.xx.xx.xxx –user=Admin –password=password 

Through the HP RESTFul interface tool.

The data I'am passing through the Json file is as follows:

{
"path":"/rest/v1/Managers/1/VirtualMedia/2",
"body":{
"Action": "InsertVirtualMedia",
"Target":"/OEM/Hp",
"Image":"http://.../spp.iso"
}
}

When is execute the command I get the error as THE ACTION SUPPLIED IN THE POST OPERATION IS NOT SUPPORTED BY THE RESOURCE.

It would be great if someone could help me out with this!

Thanks in advance!!! :-)