StandardEmailTemplate
Updates a StandardEmailTemplate.
Updates a StandardEmailTemplate.
PATCH
/api/email-layouts/{id}Authorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Path Parameters
id
stringrequired
StandardEmailTemplate identifier
Request Body
application/json
required
The updated StandardEmailTemplate resource
{
"identifier": "key1",
"description": "Invoice for contract <<contract.number>>",
"body": "<div style=\"padding-bottom: 30px\"> Hi <<customer.firstname>>, <br>\n This is a sample HTML-Template to show you, how to use the power of Output.Rocks ;)\n </div>",
"text": "Email text <<customer.firstname>>",
"active": true,
"activeFrom": "2024-01-01"
}Response
200
StandardEmailTemplate resource updated
id
integer
Identifier generated by Output.Rocks.
identifier
stringrequired
Unique identifier
description
string
StandardEmailTemplate description / title. <<>>-Syntax can be used for dynamical generation.
body
string
Email body <<>>-Syntax can be used for dynamical generation.
text
string
Email text <<>>-Syntax can be used for dynamical generation.
createdBy
string
User, created this entry
updatedBy
string
User, updated this entry
createdAt
string<date-time>
UTC date time of entry creation
updatedAt
string<date-time>
UTC date time of last entry update
active
boolean
Active flag. Default: true
activeFrom
string<date-time>
Date to activate the entry. Default: today