POST api/EmailSetting/AddNewEmailSetting

Request Information

URI Parameters

None.

Body Parameters

Cls_EmailSettings
NameDescriptionTypeAdditional information
EmailSettingID

integer

None.

ReceiverEmail

string

None.

SenderEmail

string

None.

SMTP_Emial

string

None.

SMTP_Password

string

None.

SMTP_Host

string

None.

SMTP_Port

integer

None.

Subject

string

None.

MessageBody

string

None.

Status

boolean

None.

EnteredBy

integer

None.

DateEntered

date

None.

UpdatedBy

integer

None.

UpdationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailSettingID": 1,
  "ReceiverEmail": "sample string 2",
  "SenderEmail": "sample string 3",
  "SMTP_Emial": "sample string 4",
  "SMTP_Password": "sample string 5",
  "SMTP_Host": "sample string 6",
  "SMTP_Port": 7,
  "Subject": "sample string 8",
  "MessageBody": "sample string 9",
  "Status": true,
  "EnteredBy": 11,
  "DateEntered": "2026-09-17T22:21:34.3569581+02:00",
  "UpdatedBy": 13,
  "UpdationDate": "2026-09-17T22:21:34.3569581+02:00"
}

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 'Cls_EmailSettings'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"