POST api/General/AddNewsLetter

Request Information

URI Parameters

None.

Body Parameters

Cms_NewsLetter
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Email

string

None.

blogId

integer

None.

Blogtitle

string

None.

Notes

string

None.

EntryDate

date

None.

isActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "blogId": 1,
  "Blogtitle": "sample string 4",
  "Notes": "sample string 5",
  "EntryDate": "2025-12-06T23:01:26.1051268+04:00",
  "isActive": true
}

application/xml, text/xml

Sample:
<Cms_NewsLetter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Elite_Webservices.Models">
  <Blogtitle>sample string 4</Blogtitle>
  <Email>sample string 3</Email>
  <EntryDate>2025-12-06T23:01:26.1051268+04:00</EntryDate>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Notes>sample string 5</Notes>
  <blogId>1</blogId>
  <isActive>true</isActive>
</Cms_NewsLetter>

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

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.