POST api/Test
Request Information
URI Parameters
None.
Body Parameters
ProfiloEmailS| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SmtpUser | string |
Required String length: inclusive between 0 and 50 |
|
| SmtpPass | string |
Required String length: inclusive between 0 and 50 |
|
| SmtpServer | string |
Required String length: inclusive between 0 and 50 |
|
| SmtpPort | integer |
None. |
|
| UseSSL | boolean |
None. |
|
| UseTLS | boolean |
None. |
|
| UseAuth | boolean |
None. |
|
| PEC | boolean |
None. |
|
| UseAmminixtra | boolean |
None. |
|
| IsDefault | boolean |
None. |
|
| IdAmministratore | integer |
Required |
|
| SmtpFrom | string |
Required String length: inclusive between 0 and 50 |
|
| DisplayName | string |
String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"SmtpUser": "sample string 2",
"SmtpPass": "sample string 3",
"SmtpServer": "sample string 4",
"SmtpPort": 5,
"UseSSL": true,
"UseTLS": true,
"UseAuth": true,
"PEC": true,
"UseAmminixtra": true,
"IsDefault": true,
"IdAmministratore": 1,
"SmtpFrom": "sample string 12",
"DisplayName": "sample string 13"
}
application/xml, text/xml
Sample:
<ProfiloEmailS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmminixtraCommon"> <DisplayName>sample string 13</DisplayName> <Id>1</Id> <IdAmministratore>1</IdAmministratore> <IsDefault>true</IsDefault> <PEC>true</PEC> <SmtpFrom>sample string 12</SmtpFrom> <SmtpPass>sample string 3</SmtpPass> <SmtpPort>5</SmtpPort> <SmtpServer>sample string 4</SmtpServer> <SmtpUser>sample string 2</SmtpUser> <UseAmminixtra>true</UseAmminixtra> <UseAuth>true</UseAuth> <UseSSL>true</UseSSL> <UseTLS>true</UseTLS> </ProfiloEmailS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EmailResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": "sample string 1",
"Success": true
}
application/xml, text/xml
Sample:
<EmailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmminixtraCommon"> <Error>sample string 1</Error> <Success>true</Success> </EmailResponse>