Request Parameters:


Add the products review to product


URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/AddProductReview


Parameter:


{

"apiSecretKey": "k117x118z122r116t100e100r118j122",

"storeId": "1",

"customerId": "1",

"productId": "3",

"captchaValid": "true",

"review":

{

"Title": "Performance and Resolution",

"ReviewText": "Performance is high and resolution is more than expectation.Webcam is working fine.",

"Rating": "5",

"DisplayCaptcha": "true",

"CanCurrentCustomerLeaveReview": "true",

"SuccessfullyAdded": "false",

"Result": ""

}

}


Response :


  {

       "AddProductReviewResult":

       {

           "Id": 58,

           "Message": "Product review is successfully added.",

           "CustomerId": 1,

           "CustomerName": "test1 test1",

           "ProductId": 3,

           "ProductReview":

           {

               "CanCurrentCustomerLeaveReview": true,

               "DisplayCaptcha": true,

               "Rating": 5,

               "Result": "Product review is successfully added.",

               "ReviewText": "Performance is high and resolution is more than expectation.Webcam is working fine.",

               "SuccessfullyAdded": true,

               "Title": "Performance and Resolution"

           }

       }

   }