GET v1/News/List?EventGuid={EventGuid}&MaxPublishedDT={MaxPublishedDT}&Skip={Skip}&Take={Take}&SearchString={SearchString}&SortDirection={SortDirection}&SortName={SortName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EventGuid

globally unique identifier

None.

MaxPublishedDT

date

None.

Skip

integer

None.

Take

integer

None.

SearchString

string

None.

SortDirection

SortDirection

None.

SortName

ListSortName

None.

Body Parameters

None.

Response Information

Resource Description

NewsListViewModel
NameDescriptionTypeAdditional information
Items

Collection of NewsListItemViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "25abed95-8c04-4efe-9861-0602dee01bb5",
      "Title": "sample string 2",
      "Intro": "sample string 3",
      "Contents": "sample string 4",
      "Url": "sample string 5",
      "PublicationDT": "2019-10-18T22:27:56.3373274+00:00",
      "PictureGuid": "900d6e71-3f44-4763-a568-0b73fc761808"
    },
    {
      "Guid": "25abed95-8c04-4efe-9861-0602dee01bb5",
      "Title": "sample string 2",
      "Intro": "sample string 3",
      "Contents": "sample string 4",
      "Url": "sample string 5",
      "PublicationDT": "2019-10-18T22:27:56.3373274+00:00",
      "PictureGuid": "900d6e71-3f44-4763-a568-0b73fc761808"
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"25abed95-8c04-4efe-9861-0602dee01bb5","Title":"sample string 2","Intro":"sample string 3","Contents":"sample string 4","Url":"sample string 5","PublicationDT":"2019-10-18T22:27:56.3373274+00:00","PictureGuid":"900d6e71-3f44-4763-a568-0b73fc761808"},{"Guid":"25abed95-8c04-4efe-9861-0602dee01bb5","Title":"sample string 2","Intro":"sample string 3","Contents":"sample string 4","Url":"sample string 5","PublicationDT":"2019-10-18T22:27:56.3373274+00:00","PictureGuid":"900d6e71-3f44-4763-a568-0b73fc761808"}]}

application/xml, text/xml

Sample:
<NewsListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <Items>
    <NewsListItemViewModel>
      <Contents>sample string 4</Contents>
      <Guid>25abed95-8c04-4efe-9861-0602dee01bb5</Guid>
      <Intro>sample string 3</Intro>
      <PictureGuid>900d6e71-3f44-4763-a568-0b73fc761808</PictureGuid>
      <PublicationDT>2019-10-18T22:27:56.3373274+00:00</PublicationDT>
      <Title>sample string 2</Title>
      <Url>sample string 5</Url>
    </NewsListItemViewModel>
    <NewsListItemViewModel>
      <Contents>sample string 4</Contents>
      <Guid>25abed95-8c04-4efe-9861-0602dee01bb5</Guid>
      <Intro>sample string 3</Intro>
      <PictureGuid>900d6e71-3f44-4763-a568-0b73fc761808</PictureGuid>
      <PublicationDT>2019-10-18T22:27:56.3373274+00:00</PublicationDT>
      <Title>sample string 2</Title>
      <Url>sample string 5</Url>
    </NewsListItemViewModel>
  </Items>
</NewsListViewModel>