PUT api/Admin/Tenant/{tenantId}/MailTemplates
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tenantId | integer |
Required |
Body Parameters
MailTemplatesPostDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateId | integer |
None. |
|
| LanguageId | integer |
None. |
|
| LocationId | integer |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| Sender | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TemplateId": 1,
"LanguageId": 2,
"LocationId": 1,
"Subject": "sample string 3",
"Body": "sample string 4",
"Sender": "sample string 5"
}
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 4</Body> <LanguageId>2</LanguageId> <LocationId>1</LocationId> <Sender>sample string 5</Sender> <Subject>sample string 3</Subject> <TemplateId>1</TemplateId> </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.