PUT Communications/ModifySmtpClientConfiguration

Modifies an existing SmtpClientConfiguration.

Request Information

URI Parameters

None.

Body Parameters

SmtpClientConfigurationBinding
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

Required

UserDisplayName

Display name associated to the UserAddress

string

Required

UserAddress

string

Required

Username

string

Required

Password

string

Required

Host

string

Required

Port

integer

None.

EnableSsl

boolean

None.

ReplyToAddress

string

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "UserDisplayName": "sample string 3",
  "UserAddress": "sample string 4",
  "Username": "sample string 5",
  "Password": "sample string 6",
  "Host": "sample string 7",
  "Port": 8,
  "EnableSsl": true,
  "ReplyToAddress": "sample string 10",
  "Lang": "sample string 11",
  "StoreID": 12
}

application/xml, text/xml

Sample:
<SmtpClientConfigurationBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Communication">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 11</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">12</StoreID>
  <EnableSsl>true</EnableSsl>
  <Host>sample string 7</Host>
  <ID>1</ID>
  <Name>sample string 2</Name>
  <Password>sample string 6</Password>
  <Port>8</Port>
  <ReplyToAddress>sample string 10</ReplyToAddress>
  <UserAddress>sample string 4</UserAddress>
  <UserDisplayName>sample string 3</UserDisplayName>
  <Username>sample string 5</Username>
</SmtpClientConfigurationBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>