POST api/Admin/Tenant/MailTemplates
Request Information
URI Parameters
None.
Body Parameters
MailTemplatesPostDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateId | integer |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| Sender | string |
None. |
|
| LanguageId | integer |
None. |
|
| TenantId | integer |
None. |
|
| LocationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TemplateId": 1,
"Subject": "sample string 2",
"Body": "sample string 3",
"Sender": "sample string 4",
"LanguageId": 5,
"TenantId": 1,
"LocationId": 1
}
application/xml, text/xml
Sample:
<MailTemplatesPostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Admin"> <Body>sample string 3</Body> <LanguageId>5</LanguageId> <LocationId>1</LocationId> <Sender>sample string 4</Sender> <Subject>sample string 2</Subject> <TemplateId>1</TemplateId> <TenantId>1</TenantId> </MailTemplatesPostDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.