Did you have any luck figuring this out? I'm attempting to do the same thing and am struggling with the convoluted sample JSON in the documentation. I have found zero instances online of anyone successfully protecting a VM using RP4VM's REST API, and the official documentation leaves a lot to be desired. If you were successful with this, it would be awesome if you can post your updated JSON.
I have the same problem, I'm trying to replicate a VM using RESTAPI but I don't find the complete RESTAPI documentation. Please, anyone know where can I find some document where I can see all methods and parameters?
I have seen the pdf "docu89863_RecoverPoint-for-Virtual-Machines-5.2-REST-API-Guide.pdf" but there is very limited info.
Hello xyker, Need some help, please suggest how do we get the VM uuid through REST API for a source VM, such that we can populate the below replicate VM parameter. "vmParam": { "JsonSubType": "ExistingVMParam", "vmUID": { "uuid": "502236e5-38ce-a578-98cd-96ea5fee0445",
That's right because we don't have a call which will show you the VM UUID of a VM we're not protecting yet. To clarify my previous response, this is something you'll need to query vCenter for.
But i want know Which Vcenter Api. i have checked all Vcenter api(https://{}:7225/fapi/rest/5_2/recoverpoint.wadl) but not found any api to reponse vmUUI(uuid)..
Howja
1 Message
0
March 8th, 2019 13:00
Did you have any luck figuring this out? I'm attempting to do the same thing and am struggling with the convoluted sample JSON in the documentation. I have found zero instances online of anyone successfully protecting a VM using RP4VM's REST API, and the official documentation leaves a lot to be desired. If you were successful with this, it would be awesome if you can post your updated JSON.
I03nJ9U6p21163749524500
8 Posts
0
April 1st, 2019 03:00
Hi,
I have the same problem, I'm trying to replicate a VM using RESTAPI but I don't find the complete RESTAPI documentation. Please, anyone know where can I find some document where I can see all methods and parameters?
I have seen the pdf "docu89863_RecoverPoint-for-Virtual-Machines-5.2-REST-API-Guide.pdf" but there is very limited info.
Thanks and regards,
Francisco Tomas.
mosheb
1 Rookie
•
9 Posts
0
April 24th, 2019 01:00
Hi,
I'm currently working on the same problem... Accessing RP4VM with abstract classes fails with no good explaination.
Some time has passed since the original post. Did anyone find a solution and can provide a JSON example?
raghav.viswanathan
39 Posts
0
May 7th, 2019 23:00
Lipun
3 Posts
0
July 3rd, 2019 00:00
Hi Viswanathan,
Need some help, please suggest how do we get the VM uuid through REST API for a source VM, such that we can populate the below replicate VM parameter.
"vmParam": {
"JsonSubType": "ExistingVMParam",
"vmUID": {
"uuid": "502236e5-38ce-a578-98cd-96ea5fee0445",
Lipun
3 Posts
0
July 3rd, 2019 00:00
Idan
3 Apprentice
•
675 Posts
0
July 3rd, 2019 00:00
Idan
3 Apprentice
•
675 Posts
0
July 3rd, 2019 01:00
That's right because we don't have a call which will show you the VM UUID of a VM we're not protecting yet. To clarify my previous response, this is something you'll need to query vCenter for.
Lipun
3 Posts
0
July 3rd, 2019 01:00
Thanks for suggestion.
But i want know Which Vcenter Api. i have checked all Vcenter api(https://{}:7225/fapi/rest/5_2/recoverpoint.wadl) but not found any api to reponse vmUUI(uuid)..
Please help me in this regards.
kelvinw22
1 Rookie
•
13 Posts
0
September 26th, 2019 18:00
Just google and you can find the one-liner you need
https://communities.vmware.com/thread/152365
Get-VM | %{(Get-View $_.Id).config.uuid}