GET api/News_Item/Get/{id}

Retrieves a NEWS item with the given Id.

Request Information

Parameters

NameDescriptionAdditional information
id
The Id of the NEWS item

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "body": "sample string 1",
  "date_created": "2020-01-21T19:54:41.4665691-05:00",
  "date_last_modified": "2020-01-21T19:54:41.4665691-05:00",
  "sub_id": 3,
  "title": "sample string 4",
  "views": 5,
  "ProviderId": 6,
  "id": 1
}

application/xml, text/xml

Sample:
<news_item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.KnowledgeBase">
  <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
  <ProviderId>6</ProviderId>
  <body>sample string 1</body>
  <date_created>2020-01-21T19:54:41.4665691-05:00</date_created>
  <date_last_modified>2020-01-21T19:54:41.4665691-05:00</date_last_modified>
  <sub_id>3</sub_id>
  <title>sample string 4</title>
  <views>5</views>
</news_item>