POST api/EmailTemplates

Request Information

URI Parameters

None.

Body Parameters

EmailTemplates
NameDescriptionTypeAdditional information
TemplateID

string

String length: inclusive between 0 and 50

TemplateName

string

String length: inclusive between 0 and 50

BodyText

string

None.

Attachments

string

String length: inclusive between 0 and 500

Subject

string

String length: inclusive between 0 and 200

CC

string

String length: inclusive between 0 and 200

BCC

string

String length: inclusive between 0 and 200

NotesService

string

String length: inclusive between 0 and 50

NotesRegarding

string

String length: inclusive between 0 and 50

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateID": "sample string 1",
  "TemplateName": "sample string 2",
  "BodyText": "sample string 3",
  "Attachments": "sample string 4",
  "Subject": "sample string 5",
  "CC": "sample string 6",
  "BCC": "sample string 7",
  "NotesService": "sample string 8",
  "NotesRegarding": "sample string 9",
  "ID": 10
}

application/xml, text/xml

Sample:
<EmailTemplates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Attachments>sample string 4</Attachments>
  <BCC>sample string 7</BCC>
  <BodyText>sample string 3</BodyText>
  <CC>sample string 6</CC>
  <ID>10</ID>
  <NotesRegarding>sample string 9</NotesRegarding>
  <NotesService>sample string 8</NotesService>
  <Subject>sample string 5</Subject>
  <TemplateID>sample string 1</TemplateID>
  <TemplateName>sample string 2</TemplateName>
</EmailTemplates>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EmailTemplates
NameDescriptionTypeAdditional information
TemplateID

string

String length: inclusive between 0 and 50

TemplateName

string

String length: inclusive between 0 and 50

BodyText

string

None.

Attachments

string

String length: inclusive between 0 and 500

Subject

string

String length: inclusive between 0 and 200

CC

string

String length: inclusive between 0 and 200

BCC

string

String length: inclusive between 0 and 200

NotesService

string

String length: inclusive between 0 and 50

NotesRegarding

string

String length: inclusive between 0 and 50

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TemplateID": "sample string 1",
  "TemplateName": "sample string 2",
  "BodyText": "sample string 3",
  "Attachments": "sample string 4",
  "Subject": "sample string 5",
  "CC": "sample string 6",
  "BCC": "sample string 7",
  "NotesService": "sample string 8",
  "NotesRegarding": "sample string 9",
  "ID": 10
}

application/xml, text/xml

Sample:
<EmailTemplates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Attachments>sample string 4</Attachments>
  <BCC>sample string 7</BCC>
  <BodyText>sample string 3</BodyText>
  <CC>sample string 6</CC>
  <ID>10</ID>
  <NotesRegarding>sample string 9</NotesRegarding>
  <NotesService>sample string 8</NotesService>
  <Subject>sample string 5</Subject>
  <TemplateID>sample string 1</TemplateID>
  <TemplateName>sample string 2</TemplateName>
</EmailTemplates>