PUT api/reviews/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UpdateReviewDto
NameDescriptionTypeAdditional information
Rating

integer

Range: inclusive between 1 and 5

Comment

string

String length: inclusive between 0 and 2000

Request Formats

application/json, text/json

Sample:
{
  "rating": 1,
  "comment": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.