POST api/adminsetting/manageemailnotification?UserId={UserId}&UserRole={UserRole}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

integer

Required

UserRole

integer

Required

Body Parameters

AppSettingViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

GoogleAPIKey

string

None.

SMTPServer

string

None.

Port

integer

None.

Security

integer

None.

Username

string

None.

Password

string

None.

NotificationService

boolean

None.

SenderName

string

None.

SenderEmail

string

None.

EventId

integer

None.

DeliveryNotification

string

None.

PickupNotification

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "GoogleAPIKey": "sample string 2",
  "SMTPServer": "sample string 3",
  "Port": 4,
  "Security": 5,
  "Username": "sample string 6",
  "Password": "sample string 7",
  "NotificationService": true,
  "SenderName": "sample string 9",
  "SenderEmail": "sample string 10",
  "EventId": 11,
  "DeliveryNotification": "sample string 12",
  "PickupNotification": "sample string 13"
}

application/xml, text/xml

Sample:
<AppSettingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.ViewModels.Admin">
  <DeliveryNotification>sample string 12</DeliveryNotification>
  <EventId>11</EventId>
  <GoogleAPIKey>sample string 2</GoogleAPIKey>
  <Id>1</Id>
  <NotificationService>true</NotificationService>
  <Password>sample string 7</Password>
  <PickupNotification>sample string 13</PickupNotification>
  <Port>4</Port>
  <SMTPServer>sample string 3</SMTPServer>
  <Security>5</Security>
  <SenderEmail>sample string 10</SenderEmail>
  <SenderName>sample string 9</SenderName>
  <Username>sample string 6</Username>
</AppSettingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.