Template
Base type for all content templates. Subtypes include Template_Document (for generating PDFs and printed documents) and Template_Email (for sending automated emails). Templates use dynamic variable substitution to merge CRM data into the content.
Endpoints
List
GET
/v1/odata/TemplateGet by ID
GET
/v1/odata/Template({id})Create
POST
/v1/odata/TemplateUpdate
PUT
/v1/odata/Template({id})Delete
DELETE
/v1/odata/Template({id})Fields
| Field | Type | Description |
|---|---|---|
Name | String | Name |
Content | String | Content |
IsInactive | Boolean | Is inactive |
LocalizedName | String | Name (translated) |
Code | String | Code |
Font | String | Font |
IsDefault | Boolean | Is standard |
Relationships
| Relationship | Target Entity | Cardinality | Description |
|---|---|---|---|
| TemplateCategory | TemplateCategory | N:1 | Template Category |
| Language | Datastore_Language | N:1 | Language |
| FileDoNotUse | File | N:1 | File Do Not Use |
| File | File | N:1 | File |
Expanding Relationships
GET
/v1/odata/Template({id})?$expand=LanguageNavigating Relationships
GET
/v1/odata/Template({id})/Language