POST api/SendEmailAPI
Request Information
URI Parameters
None.
Body Parameters
Root| Name | Description | Type | Additional information |
|---|---|---|---|
| ProfileId | string |
None. |
|
| APIKey | string |
None. |
|
| From | string |
None. |
|
| To | string |
None. |
|
| ReplyTo | string |
None. |
|
| CC | string |
None. |
|
| BCC | string |
None. |
|
| ReferenceNo | string |
None. |
|
| SubClientCode | string |
None. |
|
| Subject | string |
None. |
|
| text | string |
None. |
|
| html | string |
None. |
|
| attachment | Collection of Attachment |
None. |
|
| DisplayName | string |
None. |
|
| AppId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProfileId": "sample string 1",
"APIKey": "sample string 2",
"From": "sample string 3",
"To": "sample string 4",
"ReplyTo": "sample string 5",
"CC": "sample string 6",
"BCC": "sample string 7",
"ReferenceNo": "sample string 8",
"SubClientCode": "sample string 9",
"Subject": "sample string 10",
"text": "sample string 11",
"html": "sample string 12",
"attachment": [
{
"filename": "sample string 1",
"base64content": "sample string 2"
},
{
"filename": "sample string 1",
"base64content": "sample string 2"
}
],
"DisplayName": "sample string 13",
"AppId": "sample string 14"
}
application/xml, text/xml
Sample:
<body.Root xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMAILApi.Helper">
<APIKey>sample string 2</APIKey>
<AppId>sample string 14</AppId>
<BCC>sample string 7</BCC>
<CC>sample string 6</CC>
<DisplayName>sample string 13</DisplayName>
<From>sample string 3</From>
<ProfileId>sample string 1</ProfileId>
<ReferenceNo>sample string 8</ReferenceNo>
<ReplyTo>sample string 5</ReplyTo>
<SubClientCode>sample string 9</SubClientCode>
<Subject>sample string 10</Subject>
<To>sample string 4</To>
<attachment>
<body.Attachment>
<base64content>sample string 2</base64content>
<filename>sample string 1</filename>
</body.Attachment>
<body.Attachment>
<base64content>sample string 2</base64content>
<filename>sample string 1</filename>
</body.Attachment>
</attachment>
<html>sample string 12</html>
<text>sample string 11</text>
</body.Root>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |