Object Definition Template
Object definition template
Property | Type | Description |
---|---|---|
ID | Guid | The ID of the template |
AccountID | Guid | The accountID of the template |
Name | String | The name of the template |
Description | String | The description of the template |
HtmlBody | String | The html body of the template. This is the body that recipients with a normal e-mail client will get |
TextBody | String | The text body of the template. This is the body that recipients will get when their e-mail client doesn't support HTML |
Json | String | The json of the template. This field is only used when you use our editor. You can leave this blank. |
MergeFields | Object | See mergefields object definition |
TemplateEditorType | Int (Enum) |
The editor type of the template 1 = Drag&DropEditor, template is saved through the Drag&Drop editor and includes valid json to be read by the Drag&Drop editor. 2 = HtmlEditor, template is made up of custom html and not supported by the Drag&Drop editor. |
CreatedOn | DateTime | When the template was created in CET |
CreatedOnUtc | DateTime | When the template was created in UTC |
ModifiedOn | DateTime | When the template was last modified in CET |
ModifiedOnUtc | DateTime | When the template was last modified in UTC |
DeletedOn | DateTime | When the template was deleted in CET |
DeletedOnUtc | DateTime | When the template was deleted in UTC |
Object definition merge fields
Property | Type | Description |
---|---|---|
MergeTags | Array of objects | The mergetags available. See merge tag object definition |
SpecialLinks | Array of objects | The special links available. See special link object definition |
Object definition merge tag
Property | Type | Description |
---|---|---|
Name | String | The name of the merge tag |
Value | String | The value of the merge tag. This is the placeholder that will be replaced in the body of the mail, for example: {{ Recipient.Url }} |
Mapping | String | The field in the address object it should be replaced with, for example: Recipient.MergeFieldValue1. |
Object definition special link
Property | Type | Description |
---|---|---|
Type | String | The of the link, this should be either system or link |
Label | String | The label of the link. This is just for recognizing the link, it won't replace the label in the body. |
Link | String | This is the placeholder in the body that will be replaced, for example [[ SpecialLink.link2 ]] |
Mapping | String | The url this link should map to, for example: https://www.cm.com. This can also be a merge field, for example: {{ Recipient.Url }} |
Tag | String | The tag of the link. This will show up in your Data account when the link is clicked. |
Updated over 2 years ago