POST api/Users/sendEmail
Request Information
URI Parameters
None.
Body Parameters
mailModelName | Description | Type | Additional information |
---|---|---|---|
HtmlTemplete | string |
None. |
|
Subject | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "HtmlTemplete": "sample string 1", "Subject": "sample string 2" }
text/html
Sample:
{"HtmlTemplete":"sample string 1","Subject":"sample string 2"}
application/xml, text/xml
Sample:
<UsersController.mailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.API"> <HtmlTemplete>sample string 1</HtmlTemplete> <Subject>sample string 2</Subject> </UsersController.mailModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponceDataName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
Message | string |
None. |
|
Success | boolean |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalCount": 1, "Message": "sample string 2", "Success": true, "Data": {} }
text/html
Sample:
{"TotalCount":1,"Message":"sample string 2","Success":true,"Data":{}}
application/xml, text/xml
Sample:
<ResponceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Formatter"> <Data /> <Message>sample string 2</Message> <Success>true</Success> <TotalCount>1</TotalCount> </ResponceData>