GET {version}/GetTemplates
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of TemplateName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
IsForEmail | boolean |
None. |
|
IsForLetter | boolean |
None. |
|
IsForWebForm | boolean |
None. |
|
TemplateHeader | string |
None. |
|
TemplateFooter | string |
None. |
|
TemplateContent | string |
None. |
|
TextContent | string |
None. |
|
CssContent | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "28f3e245-f799-462a-b654-4c0b81d4021e", "Name": "sample string 2", "Description": "sample string 3", "IsForEmail": true, "IsForLetter": true, "IsForWebForm": true, "TemplateHeader": "sample string 7", "TemplateFooter": "sample string 8", "TemplateContent": "sample string 9", "TextContent": "sample string 10", "CssContent": "sample string 11" }, { "Id": "28f3e245-f799-462a-b654-4c0b81d4021e", "Name": "sample string 2", "Description": "sample string 3", "IsForEmail": true, "IsForLetter": true, "IsForWebForm": true, "TemplateHeader": "sample string 7", "TemplateFooter": "sample string 8", "TemplateContent": "sample string 9", "TextContent": "sample string 10", "CssContent": "sample string 11" } ]
application/xml, text/xml
Sample:
<ArrayOfTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model"> <Template> <CssContent>sample string 11</CssContent> <Description>sample string 3</Description> <Id>28f3e245-f799-462a-b654-4c0b81d4021e</Id> <IsForEmail>true</IsForEmail> <IsForLetter>true</IsForLetter> <IsForWebForm>true</IsForWebForm> <Name>sample string 2</Name> <TemplateContent>sample string 9</TemplateContent> <TemplateFooter>sample string 8</TemplateFooter> <TemplateHeader>sample string 7</TemplateHeader> <TextContent>sample string 10</TextContent> </Template> <Template> <CssContent>sample string 11</CssContent> <Description>sample string 3</Description> <Id>28f3e245-f799-462a-b654-4c0b81d4021e</Id> <IsForEmail>true</IsForEmail> <IsForLetter>true</IsForLetter> <IsForWebForm>true</IsForWebForm> <Name>sample string 2</Name> <TemplateContent>sample string 9</TemplateContent> <TemplateFooter>sample string 8</TemplateFooter> <TemplateHeader>sample string 7</TemplateHeader> <TextContent>sample string 10</TextContent> </Template> </ArrayOfTemplate>