POST api/EmailSetting/Add
Request Information
URI Parameters
None.
Body Parameters
EmailSettingAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Server | string |
None. |
|
| To | string |
None. |
|
| From | string |
None. |
|
| FromPassword | string |
None. |
|
| Port | integer |
None. |
|
| CustomerID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"server": "sample string 1",
"to": "sample string 2",
"from": "sample string 3",
"fromPassword": "sample string 4",
"port": 5,
"customerID": "3ecdc0c8-fa2a-4ae3-b764-5dfd1cd98074"
}
application/xml, text/xml
Sample:
<EmailSettingAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <CustomerID>3ecdc0c8-fa2a-4ae3-b764-5dfd1cd98074</CustomerID> <From>sample string 3</From> <FromPassword>sample string 4</FromPassword> <Port>5</Port> <Server>sample string 1</Server> <To>sample string 2</To> </EmailSettingAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Server":"sample string 1","To":"sample string 2","From":"sample string 3","FromPassword":"sample string 4","Port":5,"CustomerID":"3ecdc0c8-fa2a-4ae3-b764-5dfd1cd98074"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.