GET api/Favorites/GetFavorites

Gets a list of favorites based upon the user relying on the token

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Favorites
NameDescriptionTypeAdditional information
FavoritesId

integer

None.

UserId

integer

None.

Title

string

None.

URL

string

None.

Status

integer

None.

Created

date

None.

ImgURL

string

None.

ArticleId

string

None.

Topic

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "FavoritesId": 1,
    "UserId": 2,
    "Title": "sample string 3",
    "URL": "sample string 4",
    "Status": 5,
    "Created": "2024-10-30T05:13:27.8726967-07:00",
    "ImgURL": "sample string 7",
    "ArticleId": "sample string 8",
    "Topic": "sample string 9"
  },
  {
    "FavoritesId": 1,
    "UserId": 2,
    "Title": "sample string 3",
    "URL": "sample string 4",
    "Status": 5,
    "Created": "2024-10-30T05:13:27.8726967-07:00",
    "ImgURL": "sample string 7",
    "ArticleId": "sample string 8",
    "Topic": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFavorites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers">
  <Favorites>
    <ArticleId>sample string 8</ArticleId>
    <Created>2024-10-30T05:13:27.8726967-07:00</Created>
    <FavoritesId>1</FavoritesId>
    <ImgURL>sample string 7</ImgURL>
    <Status>5</Status>
    <Title>sample string 3</Title>
    <Topic>sample string 9</Topic>
    <URL>sample string 4</URL>
    <UserId>2</UserId>
  </Favorites>
  <Favorites>
    <ArticleId>sample string 8</ArticleId>
    <Created>2024-10-30T05:13:27.8726967-07:00</Created>
    <FavoritesId>1</FavoritesId>
    <ImgURL>sample string 7</ImgURL>
    <Status>5</Status>
    <Title>sample string 3</Title>
    <Topic>sample string 9</Topic>
    <URL>sample string 4</URL>
    <UserId>2</UserId>
  </Favorites>
</ArrayOfFavorites>