POST api/Email
Request Information
URI Parameters
None.
Body Parameters
EmailEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| To | string |
None. |
|
| Cc | string |
None. |
|
| Bcc | string |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| IsHtml | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"To": "sample string 1",
"Cc": "sample string 2",
"Bcc": "sample string 3",
"Subject": "sample string 4",
"Body": "sample string 5",
"IsHtml": true
}
application/xml, text/xml
Sample:
<EmailEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOAS.API.Controllers"> <Bcc>sample string 3</Bcc> <Body>sample string 5</Body> <Cc>sample string 2</Cc> <IsHtml>true</IsHtml> <Subject>sample string 4</Subject> <To>sample string 1</To> </EmailEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>