POST EmailQueue/SaveEmailSettings
Request Information
URI Parameters
None.
Body Parameters
XS.CoreApi.Pentagon.Model.EmailSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| NotificationType | XS.CoreApi.Pentagon.Model.NSCNotificationType |
None. |
|
| Priority | XS.CoreApi.Pentagon.Model.NSCNotificationPriority |
None. |
|
| Server | string |
None. |
|
| Port | integer |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| IsSSL | boolean |
None. |
|
| IsAuth | boolean |
None. |
|
| IsLive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"NotificationType": 0,
"Priority": 1,
"Server": "sample string 2",
"Port": 3,
"UserName": "sample string 4",
"Password": "sample string 5",
"IsSSL": true,
"IsAuth": true,
"IsLive": true,
"IsDeleted": true
}
application/xml, text/xml
Sample:
<EmailSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XS.CoreApi.Pentagon.Model"> <Id>1</Id> <IsAuth>true</IsAuth> <IsDeleted>true</IsDeleted> <IsLive>true</IsLive> <IsSSL>true</IsSSL> <NotificationType>None</NotificationType> <Password>sample string 5</Password> <Port>3</Port> <Priority>Instant</Priority> <Server>sample string 2</Server> <UserName>sample string 4</UserName> </EmailSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |