POST api/domain_account/email_setting
Request Information
URI Parameters
None.
Body Parameters
DomainEmailSettingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| email_from | string |
Required |
|
| password | string |
Required |
|
| port_number | integer |
Required |
|
| server_name | string |
Required |
|
| is_enabled_ssl | boolean |
None. |
|
| reply_to_email | string |
None. |
|
| email_cc | string |
None. |
|
| email_bcc | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"email_from": "sample string 1",
"password": "sample string 2",
"port_number": 3,
"server_name": "sample string 4",
"is_enabled_ssl": true,
"reply_to_email": "sample string 6",
"email_cc": "sample string 7",
"email_bcc": "sample string 8"
}
text/html
Sample:
{"id":1,"email_from":"sample string 1","password":"sample string 2","port_number":3,"server_name":"sample string 4","is_enabled_ssl":true,"reply_to_email":"sample string 6","email_cc":"sample string 7","email_bcc":"sample string 8"}
application/xml, text/xml
Sample:
<DomainEmailSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"> <email_bcc>sample string 8</email_bcc> <email_cc>sample string 7</email_cc> <email_from>sample string 1</email_from> <id>1</id> <is_enabled_ssl>true</is_enabled_ssl> <password>sample string 2</password> <port_number>3</port_number> <reply_to_email>sample string 6</reply_to_email> <server_name>sample string 4</server_name> </DomainEmailSettingModel>
multipart/form-data
Sample:
<DomainEmailSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><email_bcc>sample string 8</email_bcc><email_cc>sample string 7</email_cc><email_from>sample string 1</email_from><id>1</id><is_enabled_ssl>true</is_enabled_ssl><password>sample string 2</password><port_number>3</port_number><reply_to_email>sample string 6</reply_to_email><server_name>sample string 4</server_name></DomainEmailSettingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |