GET api/News/GetArchiveItems

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of NewsArchiveItem
NameDescriptionTypeAdditional information
Year

string

None.

Month

string

None.

Count

integer

None.

Key

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Year": "sample string 1",
    "Month": "sample string 2",
    "Count": 3,
    "Key": "sample string 4"
  },
  {
    "Year": "sample string 1",
    "Month": "sample string 2",
    "Count": 3,
    "Key": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNewsArchiveItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <NewsArchiveItem>
    <Count>3</Count>
    <Key>sample string 4</Key>
    <Month>sample string 2</Month>
    <Year>sample string 1</Year>
  </NewsArchiveItem>
  <NewsArchiveItem>
    <Count>3</Count>
    <Key>sample string 4</Key>
    <Month>sample string 2</Month>
    <Year>sample string 1</Year>
  </NewsArchiveItem>
</ArrayOfNewsArchiveItem>