[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Set Email Condition Deprecated
DescriptionThis 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
URLURL
https://localhost/suite-api/api/notifications/email/templates/{id}/conditions
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
EmailTemplateCondition
of type(s) application/json, application/xml
The EmailTemplateCondition after associating with the specified Email Template
Errors
404
There is no Email Template with the specified path parameter
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
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
On This Page
Notifications Operations
delete
post
delete