Request Parameters:


Retrive the information of News Item


URL : ../Api/Client/NewsItem


Header:

Content-Type:application/json


Required Parameters :  NewsItemId


Case-1. Success Response :
Parameter:
{

  "ApiSecretKey": "h109c120l107f108j98v112z117u109",

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

  "StoreId":"1",

  "NewsItemId":"1",

  "LanguageId":"1"

}
Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "Id": 1,

        "MetaKeywords": null,

        "MetaDescription": null,

        "MetaTitle": null,

        "SeName": "about-nopcommerce",

        "Title": "About nopCommerce",

        "Short": "It's stable and highly usable. From downloads to documentation, www.nopCommerce.com offers a comprehensive base of information, resources, and support to the nopCommerce community.",

        "Full": "<p>For full feature list go to <a href=\"https://www.nopCommerce.com\">nopCommerce.com</a></p><p>Providing outstanding custom search engine optimization, web development services and e-commerce development solutions to our clients at a fair price in a professional manner.</p>",

        "AllowComments": true,

        "NumberOfComments": 3,

        "CreatedOn": "2020-11-26T14:13:34.931836",

        "Comments": [

            {

                "CustomerId": 1,

                "CustomerName": "John",

                "CustomerAvatarUrl": "http://localhost:15536/images/thumbs/default-avatar_120.jpg",

                "CommentTitle": "Sample comment title",

                "CommentText": "This is a sample comment...",

                "CreatedOn": "2020-11-26T14:13:35.1783827",

                "AllowViewingProfiles": false,

                "Id": 1,

                "Form": null,

                "CustomProperties": {}

            },

            {

                "CustomerId": 1,

                "CustomerName": "John",

                "CustomerAvatarUrl": "http://localhost:15536/images/thumbs/default-avatar_120.jpg",

                "CommentTitle": "Test",

                "CommentText": "Sample test comment",

                "CreatedOn": "2021-01-02T16:15:59.5179435",

                "AllowViewingProfiles": false,

                "Id": 4,

                "Form": null,

                "CustomProperties": {}

            },

            {

                "CustomerId": 1143,

                "CustomerName": "Guest",

                "CustomerAvatarUrl": "http://localhost:15536/images/thumbs/default-avatar_120.jpg",

                "CommentTitle": "Sample",

                "CommentText": "Sample Comment",

                "CreatedOn": "2021-01-02T16:21:15.8410471",

                "AllowViewingProfiles": false,

                "Id": 5,

                "Form": null,

                "CustomProperties": {}

            }

        ],

        "AddNewComment": {

            "CommentTitle": null,

            "CommentText": null,

            "DisplayCaptcha": false,

            "Form": null,

            "CustomProperties": {}

        },

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

        "Message": null

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}