GET api/EmailTemplate/GetByIdEmailTemplate/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
EmailTemplateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| title | string |
None. |
|
| body | string |
None. |
|
| send | string |
None. |
|
| reply | string |
None. |
|
| subject | string |
None. |
|
| emailIcon | string |
None. |
|
| isReminder | boolean |
None. |
|
| day | integer |
None. |
|
| month | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"title": "sample string 2",
"body": "sample string 3",
"send": "sample string 4",
"reply": "sample string 5",
"subject": "sample string 6",
"emailIcon": "sample string 7",
"isReminder": true,
"day": 1,
"month": 1
}
application/xml, text/xml
Sample:
<EmailTemplateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs"> <body>sample string 3</body> <day>1</day> <emailIcon>sample string 7</emailIcon> <id>1</id> <isReminder>true</isReminder> <month>1</month> <reply>sample string 5</reply> <send>sample string 4</send> <subject>sample string 6</subject> <title>sample string 2</title> </EmailTemplateDTO>