GET api/UserFavorites

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserFavoriteDto
NameDescriptionTypeAdditional information
Id

integer

None.

ContentItemId

integer

None.

UserId

globally unique identifier

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ContentItemId": 2,
    "UserId": "d3a2cbc4-212a-460d-9515-6f9cc1446203",
    "CreatedOn": "2019-05-26T03:08:09.7625759-04:00"
  },
  {
    "Id": 1,
    "ContentItemId": 2,
    "UserId": "d3a2cbc4-212a-460d-9515-6f9cc1446203",
    "CreatedOn": "2019-05-26T03:08:09.7625759-04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserFavoriteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <UserFavoriteDto>
    <ContentItemId>2</ContentItemId>
    <CreatedOn>2019-05-26T03:08:09.7625759-04:00</CreatedOn>
    <Id>1</Id>
    <UserId>d3a2cbc4-212a-460d-9515-6f9cc1446203</UserId>
  </UserFavoriteDto>
  <UserFavoriteDto>
    <ContentItemId>2</ContentItemId>
    <CreatedOn>2019-05-26T03:08:09.7625759-04:00</CreatedOn>
    <Id>1</Id>
    <UserId>d3a2cbc4-212a-460d-9515-6f9cc1446203</UserId>
  </UserFavoriteDto>
</ArrayOfUserFavoriteDto>