GET api/Clothing/DisplayClothingRating?productId={productId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ClothingRatingModel
NameDescriptionTypeAdditional information
ClothingRatingID

integer

None.

ClothingID

integer

None.

ClothingCount

integer

None.

ClothingItemRating

decimal number

None.

ClothingReview

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ClothingRatingID": 1,
  "ClothingID": 2,
  "ClothingCount": 3,
  "ClothingItemRating": 4.0,
  "ClothingReview": "sample string 5"
}

application/xml, text/xml

Sample:
<ClothingRatingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model_z_webAPIService.Models">
  <ClothingCount>3</ClothingCount>
  <ClothingID>2</ClothingID>
  <ClothingItemRating>4</ClothingItemRating>
  <ClothingRatingID>1</ClothingRatingID>
  <ClothingReview>sample string 5</ClothingReview>
</ClothingRatingModel>