Request Parameters:


Retrieve the list of product by tag.


URL: ../Api/Client/ProductByTag


Header:

Content-Type:application/json


Required Parameters :


Case-1. Exception parameters :
Parameter:
{

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

      "LanguageId":"1",

      "CurrencyId":"",

      "ProductTagId":"",

      "CatalogPagingResponse":

           {

             "PageSize": "8",

             "PageNumber":"1",

                   "OrderBy":"0"

      }

}
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",

      "LanguageId":"1",

      "CurrencyId":"1",

      "ProductTagId":"60",

      "CatalogPagingResponse":

           {

             "PageSize": "8",

             "PageNumber":"1",

                   "OrderBy":"0"

      }

}

Response :
{

    "Status": 0,

    "Message": "No Product tags found",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{

    "ApiSecretKey": "w105l97a105a105z107m104r107h119",

    "CustomerGUID": "cdceec37-25e7-454c-b187-bad17338f20a",

    "StoreId": "1",

    "CurrencyId": "1",

    "LanguageId": "1",

    "ProductTagId": "1",

    "CatalogPagingResponse": {

        "PageSize": "2",

        "PageNumber": "2",

        "OrderBy": "0"

    }

}
Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": {

        "Id": 1,

        "TotalTags": 0,

        "Tags": null,

        "TagName": "awesome",

        "TagSeName": "awesome",

        "PagingFilteringContext": {
            "AllowProductSorting": true,
            "AvailableSortOptions": [
                {
                    "Disabled": false,
                    "Group": null,
                    "Selected": true,
                    "Text": "Position",
                    "Value": "0"
                },
                {
                    "Disabled": false,
                    "Group": null,
                    "Selected": false,
                    "Text": "Name: A to Z",
                    "Value": "5"
                },
                {
                    "Disabled": false,
                    "Group": null,
                    "Selected": false,
                    "Text": "Name: Z to A",
                    "Value": "6"
                },
                {
                    "Disabled": false,
                    "Group": null,
                    "Selected": false,
                    "Text": "Price: Low to High",
                    "Value": "10"
                },
                {
                    "Disabled": false,
                    "Group": null,
                    "Selected": false,
                    "Text": "Price: High to Low",
                    "Value": "11"
                },
                {
                    "Disabled": false,
                    "Group": null,
                    "Selected": false,
                    "Text": "Created on",
                    "Value": "15"
                }
            ],
            "AllowProductViewModeChanging": false,
            "AvailableViewModes": null,
            "AllowCustomersToSelectPageSize": false,
            "PageSizeOptions": null,
            "OrderBy": 0,
            "ViewMode": null,
            "FirstItem": 1,
            "HasNextPage": false,
            "HasPreviousPage": false,
            "LastItem": 1,
            "PageIndex": 0,
            "PageNumber": 1,
            "PageSize": 2,
            "TotalItems": 1,
            "TotalPages": 1
        },

        "Products": [

            {

                "Id": 48,

                "ProductType": "SimpleProduct",

                "Name": "2018 HP Pavilion 570 23\" Full HD Desktop Bundle, Intel i3-7100 Dual-Core Processor 3.9GHz 8GB DDR4 RAM 1TB HDD DVD VGA HDMI Keyboard Mouse Windows 10,Black",

                "ShortDescription": "23-inch IPS Full HD 1920 x 1080 IPS with LED Backlight UtraSlim Display, 250 cd/m² brightness; 10,000,000:1 dynamic contrast ratio(1000:1 typical), 7ms response rate; 178° horizontal and vertical viewing angles; Versatile viewing: Easily adjust your view by tilting -5 degrees forward to +25 degrees backward. 1 VGA and 1 HDMI inputs allow you to connect to a wide range of digital and analog devices.\r\n7th generation Intel Dual Core i3-7100 processor--Powerful performance easily keeps up with all your multitasking demands, enables new ways to interact with your PC, and delivers enhanced 4K video capabilities.\r\nIntel HD Graphics--Impressive graphics help with everything you do. Whether it's watching a video or just surfing the web, Intel HD Graphics render all the visuals on your screen with smooth, vivid quality.\r\n8 GB DDR4-2400 SDRAM RAM, 1TB SATA 7200rpm Hard Drive. Re-writable DVD drive-- Watch and write DVDs using the integrated optical drive.\r\nWiFi 802.11 ac with LAN and Bluetooth 4.2, 3-in-1 Media Card Reader | 1 x VGA | 1 x HDMI | 3 x USB 3.0 | 2 x USB 2.0 | 1 x USB-C, Windows 10 Home 64 bit ; USB Keyboard and Optical Mouse",

                "FullDescription": "<ul class=\"a-unordered-list a-vertical a-spacing-none\" style=\"list-style-type: circle;\">\r\n<li>\r\n<p>Product overview</p>\r\n<p>While other towers have been standing still, HP has shaken up the category. From its eye-catching, space saving design, to full performance and reliability, this HP Pavilion is the best thing to happen to towers in over 20 years.</p>\r\n<p>Designed to be bold<br />Infused with style and personality, with color to match your style, the redesigned HP Pavilion helps you transform your workspace.</p>\r\n<p>Power and performance<br />1TB of storage, advanced Intel HD graphics, multi-display support, and improved upgradability, this tower stands up to even the closest scrutiny.</p>\r\n<p>Built to last<br />When you’re looking for a desktop that just doesn't quit, HP has you covered. We put every tower through over 100 tests, ensuring its trusted reliability.</p>\r\n</li>\r\n</ul>",

                "SeName": "2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i3-7100-dual-core-processor-39ghz-8gb-ddr4-ram-1tb-hdd-dvd-vga-hdmi-keyboard-mouse-windows-10black-2",

                "ProductPrice": {

                    "OldPrice": "$530.00",

                    "Price": "$528.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "Form": null,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "http://localhost:15536/images/thumbs/0000080_2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i3-7100-dual-core-processor-39ghz-8gb-ddr4-ram-_415.jpeg",

                    "ThumbImageUrl": "http://localhost:15536/images/thumbs/0000080_2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i3-7100-dual-core-processor-39ghz-8gb-ddr4-ram-_100.jpeg",

                    "FullSizeImageUrl": "http://localhost:15536/images/thumbs/0000080_2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i3-7100-dual-core-processor-39ghz-8gb-ddr4-ram-.jpeg",

                    "Title": "Show details for 2018 HP Pavilion 570 23\" Full HD Desktop Bundle, Intel i3-7100 Dual-Core Processor 3.9GHz 8GB DDR4 RAM 1TB HDD DVD VGA HDMI Keyboard Mouse Windows 10,Black",

                    "AlternateText": "Picture of 2018 HP Pavilion 570 23\" Full HD Desktop Bundle, Intel i3-7100 Dual-Core Processor 3.9GHz 8GB DDR4 RAM 1TB HDD DVD VGA HDMI Keyboard Mouse Windows 10,Black",

                    "Form": null,

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 48,

                    "RatingSum": 0,

                    "TotalReviews": 0,

                    "AllowCustomerReviews": true,

                    "Form": null,

                    "CustomProperties": {}

                },

                "CustomerGuid": "cdceec37-25e7-454c-b187-bad17338f20a",

                "Message": null

            },

            {

                "Id": 105,

                "ProductType": "SimpleProduct",

                "Name": "2018 HP Pavilion 570 23\" Full HD Desktop Bundle, Intel i5-7100 Dual-Core Processor 3.9GHz 8GB DDR4 RAM 1TB HDD DVD VGA HDMI Keyboard Mouse Windows 10,red",

                "ShortDescription": "23-inch IPS Full HD 1920 x 1080 IPS with LED Backlight UtraSlim Display, 250 cd/m² brightness; 10,000,000:1 dynamic contrast ratio(1000:1 typical), 7ms response rate; 178° horizontal and vertical viewing angles; Versatile viewing: Easily adjust your view by tilting -5 degrees forward to +25 degrees backward. 1 VGA and 1 HDMI inputs allow you to connect to a wide range of digital and analog devices.\r\n7th generation Intel Dual Core i3-7100 processor--Powerful performance easily keeps up with all your multitasking demands, enables new ways to interact with your PC, and delivers enhanced 4K video capabilities.\r\nIntel HD Graphics--Impressive graphics help with everything you do. Whether it's watching a video or just surfing the web, Intel HD Graphics render all the visuals on your screen with smooth, vivid quality.\r\n8 GB DDR4-2400 SDRAM RAM, 1TB SATA 7200rpm Hard Drive. Re-writable DVD drive-- Watch and write DVDs using the integrated optical drive.\r\nWiFi 802.11 ac with LAN and Bluetooth 4.2, 3-in-1 Media Card Reader | 1 x VGA | 1 x HDMI | 3 x USB 3.0 | 2 x USB 2.0 | 1 x USB-C, Windows 10 Home 64 bit ; USB Keyboard and Optical Mouse",

                "FullDescription": "<ul class=\"a-unordered-list a-vertical a-spacing-none\" style=\"list-style-type: circle;\">\r\n<li>\r\n<p>Product overview</p>\r\n<p>While other towers have been standing still, HP has shaken up the category. From its eye-catching, space saving design, to full performance and reliability, this HP Pavilion is the best thing to happen to towers in over 20 years.</p>\r\n<p>Designed to be bold<br />Infused with style and personality, with color to match your style, the redesigned HP Pavilion helps you transform your workspace.</p>\r\n<p>Power and performance<br />1TB of storage, advanced Intel HD graphics, multi-display support, and improved upgradability, this tower stands up to even the closest scrutiny.</p>\r\n<p>Built to last<br />When you’re looking for a desktop that just doesn't quit, HP has you covered. We put every tower through over 100 tests, ensuring its trusted reliability.</p>\r\n</li>\r\n</ul>",

                "SeName": "2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i3-7100-dual-core-processor-39ghz-8gb-ddr4-ram-1tb-hdd-dvd-vga-hdmi-keyboard-mouse-windows-10black-copy",

                "ProductPrice": {

                    "OldPrice": "$635.00",

                    "Price": "$535.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "Form": null,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "http://localhost:15536/images/thumbs/0001193_2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i5-7100-dual-core-processor-39ghz-8gb-ddr4-ram-_415.jpeg",

                    "ThumbImageUrl": "http://localhost:15536/images/thumbs/0001193_2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i5-7100-dual-core-processor-39ghz-8gb-ddr4-ram-_100.jpeg",

                    "FullSizeImageUrl": "http://localhost:15536/images/thumbs/0001193_2018-hp-pavilion-570-23-full-hd-desktop-bundle-intel-i5-7100-dual-core-processor-39ghz-8gb-ddr4-ram-.jpeg",

                    "Title": "Show details for 2018 HP Pavilion 570 23\" Full HD Desktop Bundle, Intel i5-7100 Dual-Core Processor 3.9GHz 8GB DDR4 RAM 1TB HDD DVD VGA HDMI Keyboard Mouse Windows 10,red",

                    "AlternateText": "Picture of 2018 HP Pavilion 570 23\" Full HD Desktop Bundle, Intel i5-7100 Dual-Core Processor 3.9GHz 8GB DDR4 RAM 1TB HDD DVD VGA HDMI Keyboard Mouse Windows 10,red",

                    "Form": null,

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 105,

                    "RatingSum": 0,

                    "TotalReviews": 0,

                    "AllowCustomerReviews": true,

                    "Form": null,

                    "CustomProperties": {}

                },

                "CustomerGuid": "cdceec37-25e7-454c-b187-bad17338f20a",

                "Message": null

            }

        ]

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}