GET api/emailtemplates/{level}/{categoryName}

Get available templates for for the selected level and category.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
level

Document template level.

EmailTemplateLevelDTO

Required

categoryName

Category name.

string

Required

Body Parameters

None.

Response Information

Resource Description

EmailTemplateAvailableNameDTO
NameDescriptionTypeAdditional information
text

Template name.

string

None.

value

ID uniquiely identifying the template.

integer

None.

Code

Template code.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "text": "sample string 1",
  "value": 2,
  "Code": "sample string 3"
}

text/html

Sample:
{"text":"sample string 1","value":2,"Code":"sample string 3"}

application/xml, text/xml

Sample:
<EmailTemplateAvailableNameDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <Code>sample string 3</Code>
  <text>sample string 1</text>
  <value>2</value>
</EmailTemplateAvailableNameDTO>