Request Parameters:


Add the products review to product


URL : ../Api/Client/ProductReviews


Header:

Content-Type:application/json



Required Parameters :  ProductId


[Note: If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000" ,then in response you will get your Guest CustomerGUId]


Case-1. Exception parameters :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

      "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

       "StoreId": "",

       "ProductId": "",

       "LanguageId":""

}
Response :
{

    "Status": 0,

    "Message": "Request cannot be empty",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-2. Incorrect Parameters :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

      "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

       "StoreId": "1",

       "ProductId": "200",

       "LanguageId":"1"

}
Response :
{

    "Status": 0,

    "Message": "No product found with id : 200",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Sucess Response :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

      "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

       "StoreId": "1",

       "ProductId": "1",

       "LanguageId":"1"

}
Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "ProductId": 1,

        "ProductName": "Build your own computer",

        "ProductSeName": "build-your-own-computer",

        "Items": [

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "Performance and Resolution",

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

                "ReplyText": null,

                "Rating": 3,

                "WrittenOnStr": "1/8/2021 11:02 AM",

                "Helpfulness": {

                    "ProductReviewId": 54,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 54,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "Performance and Resolution",

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

                "ReplyText": null,

                "Rating": 3,

                "WrittenOnStr": "12/21/2020 7:37 AM",

                "Helpfulness": {

                    "ProductReviewId": 53,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 53,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "Performance and Resolution",

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

                "ReplyText": null,

                "Rating": 3,

                "WrittenOnStr": "11/25/2020 8:04 AM",

                "Helpfulness": {

                    "ProductReviewId": 52,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 52,

                "CustomProperties": {}

            },

            {

                "CustomerId": 50354,

                "CustomerAvatarUrl": null,

                "CustomerName": "Alpesh",

                "AllowViewingProfiles": false,

                "Title": "r4",

                "ReviewText": "66",

                "ReplyText": null,

                "Rating": 5,

                "WrittenOnStr": "10/26/2020 8:20 AM",

                "Helpfulness": {

                    "ProductReviewId": 51,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 51,

                "CustomProperties": {}

            },

            {

                "CustomerId": 50354,

                "CustomerAvatarUrl": null,

                "CustomerName": "Alpesh",

                "AllowViewingProfiles": false,

                "Title": "",

                "ReviewText": "",

                "ReplyText": null,

                "Rating": 4,

                "WrittenOnStr": "10/23/2020 7:22 AM",

                "Helpfulness": {

                    "ProductReviewId": 50,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 50,

                "CustomProperties": {}

            },

            {

                "CustomerId": 50354,

                "CustomerAvatarUrl": null,

                "CustomerName": "Alpesh",

                "AllowViewingProfiles": false,

                "Title": "",

                "ReviewText": "",

                "ReplyText": null,

                "Rating": 4,

                "WrittenOnStr": "10/22/2020 11:03 AM",

                "Helpfulness": {

                    "ProductReviewId": 49,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 49,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "deotest002",

                "ReviewText": "demotest003",

                "ReplyText": null,

                "Rating": 2,

                "WrittenOnStr": "6/27/2020 8:07 AM",

                "Helpfulness": {

                    "ProductReviewId": 44,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 44,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "demotest001",

                "ReviewText": "demo test001 001",

                "ReplyText": null,

                "Rating": 2,

                "WrittenOnStr": "6/27/2020 8:06 AM",

                "Helpfulness": {

                    "ProductReviewId": 43,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 43,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "",

                "ReviewText": "",

                "ReplyText": null,

                "Rating": 5,

                "WrittenOnStr": "6/27/2020 7:26 AM",

                "Helpfulness": {

                    "ProductReviewId": 42,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 42,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "77t7rffu",

                "ReviewText": "u0fufufu",

                "ReplyText": null,

                "Rating": 4,

                "WrittenOnStr": "6/26/2020 7:21 AM",

                "Helpfulness": {

                    "ProductReviewId": 41,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 41,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "77ffy",

                "ReviewText": "ufufufuf",

                "ReplyText": null,

                "Rating": 4,

                "WrittenOnStr": "6/19/2020 9:20 AM",

                "Helpfulness": {

                    "ProductReviewId": 37,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 37,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "Performance and Resolution",

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

                "ReplyText": null,

                "Rating": 3,

                "WrittenOnStr": "6/13/2020 1:16 PM",

                "Helpfulness": {

                    "ProductReviewId": 35,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 35,

                "CustomProperties": {}

            },

            {

                "CustomerId": 13920,

                "CustomerAvatarUrl": null,

                "CustomerName": "John",

                "AllowViewingProfiles": false,

                "Title": "Performance and Resolution",

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

                "ReplyText": null,

                "Rating": 3,

                "WrittenOnStr": "6/9/2020 8:36 AM",

                "Helpfulness": {

                    "ProductReviewId": 34,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 34,

                "CustomProperties": {}

            },

            {

                "CustomerId": 1415,

                "CustomerAvatarUrl": null,

                "CustomerName": "CHirag",

                "AllowViewingProfiles": false,

                "Title": "Test",

                "ReviewText": "Nice product",

                "ReplyText": null,

                "Rating": 3,

                "WrittenOnStr": "5/19/2020 10:43 AM",

                "Helpfulness": {

                    "ProductReviewId": 33,

                    "HelpfulYesTotal": 0,

                    "HelpfulNoTotal": 0,

                    "CustomProperties": {}

                },

                "AdditionalProductReviewList": [],

                "Id": 33,

                "CustomProperties": {}

            }

        ],

        "AddProductReview": {

            "Title": null,

            "ReviewText": null,

            "Rating": 0,

            "DisplayCaptcha": false,

            "CanCurrentCustomerLeaveReview": true,

            "SuccessfullyAdded": false,

            "Result": null,

            "CustomProperties": {}

        },

        "CustomerGuid": "6c6b37a8-e3f1-48e4-b0c6-45c3d5001dca",

        "Message": null

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}