POST Communications/AddSmtpClientConfiguration
Creates a reciproque bound between two SmtpClientConfigurations.
Request Information
URI Parameters
None.
Body Parameters
AddSmtpClientConfigurationBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"Name": "sample string 1",
"UserDisplayName": "sample string 2",
"UserAddress": "sample string 3",
"Username": "sample string 4",
"Password": "sample string 5",
"Host": "sample string 6",
"Port": 7,
"EnableSsl": true,
"ReplyToAddress": "sample string 9",
"Lang": "sample string 10",
"StoreID": 11
}
application/xml, text/xml
Sample:
<AddSmtpClientConfigurationBinding 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 10</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">11</StoreID> <EnableSsl>true</EnableSsl> <Host>sample string 6</Host> <Name>sample string 1</Name> <Password>sample string 5</Password> <Port>7</Port> <ReplyToAddress>sample string 9</ReplyToAddress> <UserAddress>sample string 3</UserAddress> <UserDisplayName>sample string 2</UserDisplayName> <Username>sample string 4</Username> </AddSmtpClientConfigurationBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.