POST api/MailNormale
Request Information
URI Parameters
None.
Body Parameters
Mail| Name | Description | Type | Additional information |
|---|---|---|---|
| Receiver | string |
None. |
|
| Sender | string |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| isHtml | boolean |
None. |
|
| pathAllegato | string |
None. |
|
| Bcc | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Receiver": "sample string 1",
"Sender": "sample string 2",
"Subject": "sample string 3",
"Body": "sample string 4",
"isHtml": true,
"pathAllegato": "sample string 6",
"Bcc": "sample string 7"
}
application/xml, text/xml
Sample:
<Mail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstebookAPI.Models.DTO"> <Bcc>sample string 7</Bcc> <Body>sample string 4</Body> <Receiver>sample string 1</Receiver> <Sender>sample string 2</Sender> <Subject>sample string 3</Subject> <isHtml>true</isHtml> <pathAllegato>sample string 6</pathAllegato> </Mail>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstebookAPI.Models.DTO"> <data /> <message>sample string 2</message> <success>true</success> </ApiResponse>