Request Parameters:


Add the Blog Comment.


URL : ../Api/Client/BlogCommentAdd


Header:

Content-Type:application/json


Required Parameters :  BlogPostId,CommentText                                


Case-1. Exception Response :
Parameter:

{    

       "ApiSecretKey": "h109c120l107f108j98v112z117u109",

         "StoreId": "1",

         "BlogPostId": "2",

         "CaptchaValid":"true",

         "CommentText":"",

         "CustomerGUID": "bb862cae-5462-4622-b3ee-602a6f4b7b62",

         "LanguageId":"1"

}


Response :
{

    "Status": 2,

    "Message": "Invalid parameters.",

    "Data": null,

    "ValidationMessage": [

        "The CommentText field is required."

    ],

    "ErrorMessage": null

}

Case-2. Success Response :
Parameter:
{

  "ApiSecretKey": "h109c120l107f108j98v112z117u109",

  "StoreId": "1",

  "BlogPostId": "2",

  "CaptchaValid":"true",

  "CommentText":"Test AddBlog Comment Text",

  "CustomerGUID": "bb862cae-5462-4622-b3ee-602a6f4b7b62",

  "LanguageId":"1"

}
Response :
{

    "Status": 1,

    "Message": "Blog comment added successfully.",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}