GET api/News_Item?offset={offset}&page_size={page_size}

Retrieves the NEWS items list for current provider by pages

Request Information

Parameters

NameDescriptionAdditional information
offset
The number of NEWS items to skip

Define this parameter in the request URI.

page_size
The number of NEWS items to retireve (max is 200)

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "body": "sample string 1",
    "date_created": "2019-03-21T06:11:39.0705751-04:00",
    "date_last_modified": "2019-03-21T06:11:39.0705751-04:00",
    "sub_id": 3,
    "title": "sample string 4",
    "views": 5,
    "id": 1
  },
  {
    "body": "sample string 1",
    "date_created": "2019-03-21T06:11:39.0705751-04:00",
    "date_last_modified": "2019-03-21T06:11:39.0705751-04:00",
    "sub_id": 3,
    "title": "sample string 4",
    "views": 5,
    "id": 1
  },
  {
    "body": "sample string 1",
    "date_created": "2019-03-21T06:11:39.0705751-04:00",
    "date_last_modified": "2019-03-21T06:11:39.0705751-04:00",
    "sub_id": 3,
    "title": "sample string 4",
    "views": 5,
    "id": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfnews_item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.KnowledgeBase">
  <news_item>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <body>sample string 1</body>
    <date_created>2019-03-21T06:11:39.0705751-04:00</date_created>
    <date_last_modified>2019-03-21T06:11:39.0705751-04:00</date_last_modified>
    <sub_id>3</sub_id>
    <title>sample string 4</title>
    <views>5</views>
  </news_item>
  <news_item>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <body>sample string 1</body>
    <date_created>2019-03-21T06:11:39.0705751-04:00</date_created>
    <date_last_modified>2019-03-21T06:11:39.0705751-04:00</date_last_modified>
    <sub_id>3</sub_id>
    <title>sample string 4</title>
    <views>5</views>
  </news_item>
  <news_item>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <body>sample string 1</body>
    <date_created>2019-03-21T06:11:39.0705751-04:00</date_created>
    <date_last_modified>2019-03-21T06:11:39.0705751-04:00</date_last_modified>
    <sub_id>3</sub_id>
    <title>sample string 4</title>
    <views>5</views>
  </news_item>
</ArrayOfnews_item>