POST api/PrintOrEmail/TestEmail/{accountId}/{companyId}/{thirdPartyGroup}/{packageCode}/{emailTo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
|
| companyId | string |
Required |
|
| thirdPartyGroup | string |
Required |
|
| packageCode | string |
Required |
|
| emailTo | string |
Required |
Body Parameters
SmtpSettingKeys| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| From | string |
None. |
|
| DisplayName | string |
None. |
|
| DefaultCredentials | boolean |
None. |
|
| EnableSsl | boolean |
None. |
|
| Host | string |
None. |
|
| Password | string |
None. |
|
| Port | integer |
None. |
|
| UserName | string |
None. |
|
| CriticalMail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CompanyId": "sample string 1",
"From": "sample string 2",
"DisplayName": "sample string 3",
"DefaultCredentials": true,
"EnableSsl": true,
"Host": "sample string 4",
"Password": "sample string 5",
"Port": 1,
"UserName": "sample string 6",
"CriticalMail": "sample string 7"
}
application/xml, text/xml
Sample:
<SmtpSettingKeys xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.Common"> <AccountId>1</AccountId> <CompanyId>sample string 1</CompanyId> <CriticalMail>sample string 7</CriticalMail> <DefaultCredentials>true</DefaultCredentials> <DisplayName>sample string 3</DisplayName> <EnableSsl>true</EnableSsl> <From>sample string 2</From> <Host>sample string 4</Host> <Password>sample string 5</Password> <Port>1</Port> <UserName>sample string 6</UserName> </SmtpSettingKeys>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.