GET api/EmailTemplates

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EmailTemplateDto
NameDescriptionTypeAdditional information
TemplateId

globally unique identifier

None.

Name

string

None.

CompanyId

globally unique identifier

None.

IsPublic

boolean

None.

Source

EmailTemplateSources

None.

Category

EmailTemplateCategories

None.

Localization

EmailTemplateLocalizations

None.

TemplateIdAtSource

string

None.

GoodForCode

boolean

None.

GoodForAttachment

boolean

None.

Remarks

string

None.

ImageSource

EmailTemplateImageSources

None.

ImageUrl

string

None.

TitleSource

EmailTemplateTitleSources

None.

Title

string

None.

SenderAddress

string

None.

SenderViaName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TemplateId": "cb2eab0b-25f0-4bbf-9889-fbebe081a348",
    "Name": "sample string 2",
    "CompanyId": "b3137135-3df0-468e-9496-e6ef2a7123f5",
    "IsPublic": true,
    "Source": 1,
    "Category": 1,
    "Localization": 11,
    "TemplateIdAtSource": "sample string 4",
    "GoodForCode": true,
    "GoodForAttachment": true,
    "Remarks": "sample string 7",
    "ImageSource": 0,
    "ImageUrl": "sample string 8",
    "TitleSource": 0,
    "Title": "sample string 9",
    "SenderAddress": "sample string 10",
    "SenderViaName": "sample string 11"
  },
  {
    "TemplateId": "cb2eab0b-25f0-4bbf-9889-fbebe081a348",
    "Name": "sample string 2",
    "CompanyId": "b3137135-3df0-468e-9496-e6ef2a7123f5",
    "IsPublic": true,
    "Source": 1,
    "Category": 1,
    "Localization": 11,
    "TemplateIdAtSource": "sample string 4",
    "GoodForCode": true,
    "GoodForAttachment": true,
    "Remarks": "sample string 7",
    "ImageSource": 0,
    "ImageUrl": "sample string 8",
    "TitleSource": 0,
    "Title": "sample string 9",
    "SenderAddress": "sample string 10",
    "SenderViaName": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmailTemplateDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EmailTemplateDto>
    <TemplateId>cb2eab0b-25f0-4bbf-9889-fbebe081a348</TemplateId>
    <Name>sample string 2</Name>
    <CompanyId>b3137135-3df0-468e-9496-e6ef2a7123f5</CompanyId>
    <IsPublic>true</IsPublic>
    <Source>SendGrid</Source>
    <Category>Basic</Category>
    <Localization>EN</Localization>
    <TemplateIdAtSource>sample string 4</TemplateIdAtSource>
    <GoodForCode>true</GoodForCode>
    <GoodForAttachment>true</GoodForAttachment>
    <Remarks>sample string 7</Remarks>
    <ImageSource>Default</ImageSource>
    <ImageUrl>sample string 8</ImageUrl>
    <TitleSource>Default</TitleSource>
    <Title>sample string 9</Title>
    <SenderAddress>sample string 10</SenderAddress>
    <SenderViaName>sample string 11</SenderViaName>
  </EmailTemplateDto>
  <EmailTemplateDto>
    <TemplateId>cb2eab0b-25f0-4bbf-9889-fbebe081a348</TemplateId>
    <Name>sample string 2</Name>
    <CompanyId>b3137135-3df0-468e-9496-e6ef2a7123f5</CompanyId>
    <IsPublic>true</IsPublic>
    <Source>SendGrid</Source>
    <Category>Basic</Category>
    <Localization>EN</Localization>
    <TemplateIdAtSource>sample string 4</TemplateIdAtSource>
    <GoodForCode>true</GoodForCode>
    <GoodForAttachment>true</GoodForAttachment>
    <Remarks>sample string 7</Remarks>
    <ImageSource>Default</ImageSource>
    <ImageUrl>sample string 8</ImageUrl>
    <TitleSource>Default</TitleSource>
    <Title>sample string 9</Title>
    <SenderAddress>sample string 10</SenderAddress>
    <SenderViaName>sample string 11</SenderViaName>
  </EmailTemplateDto>
</ArrayOfEmailTemplateDto>