GET api/Favorites/GetFavorites

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Favorite
NameDescriptionTypeAdditional information
FavoriteId

integer

None.

UserId

string

None.

AlbumId

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "FavoriteId": 1,
    "UserId": "sample string 2",
    "AlbumId": 3,
    "CreatedDate": "2018-11-10T17:01:59.6086401+00:00",
    "ModifiedDate": "2018-11-10T17:01:59.6086401+00:00",
    "IsDeleted": true
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFavorite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.Models">
  <Favorite>
    <AlbumId>3</AlbumId>
    <CreatedDate>2018-11-10T17:01:59.6086401+00:00</CreatedDate>
    <FavoriteId>1</FavoriteId>
    <IsDeleted>true</IsDeleted>
    <ModifiedDate>2018-11-10T17:01:59.6086401+00:00</ModifiedDate>
    <UserId>sample string 2</UserId>
  </Favorite>
  <Favorite>
    <AlbumId>3</AlbumId>
    <CreatedDate>2018-11-10T17:01:59.6086401+00:00</CreatedDate>
    <FavoriteId>1</FavoriteId>
    <IsDeleted>true</IsDeleted>
    <ModifiedDate>2018-11-10T17:01:59.6086401+00:00</ModifiedDate>
    <UserId>sample string 2</UserId>
  </Favorite>
</ArrayOfFavorite>