POST api/SearchNews

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

NewsEventModel
NameDescriptionTypeAdditional information
ID

integer

None.

HeadLine

string

None.

Body

string

None.

Month

date

None.

Year

integer

None.

Sort

integer

None.

StartDate

string

None.

EndDate

string

None.

Feature

string

None.

Department

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "HeadLine": "sample string 2",
  "Body": "sample string 3",
  "Month": "2025-01-15T02:13:50.1351445-05:00",
  "Year": 5,
  "Sort": 6,
  "StartDate": "sample string 7",
  "EndDate": "sample string 8",
  "Feature": "sample string 9",
  "Department": "sample string 10"
}

application/xml, text/xml

Sample:
<NewsEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSC_API.Controllers">
  <Body>sample string 3</Body>
  <Department>sample string 10</Department>
  <EndDate>sample string 8</EndDate>
  <Feature>sample string 9</Feature>
  <HeadLine>sample string 2</HeadLine>
  <ID>1</ID>
  <Month>2025-01-15T02:13:50.1351445-05:00</Month>
  <Sort>6</Sort>
  <StartDate>sample string 7</StartDate>
  <Year>5</Year>
</NewsEventModel>