POST api/Email/Customize

Request Information

URI Parameters

None.

Body Parameters

CustomizeTemplateDto
NameDescriptionTypeAdditional information
TemplateId

globally unique identifier

None.

Name

string

None.

Subject

string

None.

Title

string

None.

Salutation

string

None.

Valediction

string

None.

CustomText1

string

None.

CustomText2

string

None.

Customized

boolean

None.

OriginalSubject

string

None.

HtmlContent

string

None.

TextContent

string

None.

GoodForCode

boolean

None.

GoodForAttachment

boolean

None.

Remarks

string

None.

ImageSource

EmailTemplateImageSources

None.

ImageUrl

string

None.

TitleSource

EmailTemplateTitleSources

None.

SenderAddress

string

None.

SenderViaName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateId": "454db04c-cf81-4d0a-8aa4-593697cd45fa",
  "Name": "sample string 2",
  "Subject": "sample string 3",
  "Title": "sample string 4",
  "Salutation": "sample string 5",
  "Valediction": "sample string 6",
  "CustomText1": "sample string 7",
  "CustomText2": "sample string 8",
  "Customized": true,
  "OriginalSubject": "sample string 10",
  "HtmlContent": "sample string 11",
  "TextContent": "sample string 12",
  "GoodForCode": true,
  "GoodForAttachment": true,
  "Remarks": "sample string 15",
  "ImageSource": 0,
  "ImageUrl": "sample string 16",
  "TitleSource": 0,
  "SenderAddress": "sample string 17",
  "SenderViaName": "sample string 18"
}

application/xml, text/xml

Sample:
<CustomizeTemplateDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TemplateId>454db04c-cf81-4d0a-8aa4-593697cd45fa</TemplateId>
  <Name>sample string 2</Name>
  <Subject>sample string 3</Subject>
  <Title>sample string 4</Title>
  <Salutation>sample string 5</Salutation>
  <Valediction>sample string 6</Valediction>
  <CustomText1>sample string 7</CustomText1>
  <CustomText2>sample string 8</CustomText2>
  <Customized>true</Customized>
  <OriginalSubject>sample string 10</OriginalSubject>
  <HtmlContent>sample string 11</HtmlContent>
  <TextContent>sample string 12</TextContent>
  <GoodForCode>true</GoodForCode>
  <GoodForAttachment>true</GoodForAttachment>
  <Remarks>sample string 15</Remarks>
  <ImageSource>Default</ImageSource>
  <ImageUrl>sample string 16</ImageUrl>
  <TitleSource>Default</TitleSource>
  <SenderAddress>sample string 17</SenderAddress>
  <SenderViaName>sample string 18</SenderViaName>
</CustomizeTemplateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.