GET api/News/Get/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

NewsEntry
NameDescriptionTypeAdditional information
NewsEntryGUID

globally unique identifier

None.

NewsEntryKey

string

None.

Headline

string

None.

SummaryHeadline

string

None.

Summary

string

None.

Teaser

string

None.

Manchet

string

None.

NewsText

string

None.

ExternalReferenceURL

string

None.

ExternalReferenceText

string

None.

AllowComments

boolean

None.

Author

string

None.

Tags

Collection of NewsTag

None.

PublishDate

date

None.

Images

Collection of ImageInfo

None.

NewsListName

string

None.

NewsListId

globally unique identifier

None.

Files

Collection of FileInfo

None.

OnlyMembers

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "NewsEntryGUID": "ccefe581-d683-4937-b35e-3dbe6d496cda",
  "NewsEntryKey": "sample string 1",
  "Headline": "sample string 2",
  "SummaryHeadline": "sample string 3",
  "Summary": "sample string 4",
  "Teaser": "sample string 5",
  "Manchet": "sample string 6",
  "NewsText": "sample string 7",
  "ExternalReferenceURL": "sample string 8",
  "ExternalReferenceText": "sample string 9",
  "AllowComments": true,
  "Author": "sample string 11",
  "Tags": [
    {
      "NewsListId": "sample string 1",
      "TagName": "sample string 2"
    },
    {
      "NewsListId": "sample string 1",
      "TagName": "sample string 2"
    }
  ],
  "PublishDate": "2024-11-21T09:52:49.3942902+01:00",
  "Images": [
    {
      "ThumbUrl": "sample string 1",
      "FileUrl": "sample string 2",
      "FileTitle": "sample string 3",
      "ImgHtmlTagReference": "sample string 4",
      "ImgThumbHtmlTagReference": "sample string 5"
    },
    {
      "ThumbUrl": "sample string 1",
      "FileUrl": "sample string 2",
      "FileTitle": "sample string 3",
      "ImgHtmlTagReference": "sample string 4",
      "ImgThumbHtmlTagReference": "sample string 5"
    }
  ],
  "NewsListName": "sample string 12",
  "NewsListId": "86bbe58a-33ed-4a50-8c09-6a1d9e591e42",
  "Files": [
    {
      "FileTitle": "sample string 1",
      "FileUrl": "sample string 2",
      "FileTypeName": "sample string 3"
    },
    {
      "FileTitle": "sample string 1",
      "FileUrl": "sample string 2",
      "FileTypeName": "sample string 3"
    }
  ],
  "OnlyMembers": true
}

application/xml, text/xml

Sample:
<NewsEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <AllowComments>true</AllowComments>
  <Author>sample string 11</Author>
  <ExternalReferenceText>sample string 9</ExternalReferenceText>
  <ExternalReferenceURL>sample string 8</ExternalReferenceURL>
  <Files>
    <FileInfo>
      <FileTitle>sample string 1</FileTitle>
      <FileTypeName>sample string 3</FileTypeName>
      <FileUrl>sample string 2</FileUrl>
    </FileInfo>
    <FileInfo>
      <FileTitle>sample string 1</FileTitle>
      <FileTypeName>sample string 3</FileTypeName>
      <FileUrl>sample string 2</FileUrl>
    </FileInfo>
  </Files>
  <Headline>sample string 2</Headline>
  <Images>
    <ImageInfo>
      <FileTitle>sample string 3</FileTitle>
      <FileUrl>sample string 2</FileUrl>
      <ImgHtmlTagReference>sample string 4</ImgHtmlTagReference>
      <ImgThumbHtmlTagReference>sample string 5</ImgThumbHtmlTagReference>
      <ThumbUrl>sample string 1</ThumbUrl>
    </ImageInfo>
    <ImageInfo>
      <FileTitle>sample string 3</FileTitle>
      <FileUrl>sample string 2</FileUrl>
      <ImgHtmlTagReference>sample string 4</ImgHtmlTagReference>
      <ImgThumbHtmlTagReference>sample string 5</ImgThumbHtmlTagReference>
      <ThumbUrl>sample string 1</ThumbUrl>
    </ImageInfo>
  </Images>
  <Manchet>sample string 6</Manchet>
  <NewsEntryGUID>ccefe581-d683-4937-b35e-3dbe6d496cda</NewsEntryGUID>
  <NewsEntryKey>sample string 1</NewsEntryKey>
  <NewsListGuid>86bbe58a-33ed-4a50-8c09-6a1d9e591e42</NewsListGuid>
  <NewsListName>sample string 12</NewsListName>
  <NewsTags>
    <NewsTag>
      <NewsListId>sample string 1</NewsListId>
      <TagName>sample string 2</TagName>
    </NewsTag>
    <NewsTag>
      <NewsListId>sample string 1</NewsListId>
      <TagName>sample string 2</TagName>
    </NewsTag>
  </NewsTags>
  <NewsText>sample string 7</NewsText>
  <OnlyMembers>true</OnlyMembers>
  <PublishDate>2024-11-21T09:52:49.3942902+01:00</PublishDate>
  <Summary>sample string 4</Summary>
  <SummaryHeadline>sample string 3</SummaryHeadline>
  <Teaser>sample string 5</Teaser>
</NewsEntry>