POST api/Email/Template

Creates a Email Template.

Request Information

URI Parameters

None.

Body Parameters

CreateEmailTemplateModel
NameDescriptionTypeAdditional information
Name

string

Required

Code

string

Required

Active

boolean

Required

Abbreviation

string

Required

Subject

string

Required

Content

string

Required

Language

string

Required

SenderAddress

string

Required

IsHTML

boolean

Required

ClientSystemId

globally unique identifier

Required

ModifiedBy

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Code": "sample string 2",
  "Active": true,
  "Abbreviation": "sample string 4",
  "Subject": "sample string 5",
  "Content": "sample string 6",
  "Language": "sample string 7",
  "SenderAddress": "sample string 8",
  "IsHTML": true,
  "ClientSystemId": "82b42fcd-e933-4773-abe8-d71a81e168d8",
  "ModifiedBy": "sample string 11"
}

text/xml

Sample:
<CreateEmailTemplateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Privacy.Proc.API.Models.EmailTemplate">
  <Abbreviation>sample string 4</Abbreviation>
  <Active>true</Active>
  <ClientSystemId>82b42fcd-e933-4773-abe8-d71a81e168d8</ClientSystemId>
  <Code>sample string 2</Code>
  <Content>sample string 6</Content>
  <IsHTML>true</IsHTML>
  <Language>sample string 7</Language>
  <ModifiedBy>sample string 11</ModifiedBy>
  <Name>sample string 1</Name>
  <SenderAddress>sample string 8</SenderAddress>
  <Subject>sample string 5</Subject>
</CreateEmailTemplateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>