GET api/News/GetByTag/{tagName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tagName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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": "f018226e-1c07-44b1-b3ae-895c6f2b4132",
    "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": "2021-06-17T19:25:29.3826786+02:00",
    "Images": [
      {
        "ThumbUrl": "sample string 1",
        "FileUrl": "sample string 2",
        "FileTitle": "sample string 3"
      },
      {
        "ThumbUrl": "sample string 1",
        "FileUrl": "sample string 2",
        "FileTitle": "sample string 3"
      }
    ],
    "NewsListName": "sample string 12",
    "NewsListId": "573a6ae3-86de-4f85-afd6-9f6418fc32b5",
    "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
  },
  {
    "NewsEntryGUID": "f018226e-1c07-44b1-b3ae-895c6f2b4132",
    "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": "2021-06-17T19:25:29.3826786+02:00",
    "Images": [
      {
        "ThumbUrl": "sample string 1",
        "FileUrl": "sample string 2",
        "FileTitle": "sample string 3"
      },
      {
        "ThumbUrl": "sample string 1",
        "FileUrl": "sample string 2",
        "FileTitle": "sample string 3"
      }
    ],
    "NewsListName": "sample string 12",
    "NewsListId": "573a6ae3-86de-4f85-afd6-9f6418fc32b5",
    "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:
<ArrayOfNewsEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <NewsEntry>
    <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>
        <ThumbUrl>sample string 1</ThumbUrl>
      </ImageInfo>
      <ImageInfo>
        <FileTitle>sample string 3</FileTitle>
        <FileUrl>sample string 2</FileUrl>
        <ThumbUrl>sample string 1</ThumbUrl>
      </ImageInfo>
    </Images>
    <Manchet>sample string 6</Manchet>
    <NewsEntryGUID>f018226e-1c07-44b1-b3ae-895c6f2b4132</NewsEntryGUID>
    <NewsEntryKey>sample string 1</NewsEntryKey>
    <NewsListGuid>573a6ae3-86de-4f85-afd6-9f6418fc32b5</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>2021-06-17T19:25:29.3826786+02:00</PublishDate>
    <Summary>sample string 4</Summary>
    <SummaryHeadline>sample string 3</SummaryHeadline>
    <Teaser>sample string 5</Teaser>
  </NewsEntry>
  <NewsEntry>
    <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>
        <ThumbUrl>sample string 1</ThumbUrl>
      </ImageInfo>
      <ImageInfo>
        <FileTitle>sample string 3</FileTitle>
        <FileUrl>sample string 2</FileUrl>
        <ThumbUrl>sample string 1</ThumbUrl>
      </ImageInfo>
    </Images>
    <Manchet>sample string 6</Manchet>
    <NewsEntryGUID>f018226e-1c07-44b1-b3ae-895c6f2b4132</NewsEntryGUID>
    <NewsEntryKey>sample string 1</NewsEntryKey>
    <NewsListGuid>573a6ae3-86de-4f85-afd6-9f6418fc32b5</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>2021-06-17T19:25:29.3826786+02:00</PublishDate>
    <Summary>sample string 4</Summary>
    <SummaryHeadline>sample string 3</SummaryHeadline>
    <Teaser>sample string 5</Teaser>
  </NewsEntry>
</ArrayOfNewsEntry>