PUT api/Email/Template

Updates a email template.

Request Information

URI Parameters

None.

Body Parameters

UpdateEmailTemplateModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

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:
{
  "Id": "a8fd16fe-94a5-464b-8345-c45155c76bbd",
  "Name": "sample string 2",
  "Code": "sample string 3",
  "Active": true,
  "Abbreviation": "sample string 5",
  "Subject": "sample string 6",
  "Content": "sample string 7",
  "Language": "sample string 8",
  "SenderAddress": "sample string 9",
  "IsHTML": true,
  "ClientSystemId": "ca9bb7af-8582-4db3-a522-3230ba59819b",
  "ModifiedBy": "sample string 12"
}

text/xml

Sample:
<UpdateEmailTemplateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Privacy.Proc.API.Models.EmailTemplate">
  <Abbreviation>sample string 5</Abbreviation>
  <Active>true</Active>
  <ClientSystemId>ca9bb7af-8582-4db3-a522-3230ba59819b</ClientSystemId>
  <Code>sample string 3</Code>
  <Content>sample string 7</Content>
  <IsHTML>true</IsHTML>
  <Language>sample string 8</Language>
  <ModifiedBy>sample string 12</ModifiedBy>
  <Name>sample string 2</Name>
  <SenderAddress>sample string 9</SenderAddress>
  <Subject>sample string 6</Subject>
  <Id>a8fd16fe-94a5-464b-8345-c45155c76bbd</Id>
</UpdateEmailTemplateModel>

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>