Getting Notification Settings

This section explains how to get a resource representation of Veeam Explorer for Microsoft Teams notification settings.

Request

GET https://<hostname>:4443/v5/VetEmailSettings

Request Headers

The request header must contain an authorization token of the current session.

Request Body

None.

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns a response code 200 (OK).

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the response body message: application/json; charset=utf-8

Response Body

Property

Type

Description

EnableNotification

boolean

If set to True, indicates that email notifications are enabled for Veeam Explorer for Microsoft Teams. The specified mail server settings will be also used for sending restored Microsoft Teams items by email.

Server

string

Specifies the full DNS name or IP address of the SMTP server used for sending notifications and restored items in email messages.

Port

int

Specifies the port for connecting to SMTP server.

UseAuthentication

boolean

If set to True, indicates that the SMTP server requires authentication. Otherwise, a connection that does not enforce authentication will be established to the SMTP server.

UserName

string

Specifies the user name you want to use for authentication with the SMTP server.

UserPassword

string

Specifies the password you want to use for authentication with the SMTP server.

UseSSL

boolean

If set to True, indicates that Veeam Backup for Microsoft Office 365 uses a secure connection for email notification transmission. Otherwise, email notifications will be transmitted through the connection that does not require SSL authentication.

From

string

Specifies the email address from which notifications and restored Microsoft Teams data will be sent. This email address must have permissions to connect to the SMTP server if the SMTP server requires authentication.

_links

Dictionary of string [key] and Object [value]

Links to related resources (navigation property).

Example

The example below returns an entity representation of Veeam Explorer for Microsoft Teams email settings used for sending notifications and restored Microsoft Teams items by email.

Request:

GET https://abc.tech.local:4443/v5/EmailSettings

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

{

 "enableNotification": "true",

 "server": "smtp.office365.com",

 "port": 25,

 "from": "support@tech.com",

 "useAuthentication": "true",

 "username": "vscott@tech.onmicrosoft.com",

 "useSSL": false,

 "_links": {

   "self": {

     "href": "https://abc.tech.local:4443/v5/vetemailsettings"

   }

 },

 "_actions": {

   "update": {

     "uri": "https://abc.tech.local:4443/v5/vetemailsettings",

     "method": "PUT"

   },

   "sendTest": {

     "uri": "https://abc.tech.local:4443/v5/vetemailsettings/action",

     "method": "POST"

   }

 }

}

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.