Template
Marketing Cloud Engagement has a new model for storing, finding, managing, creating, sharing, and distributing all content-related objects. Access the objects created with the new Content Builder tools using the REST API. Your existing SOAP API integrations only function with the Classic tools.
The Template object represents an email template.
Name | Data Type | Description |
---|---|---|
ActiveFlag | xsd | Indicates whether the template is available for use within the account. Valid values include:0 - Not active1 - Active |
Align | xsd | Indicates the alignment of elements within the template. |
BackgroundColor | xsd | Specifies background color used for template. |
BorderColor | xsd | Specifies border color used in template. |
BorderWidth | xsd | Specifies border pixel width used in template. |
CategoryID | xsd | Indicates whether content validation has completed for this email message. |
CategoryType | xsd | Identifies correlation of objects across several requests. |
Client | ClientID | Specifies the account ownership and context of an object. |
Cellpadding | xsd | Specifies pixel width of padding within cells used in template. |
Cellspacing | xsd | Specifies pixel spacing between cells used in template. |
CorrelationID | xsd | Identifies correlation of objects across several requests. |
CreatedDate | xsd | Read-only date and time of the object's creation. |
CustomerKey | xsd | User-supplied unique identifier for an object within an object type. |
HeaderContent | ContentArea | Contains content used in header of template. |
ID | xsd | Read-only legacy identifier for an object. Not supported on all objects. |
IsTemplateSubjectLocked | xsd | Indicates whether the subject defined in the header can be changed or not by email using template. |
Layout | Layout | Specifies how elements within template are laid out, including content areas. |
LayoutHTML | xsd | Contains HTML used to define layout of fields and content within template. |
ModifiedDate | Nullable'1 | Last time object information was modified. |
ObjectID | xsd | System-controlled, read-only text string identifier for object. |
ObjectState | xsd | Reserved for future use. |
Owner | Owner | Describes account ownership of subscriber in an on-your-behalf account. |
OwnerID | xsd | Specifies MID of business unit that created the template within an Enterprise 2.0 account. |
PartnerKey | xsd | Unique identifier provided by partner for an object. This property is accessible only via API. |
PartnerProperties | APIProperty[] | A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API. |
PreHeader | xsd | Contains text used in preheader of email message on mobile devices. |
TemplateName | xsd | A name for the template. |
TemplateSubject | xsd | Contains email subject line specified by the template. |
Width | xsd | Specifies the pixel width of the entire template |