POST api/ProductReview/UpdateProductReview

Request Information

URI Parameters

None.

Body Parameters

ProductReview
NameDescriptionTypeAdditional information
Product_Id

integer

None.

Product

string

None.

Customer_Id

integer

None.

Customer

string

None.

Description

string

None.

Rating

integer

None.

Request Formats

application/json, text/json

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

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}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductReview'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.