POST Email/Send
Request Information
URI Parameters
None.
Body Parameters
EmailParams| Name | Description | Type | Additional information |
|---|---|---|---|
| template | string |
None. |
|
| subject | string |
None. |
|
| to | string |
None. |
|
| from | string |
None. |
|
| templateParams | Dictionary of string [key] and string [value] |
None. |
|
| bcc | string |
None. |
|
| replyTo | string |
None. |
|
| AttachedImages | Collection of ImageAttachment |
None. |
Request Formats
application/json, text/json
Sample:
{
"template": "sample string 1",
"subject": "sample string 2",
"to": "sample string 3",
"from": "sample string 4",
"templateParams": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"bcc": "sample string 5",
"replyTo": "sample string 6",
"attachedImages": [
{
"base64Data": "sample string 1",
"filename": "sample string 2"
},
{
"base64Data": "sample string 1",
"filename": "sample string 2"
}
]
}
text/html
Sample:
{"template":"sample string 1","subject":"sample string 2","to":"sample string 3","from":"sample string 4","templateParams":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"bcc":"sample string 5","replyTo":"sample string 6","attachedImages":[{"base64Data":"sample string 1","filename":"sample string 2"},{"base64Data":"sample string 1","filename":"sample string 2"}]}
application/xml, text/xml
Sample:
<EmailParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContactService.Models">
<AttachedImages>
<ImageAttachment>
<Base64Data>sample string 1</Base64Data>
<Filename>sample string 2</Filename>
</ImageAttachment>
<ImageAttachment>
<Base64Data>sample string 1</Base64Data>
<Filename>sample string 2</Filename>
</ImageAttachment>
</AttachedImages>
<bcc>sample string 5</bcc>
<from>sample string 4</from>
<replyTo>sample string 6</replyTo>
<subject>sample string 2</subject>
<template>sample string 1</template>
<templateParams xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</templateParams>
<to>sample string 3</to>
</EmailParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>