GET api/LatestNews/Get/Columns

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

DataTablesViewModelOfLatestNewsViewModel
NameDescriptionTypeAdditional information
columns

Collection of Column

None.

data

Collection of LatestNewsViewModel

None.

iTotalRecords

integer

None.

iTotalDisplayRecords

integer

None.

sEcho

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "columns": null,
  "data": [
    {
      "Id": 1,
      "NewsTitle": "sample string 2",
      "Header": "sample string 3",
      "NewsText": "sample string 4",
      "Image": "sample string 5",
      "ImageUri": "sample string 6",
      "ImageId": "sample string 7",
      "createdDate": "sample string 8",
      "Priority": 9
    },
    {
      "Id": 1,
      "NewsTitle": "sample string 2",
      "Header": "sample string 3",
      "NewsText": "sample string 4",
      "Image": "sample string 5",
      "ImageUri": "sample string 6",
      "ImageId": "sample string 7",
      "createdDate": "sample string 8",
      "Priority": 9
    }
  ],
  "iTotalRecords": 1,
  "iTotalDisplayRecords": 2,
  "sEcho": 3
}

application/xml, text/xml

Sample:
<DataTablesViewModelOfLatestNewsViewModelu9brjQjR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel.Grid">
  <columns xmlns:d2p1="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.ViewModel.Grid.DataTables" i:nil="true" />
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
    <d2p1:LatestNewsViewModel>
      <d2p1:Header>sample string 3</d2p1:Header>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Image>sample string 5</d2p1:Image>
      <d2p1:ImageId>sample string 7</d2p1:ImageId>
      <d2p1:ImageUri>sample string 6</d2p1:ImageUri>
      <d2p1:NewsText>sample string 4</d2p1:NewsText>
      <d2p1:NewsTitle>sample string 2</d2p1:NewsTitle>
      <d2p1:Priority>9</d2p1:Priority>
      <d2p1:createdDate>sample string 8</d2p1:createdDate>
    </d2p1:LatestNewsViewModel>
    <d2p1:LatestNewsViewModel>
      <d2p1:Header>sample string 3</d2p1:Header>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Image>sample string 5</d2p1:Image>
      <d2p1:ImageId>sample string 7</d2p1:ImageId>
      <d2p1:ImageUri>sample string 6</d2p1:ImageUri>
      <d2p1:NewsText>sample string 4</d2p1:NewsText>
      <d2p1:NewsTitle>sample string 2</d2p1:NewsTitle>
      <d2p1:Priority>9</d2p1:Priority>
      <d2p1:createdDate>sample string 8</d2p1:createdDate>
    </d2p1:LatestNewsViewModel>
  </data>
  <iTotalDisplayRecords>2</iTotalDisplayRecords>
  <iTotalRecords>1</iTotalRecords>
  <sEcho>3</sEcho>
</DataTablesViewModelOfLatestNewsViewModelu9brjQjR>