GET api/RatingDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RatingDetail
NameDescriptionTypeAdditional information
Id

integer

None.

BookId

integer

None.

UserId

integer

None.

Rating

integer

None.

RatingReviews

string

None.

Date

date

None.

Status

integer

None.

Caption

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "BookId": 2,
    "UserId": 3,
    "Rating": 4,
    "RatingReviews": "sample string 5",
    "Date": "2018-09-25T13:58:23.6839009-04:00",
    "Status": 6,
    "Caption": "sample string 7"
  },
  {
    "Id": 1,
    "BookId": 2,
    "UserId": 3,
    "Rating": 4,
    "RatingReviews": "sample string 5",
    "Date": "2018-09-25T13:58:23.6839009-04:00",
    "Status": 6,
    "Caption": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRatingDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <RatingDetail>
    <BookId>2</BookId>
    <Caption>sample string 7</Caption>
    <Date>2018-09-25T13:58:23.6839009-04:00</Date>
    <Id>1</Id>
    <Rating>4</Rating>
    <RatingReviews>sample string 5</RatingReviews>
    <Status>6</Status>
    <UserId>3</UserId>
  </RatingDetail>
  <RatingDetail>
    <BookId>2</BookId>
    <Caption>sample string 7</Caption>
    <Date>2018-09-25T13:58:23.6839009-04:00</Date>
    <Id>1</Id>
    <Rating>4</Rating>
    <RatingReviews>sample string 5</RatingReviews>
    <Status>6</Status>
    <UserId>3</UserId>
  </RatingDetail>
</ArrayOfRatingDetail>