REST API knowledge exchange
Post Reply
david.buchanan
Service Provider
Posts: 42
Liked: 8 times
Joined: Jun 02, 2015 12:44 am
Full Name: David
Contact:

Single job status via Rest API?

Post by david.buchanan »

Hi All,

How to use a API is something that I'm lacking skills in so I'm hoping someone can save me some time and tell me if what I'm trying to do is even possable.

Currently we have multiple clients with Veeam B&R servers all reporting to our Enterprise Manager server.

I'd like to be able to query our Eneterprise Manager server and get info on specific jobs. I've already got a query working that reports on the overall status of all jobs (ie: if gives me the totals for success, failed, etc). But what I'd like is to query one single job and get it's status. Prehaps maybe a few other items such as last results, most recent restore point, etc.

Is this something that the RestAPI can do?

Thanks,
David.
tdewin
Veeam Software
Posts: 1818
Liked: 655 times
Joined: Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin
Contact:

Re: Single job status via Rest API?

Post by tdewin » 1 person likes this post

Yes, you are looking for sessions.

You can follow the link from the job itself via:

Code: Select all

<Link Rel="Down" Type="BackupJobSessionReferenceList" Href="http://localhost:9399/api/jobs/da4a15c2-04e7-4135-b876-577249d3d720/backupSessions" />)
RestorePoints and VMRestorePoints

Thanks.
david.buchanan
Service Provider
Posts: 42
Liked: 8 times
Joined: Jun 02, 2015 12:44 am
Full Name: David
Contact:

Re: Single job status via Rest API?

Post by david.buchanan »

Thanks TDewin, appericate it.

Regards,
David.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests