PUT api/Email/Template
Updates a email template.
Request Information
URI Parameters
None.
Body Parameters
UpdateEmailTemplateModel| Name | Description | Type | Additional 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": "c2d5ab09-ecc0-427e-aa68-9c4f72a0ddb9",
"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": "a26693f8-22d8-444e-9386-c3390a0375cf",
"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>a26693f8-22d8-444e-9386-c3390a0375cf</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>c2d5ab09-ecc0-427e-aa68-9c4f72a0ddb9</Id> </UpdateEmailTemplateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>