Anyone write any code for REST API using classic ASP?

RESTful knowledge exchange

Anyone write any code for REST API using classic ASP?

Veeam Logoby electricd7 » Thu Jun 26, 2014 4:02 pm

Hello,

I am wanting to implement a simple (i think) page which returns the last successful backup of a set of specific machines. I have download the API reference guide, but am rather lost. I haven't coded anything in awhile and am probably most proficient with Classic ASP w/ VBScript. Is there a simple way that I could pass a list of VMs and get their last successful backup date? Thanks!
electricd7
Expert
 
Posts: 103
Liked: 5 times
Joined: Tue Mar 27, 2012 10:13 pm
Full Name: Chad Killion

Re: Anyone write any code for REST API using classic ASP?

Veeam Logoby v.Eremin » Fri Jun 27, 2014 9:19 am

You can first get the backup session using (GET) /backupSessions/{ID} call and check the session state ("State" parameter). The backup session also has referencec to corresponding backup task sessions. The tasks sessions, in their turn, contain VM name ("VmDisplayName" parameter). Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests