GET Api/TourOperatorEmailSettings
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TourOperatorEmailSettingViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SmtpClient | string |
Max length: 150 |
|
EmailAddress | string |
Max length: 200 |
|
Credential | string |
Max length: 256 |
|
Port | integer |
None. |
|
IsRecipientOnly | boolean |
None. |
|
TourOperatorProfileId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "SmtpClient": "sample string 2", "EmailAddress": "sample string 3", "Credential": "sample string 4", "Port": 1, "IsRecipientOnly": true, "TourOperatorProfileId": 6 }, { "Id": 1, "SmtpClient": "sample string 2", "EmailAddress": "sample string 3", "Credential": "sample string 4", "Port": 1, "IsRecipientOnly": true, "TourOperatorProfileId": 6 } ]
application/xml, text/xml
Sample:
<ArrayOfTourOperatorEmailSettingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <TourOperatorEmailSettingViewModel> <Credential>sample string 4</Credential> <EmailAddress>sample string 3</EmailAddress> <Id>1</Id> <IsRecipientOnly>true</IsRecipientOnly> <Port>1</Port> <SmtpClient>sample string 2</SmtpClient> <TourOperatorProfileId>6</TourOperatorProfileId> </TourOperatorEmailSettingViewModel> <TourOperatorEmailSettingViewModel> <Credential>sample string 4</Credential> <EmailAddress>sample string 3</EmailAddress> <Id>1</Id> <IsRecipientOnly>true</IsRecipientOnly> <Port>1</Port> <SmtpClient>sample string 2</SmtpClient> <TourOperatorProfileId>6</TourOperatorProfileId> </TourOperatorEmailSettingViewModel> </ArrayOfTourOperatorEmailSettingViewModel>