POST api/admin/ReviewApi/UpdateProductReview
Request Information
URI Parameters
None.
Body Parameters
UpdateProductReviewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Range: inclusive between 1 and 2147483647 |
|
ProductID | integer |
Range: inclusive between 1 and 2147483647 |
|
ReviewTitle | string |
String length: inclusive between 0 and 80 |
|
Review | string |
String length: inclusive between 0 and 500 |
|
IsAllowed | boolean |
None. |
|
AllowedBy | string |
String length: inclusive between 0 and 50 |
|
AllowedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "ProductID": 2, "ReviewTitle": "sample string 3", "Review": "sample string 4", "IsAllowed": true, "AllowedBy": "sample string 6", "AllowedOn": "2025-06-07T11:09:03.3781847" }
application/xml, text/xml
Sample:
<UpdateProductReviewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel"> <AllowedBy>sample string 6</AllowedBy> <AllowedOn>2025-06-07T11:09:03.3781847-04:00</AllowedOn> <ID>1</ID> <IsAllowed>true</IsAllowed> <ProductID>2</ProductID> <Review>sample string 4</Review> <ReviewTitle>sample string 3</ReviewTitle> </UpdateProductReviewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.