GET api/v1/emailtemplates

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EmailTemplateOverview
NameDescriptionTypeAdditional information
EmailTemplateId

globally unique identifier

None.

EmailTemplateName

string

Required

String length: inclusive between 0 and 100

Description

string

None.

IsSystemTemplate

boolean

None.

IsCustomizable

boolean

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmailTemplateId": "0cb0773b-75b9-4ae3-9954-866582f42db0",
    "EmailTemplateName": "sample string 2",
    "Description": "sample string 3",
    "IsSystemTemplate": true,
    "IsCustomizable": true,
    "Id": "0cb0773b-75b9-4ae3-9954-866582f42db0",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  {
    "EmailTemplateId": "0cb0773b-75b9-4ae3-9954-866582f42db0",
    "EmailTemplateName": "sample string 2",
    "Description": "sample string 3",
    "IsSystemTemplate": true,
    "IsCustomizable": true,
    "Id": "0cb0773b-75b9-4ae3-9954-866582f42db0",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  }
]

text/html

Sample:
[{"EmailTemplateId":"0cb0773b-75b9-4ae3-9954-866582f42db0","EmailTemplateName":"sample string 2","Description":"sample string 3","IsSystemTemplate":true,"IsCustomizable":true,"Id":"0cb0773b-75b9-4ae3-9954-866582f42db0","CanUpdateRecord":true,"CanDeleteRecord":true},{"EmailTemplateId":"0cb0773b-75b9-4ae3-9954-866582f42db0","EmailTemplateName":"sample string 2","Description":"sample string 3","IsSystemTemplate":true,"IsCustomizable":true,"Id":"0cb0773b-75b9-4ae3-9954-866582f42db0","CanUpdateRecord":true,"CanDeleteRecord":true}]

application/xml, text/xml

Sample:
<ArrayOfEmailTemplateOverview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Emails">
  <EmailTemplateOverview>
    <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
    <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
    <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">0cb0773b-75b9-4ae3-9954-866582f42db0</Id>
    <Description>sample string 3</Description>
    <EmailTemplateId>0cb0773b-75b9-4ae3-9954-866582f42db0</EmailTemplateId>
    <EmailTemplateName>sample string 2</EmailTemplateName>
    <IsCustomizable>true</IsCustomizable>
    <IsSystemTemplate>true</IsSystemTemplate>
  </EmailTemplateOverview>
  <EmailTemplateOverview>
    <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
    <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
    <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">0cb0773b-75b9-4ae3-9954-866582f42db0</Id>
    <Description>sample string 3</Description>
    <EmailTemplateId>0cb0773b-75b9-4ae3-9954-866582f42db0</EmailTemplateId>
    <EmailTemplateName>sample string 2</EmailTemplateName>
    <IsCustomizable>true</IsCustomizable>
    <IsSystemTemplate>true</IsSystemTemplate>
  </EmailTemplateOverview>
</ArrayOfEmailTemplateOverview>