Set Email Condition Using POST

Set Email Condition Using POST

This allows user to select different templates based on the alert that was triggered. The various Alert Types and associated Sub-Types available in the system can be queried via the API GET /api/alerts/types

Request
URI
POST
https://{api_host}/api/notifications/email/templates/{id}/conditions
COPY
Path Parameters
string
id
Required

The identifier of the Email Template


Request Body

The Request payload containing the E-Mail Condition

email-template-condition of type(s) application/json
Required
{
    "alertStatus": "string",
    "alertSubType": 0,
    "alertType": 0,
    "emailAddress": "string"
}
string
alertStatus
Required

The status of the alert

Possible values are : NEW, ACTIVE, UPDATED, CANCELED,
integer As int32 As int32
alertSubType
Required

The sub type of the alert

integer As int32 As int32
alertType
Required

The type of the alert

string
emailAddress
Required

The email address of the sender

Authentication
This operation uses the following authentication methods.
Responses
201

The EmailTemplateCondition after associating with the specified Email Template

Returns email-template-condition of type(s) application/json
{
    "alertStatus": "string",
    "alertSubType": 0,
    "alertType": 0,
    "emailAddress": "string"
}
string
alertStatus
Required

The status of the alert

Possible values are : NEW, ACTIVE, UPDATED, CANCELED,
integer As int32 As int32
alertSubType
Required

The sub type of the alert

integer As int32 As int32
alertType
Required

The type of the alert

string
emailAddress
Required

The email address of the sender


404

There is no Email Template with the specified path parameter

Operation doesn't return any data structure