POST api/MainWizard/Editmailsettings

Request Information

URI Parameters

None.

Body Parameters

MainMailSettings
NameDescriptionTypeAdditional information
id

integer

None.

tls

string

None.

auth

string

None.

port

integer

None.

username

string

None.

password

string

None.

server_name

string

None.

emailverify

boolean

None.

createddate

date

None.

modifieddate

date

None.

StatusMessage

string

None.

useremail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "tls": "sample string 2",
  "auth": "sample string 3",
  "port": 4,
  "username": "sample string 5",
  "password": "sample string 6",
  "server_name": "sample string 7",
  "emailverify": true,
  "createddate": "2019-06-18T00:46:59.825-04:00",
  "modifieddate": "2019-06-18T00:46:59.825-04:00",
  "StatusMessage": "sample string 8",
  "useremail": "sample string 9"
}

text/html

Sample:
{"id":1,"tls":"sample string 2","auth":"sample string 3","port":4,"username":"sample string 5","password":"sample string 6","server_name":"sample string 7","emailverify":true,"createddate":"2019-06-18T00:46:59.825-04:00","modifieddate":"2019-06-18T00:46:59.825-04:00","StatusMessage":"sample string 8","useremail":"sample string 9"}

application/xml, text/xml

Sample:
<MainMailSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RtsDb.Service.Models.MainWizards">
  <StatusMessage>sample string 8</StatusMessage>
  <auth>sample string 3</auth>
  <createddate>2019-06-18T00:46:59.825-04:00</createddate>
  <emailverify>true</emailverify>
  <id>1</id>
  <modifieddate>2019-06-18T00:46:59.825-04:00</modifieddate>
  <password>sample string 6</password>
  <port>4</port>
  <server_name>sample string 7</server_name>
  <tls>sample string 2</tls>
  <useremail>sample string 9</useremail>
  <username>sample string 5</username>
</MainMailSettings>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MainMailSettings'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.