REST API knowledge exchange
Post Reply
Dylan_Wiebe
Lurker
Posts: 1
Liked: never
Joined: Mar 23, 2015 8:39 pm
Full Name: Dylan Wiebe
Contact:

reports/summary/job_statistics, download report?

Post by Dylan_Wiebe »

Hello All,

I'm looking to automate some reporting, currently I'm exporting to XLS the Job Status page in my Enterprise Manager.

This gives me all the information I could ever want. But, I'd like to automatically email this xls report to myself.

The closest thing I can find is using the reports/summary/job_statistics portion of the rest API, which gives a great overview.

Code: Select all

xmlns                     : http://www.veeam.com/ent/v1.0
xsd                       : http://www.w3.org/2001/XMLSchema
xsi                       : http://www.w3.org/2001/XMLSchema-instance
RunningJobs               : (redacted)
ScheduledJobs             : (redacted)
ScheduledBackupJobs       : (redacted)
ScheduledReplicaJobs      : (redacted)
TotalJobRuns              : (redacted)
SuccessfulJobRuns         : (redacted)
WarningsJobRuns           : (redacted)
FailedJobRuns             : (redacted)
MaxJobDuration            : (redacted)
MaxBackupJobDuration      : (redacted)
MaxReplicaJobDuration     : (redacted)
MaxDurationBackupJobName  : (redacted)
MaxDurationReplicaJobName : 
BackupJobStatusReportLink : Workspace/ViewReport.aspx?definition=00000000-0000-0000-0000-000000000000&ShowParams=1
However the last entry, BackupJobStatusReportLink, looks like could potentially house more information. Is this the report I seek? And if so, how do i actually access that via rest api? so far all my attempts have been in vain.

I've only been using the Enterprise manager rest api for about an hour, so my knowledge is fairly limited, any help would be appreciated.
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: reports/summary/job_statistics, download report?

Post by Vitaliy S. »

A bit of off-topic: if you have Veeam ONE deployed, you can automate report generation and delivery just in few clicks > Veeam Backup & Replication Report Pack
veremin
Product Manager
Posts: 20414
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: reports/summary/job_statistics, download report?

Post by veremin »

If I'm not mistaken, the entity you're referring to is more a service parameter not intended to be used by RESTful API consumer.

I'm wondering what specific information you're trying to get via RESTful API.

Thanks.
wandellms
Lurker
Posts: 1
Liked: never
Joined: Mar 18, 2016 2:48 am
Full Name: Matthew Wandell
Contact:

Re: reports/summary/job_statistics, download report?

Post by wandellms »

Is this something that you were able to figure out? I was looking for the same answer
veremin
Product Manager
Posts: 20414
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: reports/summary/job_statistics, download report?

Post by veremin »

Same question here - what kind of information would you like to get, using Enterprise Manager RESTful APIs? Chances are, we will be able to suggest an alternative to the said service parameter.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests