[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Set Email Condition Deprecated

Description

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

Request

URL

URL


post
https://localhost/suite-api/api/notifications/email/templates/{id}/conditions
Copy

Path Parameters

Path Parameters

string
id Required

The identifier of the Email Template


Request Body

Request Body

email-template-condition of type(s) application/json, application/xml Required

The Request payload containing the E-Mail Condition

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created returns EmailTemplateCondition of type(s) application/json, application/xml

The EmailTemplateCondition after associating with the specified Email Template

Errors

Errors

404

There is no Email Template with the specified path parameter

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"alertStatus":"NEW","alertSubType":0,"alertType":0,"emailAddress":"string"}' https://localhost/suite-api/api/notifications/email/templates/{id}/conditions


Feedback

Was this page helpful?