PUT Api/TourOperatorEmailSettings/edit/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
TourOperatorEmailSettingBindingModel| Name | 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 |
Required |
Request 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
}
application/xml, text/xml
Sample:
<TourOperatorEmailSettingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <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> </TourOperatorEmailSettingBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.