RESTful knowledge exchange
Post Reply
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

API for sending email

Post by SmithJohn »

I would like to know if there is any API exist for sending email through the Enterprise Manager when the job finished?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: API for sending email

Post by veremin »

Hi, Charles. It’s not possible to control notification settings via Enterprise Manager API. Thanks.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: API for sending email

Post by SmithJohn »

could i understand that no api could be used for sending email?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: API for sending email

Post by veremin »

Yep, there is no specific EM API responsible for sending e-mails. Thanks.
tsightler
VP, Product Management
Posts: 6009
Liked: 2842 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: API for sending email

Post by tsightler »

However, it is of course possible to monitor job status via EM and then have your web code send a status email.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: API for sending email

Post by SmithJohn »

As there is a setting on Veeam job of post notification, could it be set by using "edit" job function ?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: API for sending email

Post by veremin »

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.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: API for sending email

Post by SmithJohn »

And if there is any method for active notification instead of keep polling the system?
tsightler
VP, Product Management
Posts: 6009
Liked: 2842 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: API for sending email

Post by tsightler »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests