How to get vm restorePoints by VM

RESTful knowledge exchange

How to get vm restorePoints by VM

Veeam Logoby jerny_huang » Wed Aug 06, 2014 8:22 am

I want to get all restorePoints of a vm. How can I do it?
jerny_huang
Novice
 
Posts: 8
Liked: never
Joined: Wed Aug 06, 2014 8:11 am
Full Name: Jerny Huang

Re: How to get vm restorePoints by VM

Veeam Logoby v.Eremin » Wed Aug 06, 2014 8:33 am

You need to query VMRestorePoints, using either VMName or VMDisplayName as query parameter. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: How to get vm restorePoints by VM

Veeam Logoby jerny_huang » Wed Aug 06, 2014 9:07 am

I have tried but failed.It returns all vmestorePoints list. Can you help me?
http://localhost:9399/api/query?type=Vm ... 4-testvm01
jerny_huang
Novice
 
Posts: 8
Liked: never
Joined: Wed Aug 06, 2014 8:11 am
Full Name: Jerny Huang

Re: How to get vm restorePoints by VM

Veeam Logoby poulpreben » Wed Aug 06, 2014 9:15 am

You must add the filter parameter like: &filter=VmName==r4-testvm01
poulpreben
Expert
 
Posts: 935
Liked: 398 times
Joined: Mon Jul 23, 2012 8:16 am
Full Name: Preben Berg

Re: How to get vm restorePoints by VM

Veeam Logoby jerny_huang » Wed Aug 06, 2014 9:21 am

Thanks. it has solved
jerny_huang
Novice
 
Posts: 8
Liked: never
Joined: Wed Aug 06, 2014 8:11 am
Full Name: Jerny Huang


Return to RESTful API



Who is online

Users browsing this forum: No registered users and 3 guests