POST api/email/template/save
Request Information
URI Parameters
None.
Body Parameters
EmailTemplateName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Tipo | string |
None. |
|
Description | string |
None. |
|
Subject | string |
None. |
|
From | string |
None. |
|
To | string |
None. |
|
Cc | string |
None. |
|
Bcc | string |
None. |
|
ShowInAction | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Tipo": "sample string 2", "Description": "sample string 3", "Subject": "sample string 4", "From": "sample string 5", "To": "sample string 6", "Cc": "sample string 7", "Bcc": "sample string 8", "ShowInAction": true }
text/html
Sample:
{"Id":1,"Tipo":"sample string 2","Description":"sample string 3","Subject":"sample string 4","From":"sample string 5","To":"sample string 6","Cc":"sample string 7","Bcc":"sample string 8","ShowInAction":true}
application/xml, text/xml
Sample:
<EmailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.Generic"> <Bcc>sample string 8</Bcc> <Cc>sample string 7</Cc> <Description>sample string 3</Description> <From>sample string 5</From> <Id>1</Id> <ShowInAction>true</ShowInAction> <Subject>sample string 4</Subject> <Tipo>sample string 2</Tipo> <To>sample string 6</To> </EmailTemplate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>