POST Common/EmailAccount/Save
Request Information
URI Parameters
None.
Body Parameters
EmailAccountViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
StoreId | integer |
None. |
|
SmtpHost | string |
Max length: 100 |
|
SmtpUserName | string |
Max length: 100 |
|
SmtpPassword | string |
Max length: 100 |
|
SmtpErrorEMailFrom | string |
Max length: 100 |
|
SmtpPort | integer |
None. |
|
SmtpIsEnableSSL | boolean |
None. |
|
SmtpIsAuth | boolean |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "StoreId": 1, "SmtpHost": "sample string 2", "SmtpUserName": "sample string 3", "SmtpPassword": "sample string 4", "SmtpErrorEMailFrom": "sample string 5", "SmtpPort": 6, "SmtpIsEnableSSL": true, "SmtpIsAuth": true, "ModifiedBy": "sample string 9", "ModifiedDate": "2025-04-26T16:20:31.1542422+01:00" }
application/xml, text/xml
Sample:
<EmailAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Common.ViewModel"> <Id>1</Id> <ModifiedBy>sample string 9</ModifiedBy> <ModifiedDate>2025-04-26T16:20:31.1542422+01:00</ModifiedDate> <SmtpErrorEMailFrom>sample string 5</SmtpErrorEMailFrom> <SmtpHost>sample string 2</SmtpHost> <SmtpIsAuth>true</SmtpIsAuth> <SmtpIsEnableSSL>true</SmtpIsEnableSSL> <SmtpPassword>sample string 4</SmtpPassword> <SmtpPort>6</SmtpPort> <SmtpUserName>sample string 3</SmtpUserName> <StoreId>1</StoreId> </EmailAccountViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |