EmailTemplate Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
media MediaEnum  
descriptionOrCode string  
parentEntityType object  
parentEntity BusinessEntity  
referenceCode string  
subject string  
tagEndDelimiter string  
referenceDescription string  
notified boolean  
endDate number  
historized boolean  
startDate number  
appendGeneratedCode boolean  
tagStartDelimiter string  
transient boolean  
id number  
auditable Auditable  
type MessageTemplateTypeEnum  
auditableFields array of AuditableFieldHistory  
codeChanged boolean  
textContent string  
version number  
descriptionAndCode string  
description string max size: 255, min size: 0
htmlContent string  
code string required, max size: 255, min size: 1

Example

{
  "media" : "VOICE",
  "descriptionOrCode" : "...",
  "parentEntityType" : { },
  "parentEntity" : {
    "codeChanged" : true,
    "notified" : true,
    "descriptionOrCode" : "...",
    "description" : "...",
    "version" : 12345,
    "historized" : true,
    "transient" : true,
    "id" : 12345,
    "parentEntityType" : { },
    "parentEntity" : { },
    "referenceCode" : "...",
    "code" : "...",
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "OTHER",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "OTHER",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    },
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "referenceDescription" : "..."
  },
  "referenceCode" : "...",
  "subject" : "...",
  "tagEndDelimiter" : "...",
  "referenceDescription" : "...",
  "notified" : true,
  "endDate" : 12345,
  "historized" : true,
  "startDate" : 12345,
  "appendGeneratedCode" : true,
  "tagStartDelimiter" : "...",
  "transient" : true,
  "id" : 12345,
  "auditable" : {
    "creator" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345,
    "lastUser" : "...",
    "created" : 12345
  },
  "type" : "DUNNING",
  "auditableFields" : [ {
    "notfiable" : true,
    "fieldName" : "...",
    "auditType" : "STATUS",
    "previousState" : { },
    "historable" : true,
    "notified" : true,
    "historized" : true,
    "currentState" : { }
  }, {
    "notfiable" : true,
    "fieldName" : "...",
    "auditType" : "OTHER",
    "previousState" : { },
    "historable" : true,
    "notified" : true,
    "historized" : true,
    "currentState" : { }
  } ],
  "codeChanged" : true,
  "textContent" : "...",
  "version" : 12345,
  "descriptionAndCode" : "...",
  "description" : "...",
  "htmlContent" : "...",
  "code" : "..."
}