POST api/NewsLetterAPIs/NewAddNewsLetterDetails

Request Information

URI Parameters

None.

Body Parameters

NewsLetterDTO
NameDescriptionTypeAdditional information
Id

integer

None.

FullNameEn

string

None.

FullNameAr

string

None.

Email

string

None.

CountryShortCode

string

None.

CountryCode

string

None.

Phone

string

None.

Profession

string

None.

Gender

string

None.

CountryId

integer

None.

Desc

string

None.

Message

string

None.

IsActive

boolean

None.

Status

boolean

None.

StatusCode

integer

None.

IsRead

boolean

None.

Result

string

None.

SuccessMessage

string

None.

ErrorMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FullNameEn": "sample string 2",
  "FullNameAr": "sample string 3",
  "Email": "sample string 4",
  "CountryShortCode": "sample string 5",
  "CountryCode": "sample string 6",
  "Phone": "sample string 7",
  "Profession": "sample string 8",
  "Gender": "sample string 9",
  "CountryId": 10,
  "Desc": "sample string 11",
  "Message": "sample string 12",
  "IsActive": true,
  "Status": true,
  "StatusCode": 15,
  "IsRead": true,
  "Result": "sample string 17",
  "SuccessMessage": "sample string 18",
  "ErrorMessage": "sample string 19"
}

application/xml, text/xml

Sample:
<NewsLetterDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/drCafeCoffeeAPI.DTOs">
  <CountryCode>sample string 6</CountryCode>
  <CountryId>10</CountryId>
  <CountryShortCode>sample string 5</CountryShortCode>
  <Desc>sample string 11</Desc>
  <Email>sample string 4</Email>
  <ErrorMessage>sample string 19</ErrorMessage>
  <FullNameAr>sample string 3</FullNameAr>
  <FullNameEn>sample string 2</FullNameEn>
  <Gender>sample string 9</Gender>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsRead>true</IsRead>
  <Message>sample string 12</Message>
  <Phone>sample string 7</Phone>
  <Profession>sample string 8</Profession>
  <Result>sample string 17</Result>
  <Status>true</Status>
  <StatusCode>15</StatusCode>
  <SuccessMessage>sample string 18</SuccessMessage>
</NewsLetterDTO>

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.