Create Email Template Using POST

Create Email Template Using POST

Note: This method is deprecated and will be removed in next release. Use the recommended public method, instead (see POST /api/notifications/templates )

Request
URI
POST
https://{api_host}/api/notifications/email/templates
COPY
Request Body

E-mail template as payload Notes Examples for new/updated/canceled Alerts)

email-template of type(s) application/json
Required
{
    "html": false,
    "id": "string",
    "name": "string",
    "template": "string"
}
boolean
html
Required

Flag that indicates whether the template is HTML or plain text

string
id
Required

Identifier of this template. Automatically generated by the system on Create.

string
name
Required

The name of the template

string
template
Required

The body of the template

Authentication
This operation uses the following authentication methods.
Responses
201

The newly created e-mail template

Returns email-template of type(s) application/json
{
    "html": false,
    "id": "string",
    "name": "string",
    "template": "string"
}
boolean
html
Required

Flag that indicates whether the template is HTML or plain text

string
id
Required

Identifier of this template. Automatically generated by the system on Create.

string
name
Required

The name of the template

string
template
Required

The body of the template