API for sending email

RESTful knowledge exchange

API for sending email

Veeam Logoby SmithJohn » Tue Oct 29, 2013 3:10 am

I would like to know if there is any API exist for sending email through the Enterprise Manager when the job finished?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: API for sending email

Veeam Logoby v.Eremin » Tue Oct 29, 2013 8:46 am

Hi, Charles. It’s not possible to control notification settings via Enterprise Manager API. Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: API for sending email

Veeam Logoby SmithJohn » Tue Oct 29, 2013 9:54 am

could i understand that no api could be used for sending email?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: API for sending email

Veeam Logoby v.Eremin » Tue Oct 29, 2013 9:59 am

Yep, there is no specific EM API responsible for sending e-mails. Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: API for sending email

Veeam Logoby tsightler » Tue Oct 29, 2013 11:49 am

However, it is of course possible to monitor job status via EM and then have your web code send a status email.
tsightler
Veeam Software
 
Posts: 4767
Liked: 1737 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler

Re: API for sending email

Veeam Logoby SmithJohn » Wed Oct 30, 2013 5:58 am

As there is a setting on Veeam job of post notification, could it be set by using "edit" job function ?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: API for sending email

Veeam Logoby v.Eremin » Wed Oct 30, 2013 8:43 am

As far as I know, job notification settings are not exposed via EM API. However, as mentioned above, it should be possible to track the job end/result through the sessions, and make your code send corresponding e-mail afterwards.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: API for sending email

Veeam Logoby SmithJohn » Wed Oct 30, 2013 9:26 am

And if there is any method for active notification instead of keep polling the system?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: API for sending email

Veeam Logoby tsightler » Wed Oct 30, 2013 12:39 pm

You cannot set email notifications via the RESTful API, however, you can do so via Powershell which you can potentially call from your web application, or through and orchestration backend if you have one.

I don't believe that the RESTful API supports any type of subscription style notification at this time.
tsightler
Veeam Software
 
Posts: 4767
Liked: 1737 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler


Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests