RESTful knowledge exchange
Post Reply
jerny_huang
Novice
Posts: 8
Liked: never
Joined: Aug 06, 2014 8:11 am
Full Name: Jerny Huang
Contact:

Get a restorePoint

Post by jerny_huang »

I want to get a restorePoint by restore point name. How can I do it?
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get a restorePoint

Post by veremin »

You need to query restore point entities using /querysvc. Don't forget to choose Name as a query parameter. Thanks.
jerny_huang
Novice
Posts: 8
Liked: never
Joined: Aug 06, 2014 8:11 am
Full Name: Jerny Huang
Contact:

Re: Get a restorePoint

Post by jerny_huang »

Yes, I have tried, but failed. Can you help me?
url:

Code: Select all

http://**************:9399/api/query?type=VmRestorePoint&format=Entities&filter=Name==j-vm0@2014-09-22 18:01:18
      http://**************:9399/api/query?type=VmRestorePoint&format=Entities&filter=Name==j-vm0%402014-09-22+18%3a01%3a18
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get a restorePoint

Post by veremin »

Are you positive that you're using the correct VMRestorePoint name? Can you double check that? You can also try to put the VMRestorePoint Name in quotes and see whether it makes any difference.

In my case the following request works properly:

Code: Select all

http://EM:9399/api/query?type=VmRestorePoint&format=Entities&filter=Name=="VM@2014-09-09 2010:19:56"
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests