This is an archive version of the document. To get the most up-to-date information, see the current version.

Get Notification Settings

In this article

    You can get a representation of notification settings for a discovery rule with the specified ID.

    Request

    To get discovery rule notification settings, send the GET HTTPS request to the URL of the /discoveryRules/{ID}/notificationSettings  resource.

    HTTPS Request

    GET https://<Availability-Console>:1281/v2/discoveryRules/{ID}/notificationSettings

    Request Headers

    The request header must contain the authorization token for the current logon session.

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 Success.

    Response Headers

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

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

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

    Response Body

    In the response body, Veeam Availability Console returns a representation of the /discoveryRules/{ID}/notificationSettings resource.

    Example Get Notification Settings

    The following request returns a representation of notification settings for a discovery rule with ID 2.

    Request:

    GET https://localhost:1281/v2/DiscoveryRules/2/notificationSettings

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    {

     "scheduleType": "Day",

     "scheduleTime": "08:00:00",

     "scheduleDay": "Sunday",

     "from": "notification@vac.com",

     "to": "administrator@vac.com",

     "subject": "VAC Discovery Results"

    }

    I want to report a typo

    There is a misspelling right here:

     

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