GET api/Admin/News?localeID={localeID}

The user can call this API to retrieve detailed information for all associated news items or a specific news item located in the Extranet.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
localeID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

List of News

Collection of News
NameDescriptionTypeAdditional information
ID

NewsID

integer

None.

Headline

The Headline (Subject) of the News Article

string

None.

Story

The Story (Content) of the News Article

string

None.

ImageFileLocation

The location of the image file associated to the News Article (Absolute URI)

string

None.

Response Formats

application/xml, text/xml

Sample:
<ListOfNews>
  <News>
    <ID>1</ID>
    <Headline>sample string 2</Headline>
    <Story>sample string 3</Story>
    <ImageFileLocation>sample string 4</ImageFileLocation>
  </News>
  <News>
    <ID>1</ID>
    <Headline>sample string 2</Headline>
    <Story>sample string 3</Story>
    <ImageFileLocation>sample string 4</ImageFileLocation>
  </News>
</ListOfNews>

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Headline": "sample string 2",
    "Story": "sample string 3",
    "ImageFileLocation": "sample string 4"
  },
  {
    "ID": 1,
    "Headline": "sample string 2",
    "Story": "sample string 3",
    "ImageFileLocation": "sample string 4"
  }
]