POST api/email/SendNewEmail
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": "0aa3bb1b-cca4-4227-9078-d06190556fea",
"ProviderLoginId": "2498ef01-6e60-4ce1-b5e6-1e9ce3dd887c",
"CampaignId": "104d71aa-2ef3-499e-8f06-b18abc3f6cb9",
"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": "f9807cfc-0937-4de9-9482-233beb7a1423",
"UserID": "02df0d55-4dcd-4b8d-9174-e1ed24215eda",
"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>104d71aa-2ef3-499e-8f06-b18abc3f6cb9</CampaignId> <CampaignName>sample string 11</CampaignName> <FriendlyFrom>sample string 9</FriendlyFrom> <FromAddress>sample string 8</FromAddress> <HtmlBody>sample string 5</HtmlBody> <Id>0aa3bb1b-cca4-4227-9078-d06190556fea</Id> <ProviderLoginId>2498ef01-6e60-4ce1-b5e6-1e9ce3dd887c</ProviderLoginId> <ReplyToAddress>sample string 10</ReplyToAddress> <Subject>sample string 4</Subject> <TenantID>f9807cfc-0937-4de9-9482-233beb7a1423</TenantID> <TextBody>sample string 6</TextBody> <ToAddress>sample string 7</ToAddress> <UserID>02df0d55-4dcd-4b8d-9174-e1ed24215eda</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.