GET api/ProductReview/GetProductsRatingByCustomerId?CustomerId={CustomerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProductReview
NameDescriptionTypeAdditional information
Product_Id

integer

None.

Product

string

None.

Customer_Id

integer

None.

Customer

string

None.

Description

string

None.

Rating

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Product_Id": 1,
    "Product": "sample string 2",
    "Customer_Id": 3,
    "Customer": "sample string 4",
    "Description": "sample string 5",
    "Rating": 6
  },
  {
    "$ref": "1"
  }
]

application/octet-stream

Sample:
[{"$id":"1","Product_Id":1,"Product":"sample string 2","Customer_Id":3,"Customer":"sample string 4","Description":"sample string 5","Rating":6},{"$ref":"1"}]