POST message/{ambiente}/sendEmail
Sends an email message
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ambiente | string |
None. |
Body Parameters
SendMessageRequestName | Description | Type | Additional information |
---|---|---|---|
Recipients | Collection of string |
None. |
|
Subject | string |
None. |
|
Body_Plain | string |
None. |
|
Body_Html | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Recipients": [ "sample string 1", "sample string 2" ], "Subject": "sample string 1", "Body_Plain": "sample string 2", "Body_Html": "sample string 3" }
application/xml, text/xml
Sample:
<SendMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel.Requests"> <Body_Html>sample string 3</Body_Html> <Body_Plain>sample string 2</Body_Plain> <Recipients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Recipients> <Subject>sample string 1</Subject> </SendMessageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SendEmailMessageResponseName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true }
application/xml, text/xml
Sample:
<SendEmailMessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel.Responses"> <success>true</success> </SendEmailMessageResponse>