POST api/sendemail
Request Information
URI Parameters
None.
Body Parameters
SendEmailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProClientId | integer |
None. |
|
| To | string |
None. |
|
| DisplayName | string |
None. |
|
| ReplyTo | string |
None. |
|
| Cc | string |
None. |
|
| Bcc | string |
None. |
|
| Subject | string |
None. |
|
| MessageBody | string |
None. |
|
| IsFileAttached | boolean |
None. |
|
| FilePath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProClientId": 1,
"To": "sample string 2",
"DisplayName": "sample string 3",
"ReplyTo": "sample string 4",
"Cc": "sample string 5",
"Bcc": "sample string 6",
"Subject": "sample string 7",
"MessageBody": "sample string 8",
"IsFileAttached": true,
"FilePath": "sample string 10"
}
application/xml, text/xml
Sample:
<SendEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SendEmail.Models"> <Bcc>sample string 6</Bcc> <Cc>sample string 5</Cc> <DisplayName>sample string 3</DisplayName> <FilePath>sample string 10</FilePath> <IsFileAttached>true</IsFileAttached> <MessageBody>sample string 8</MessageBody> <ProClientId>1</ProClientId> <ReplyTo>sample string 4</ReplyTo> <Subject>sample string 7</Subject> <To>sample string 2</To> </SendEmailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SendEmailResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<SendEmailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SendEmail.Models"> <Message>sample string 2</Message> <Status>sample string 1</Status> </SendEmailResponse>