POST api/email/SendTestEmail
Request Information
URI Parameters
None.
Body Parameters
NewEmailDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ProviderLoginId | globally unique identifier |
None. |
|
| CampaignId | globally unique identifier |
None. |
|
| Subject | string |
None. |
|
| HtmlBody | string |
None. |
|
| TextBody | string |
None. |
|
| ToAddress | string |
None. |
|
| FromAddress | string |
None. |
|
| FriendlyFrom | string |
None. |
|
| ReplyToAddress | string |
None. |
|
| CampaignName | string |
None. |
|
| TenantID | globally unique identifier |
None. |
|
| UserID | globally unique identifier |
None. |
|
| Username | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "d0fd17d3-0098-4a71-a7d3-55b81ebbb922",
"ProviderLoginId": "3af78aa2-6942-4736-b092-60c231dd1ff9",
"CampaignId": "b1f8a840-5fd0-4778-839e-22af45cb3793",
"Subject": "sample string 4",
"HtmlBody": "sample string 5",
"TextBody": "sample string 6",
"ToAddress": "sample string 7",
"FromAddress": "sample string 8",
"FriendlyFrom": "sample string 9",
"ReplyToAddress": "sample string 10",
"CampaignName": "sample string 11",
"TenantID": "854b8712-1e88-4bb5-b6e1-913d2ae2c32d",
"UserID": "6cbe02fa-9c76-49ca-b20a-06819389c8b5",
"Username": "sample string 12"
}
application/xml, text/xml
Sample:
<NewEmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.DigitalSender.Models.EmailSending"> <CampaignId>b1f8a840-5fd0-4778-839e-22af45cb3793</CampaignId> <CampaignName>sample string 11</CampaignName> <FriendlyFrom>sample string 9</FriendlyFrom> <FromAddress>sample string 8</FromAddress> <HtmlBody>sample string 5</HtmlBody> <Id>d0fd17d3-0098-4a71-a7d3-55b81ebbb922</Id> <ProviderLoginId>3af78aa2-6942-4736-b092-60c231dd1ff9</ProviderLoginId> <ReplyToAddress>sample string 10</ReplyToAddress> <Subject>sample string 4</Subject> <TenantID>854b8712-1e88-4bb5-b6e1-913d2ae2c32d</TenantID> <TextBody>sample string 6</TextBody> <ToAddress>sample string 7</ToAddress> <UserID>6cbe02fa-9c76-49ca-b20a-06819389c8b5</UserID> <Username>sample string 12</Username> </NewEmailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.