POST api/Configuration/AddEmailTemplate
Request Information
URI Parameters
None.
Body Parameters
RequestAddEmailTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| type | string |
None. |
|
| subject | string |
None. |
|
| emailbody | string |
None. |
|
| enable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"type": "sample string 2",
"subject": "sample string 3",
"emailbody": "sample string 4",
"enable": true
}
application/xml, text/xml
Sample:
<RequestAddEmailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom"> <emailbody>sample string 4</emailbody> <enable>true</enable> <id>1</id> <subject>sample string 3</subject> <type>sample string 2</type> </RequestAddEmailTemplate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />