The Class EmailTemplateDto.
| name | data type | constraints | description |
|---|---|---|---|
| subject | string | The subject. | |
| htmlContent | string | The html content. | |
| id | number | The id. | |
| auditableField | array of AuditableFieldDto | ||
| textContent | string | The text content. | |
| media | MediaEnum | The media. | |
| code | string | required | The code |
| tagStartDelimiter | string | The tag start delimiter. | |
| tagEndDelimiter | string | The tag end delimiter. | |
| description | string | The description | |
| startDate | number | The start date. | |
| endDate | number | The end date. | |
| type | MessageTemplateTypeEnum | The type. | |
| updatedCode | string | The updated code. |
Example
{
"subject" : "...",
"htmlContent" : "...",
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"textContent" : "...",
"media" : "POSTAL_MAIL",
"code" : "...",
"tagStartDelimiter" : "...",
"tagEndDelimiter" : "...",
"description" : "...",
"startDate" : 12345,
"endDate" : 12345,
"type" : "OTHER",
"updatedCode" : "..."
}