PUT api/RatingDetails/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BookId": 2,
  "UserId": 3,
  "Rating": 4,
  "RatingReviews": "sample string 5",
  "Date": "2018-09-24T17:43:02.848484-04:00",
  "Status": 6,
  "Caption": "sample string 7"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.