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": true,

            "AvailableViewModes": [

                {

                    "Disabled": false,

                    "Group": null,

                    "Selected": true,

                    "Text": "Grid",

                    "Value": "grid"

                },

                {

                    "Disabled": false,

                    "Group": null,

                    "Selected": false,

                    "Text": "List",

                    "Value": "list"

                }

            ],

            "AllowCustomersToSelectPageSize": true,

            "PageSizeOptions": [

                {

                    "Disabled": false,

                    "Group": null,

                    "Selected": false,

                    "Text": "3",

                    "Value": "3"

                },

                {

                    "Disabled": false,

                    "Group": null,

                    "Selected": true,

                    "Text": "6",

                    "Value": "6"

                },

                {

                    "Disabled": false,

                    "Group": null,

                    "Selected": false,

                    "Text": "9",

                    "Value": "9"

                },

                {

                    "Disabled": false,

                    "Group": null,

                    "Selected": false,

                    "Text": "18",

                    "Value": "18"

                }

            ],

            "OrderBy": 0,

            "ViewMode": "grid",

            "WarningMessage": null,

            "NoResultMessage": null,

            "FirstItem": 1,

            "HasNextPage": true,

            "HasPreviousPage": false,

            "LastItem": 6,

            "PageIndex": 0,

            "PageNumber": 1,

            "PageSize": 6,

            "TotalItems": 17,

            "TotalPages": 3

        },

        "Products": [

            {

                "Id": 1,

                "ProductType": "SimpleProduct",

                "Name": "Build your own computer",

                "ShortDescription": "Build it",

                "FullDescription": "<p>Fight back against cluttered workspaces with the stylish IBM zBC12 All-in-One desktop PC, featuring powerful computing resources and a stunning 20.1-inch widescreen display with stunning XBRITE-HiColor LCD technology. The black IBM zBC12 has a built-in microphone and MOTION EYE camera with face-tracking technology that allows for easy communication with friends and family. And it has a built-in DVD burner and Sony's Movie Store software so you can create a digital entertainment library for personal viewing at your convenience. Easy to setup and even easier to use, this JS-series All-in-One includes an elegantly designed keyboard and a USB mouse.</p>",

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

                "ProductPrice": {

                    "OldPrice": null,

                    "Price": "$1,200.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "https://localhost:44369/images/thumbs/0000020_build-your-own-computer_415.jpeg",

                    "ThumbImageUrl": null,

                    "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000020_build-your-own-computer.jpeg",

                    "Title": "Show details for Build your own computer",

                    "AlternateText": "Picture of Build your own computer",

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 1,

                    "RatingSum": 5,

                    "TotalReviews": 1,

                    "AllowCustomerReviews": true,

                    "CanAddNewReview": false,

                    "CustomProperties": {}

                },

                "CustomerGuid": "3dd4e964-5a98-4482-97c9-3f4f89dfd7c4",

                "Message": null

            },

            {

                "Id": 3,

                "ProductType": "SimpleProduct",

                "Name": "Lenovo IdeaCentre 600 All-in-One PC",

                "ShortDescription": "",

                "FullDescription": "<p>The A600 features a 21.5in screen, DVD or optional Blu-Ray drive, support for the full beans 1920 x 1080 HD, Dolby Home Cinema certification and an optional hybrid analogue/digital TV tuner.</p><p>Connectivity is handled by 802.11a/b/g - 802.11n is optional - and an ethernet port. You also get four USB ports, a Firewire slot, a six-in-one card reader and a 1.3- or two-megapixel webcam.</p>",

                "SeName": "lenovo-ideacentre-600-all-in-one-pc",

                "ProductPrice": {

                    "OldPrice": null,

                    "Price": "$500.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "https://localhost:44369/images/thumbs/0000023_lenovo-ideacentre-600-all-in-one-pc_415.jpeg",

                    "ThumbImageUrl": "https://localhost:44369/images/thumbs/0000023_lenovo-ideacentre-600-all-in-one-pc_100.jpeg",

                    "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000023_lenovo-ideacentre-600-all-in-one-pc.jpeg",

                    "Title": "Show details for Lenovo IdeaCentre 600 All-in-One PC",

                    "AlternateText": "Picture of Lenovo IdeaCentre 600 All-in-One PC",

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 3,

                    "RatingSum": 4,

                    "TotalReviews": 1,

                    "AllowCustomerReviews": true,

                    "CanAddNewReview": false,

                    "CustomProperties": {}

                },

                "CustomerGuid": "3dd4e964-5a98-4482-97c9-3f4f89dfd7c4",

                "Message": null

            },

            {

                "Id": 4,

                "ProductType": "SimpleProduct",

                "Name": "Apple MacBook Pro 13-inch",

                "ShortDescription": "A groundbreaking Retina display. A new force-sensing trackpad. All-flash architecture. Powerful dual-core and quad-core Intel processors. Together, these features take the notebook to a new level of performance. And they will do the same for you in everything you create.",

                "FullDescription": "<p>With fifth-generation Intel Core processors, the latest graphics, and faster flash storage, the incredibly advanced MacBook Pro with Retina display moves even further ahead in performance and battery life.* *Compared with the previous generation.</p><p>Retina display with 2560-by-1600 resolution</p><p>Fifth-generation dual-core Intel Core i5 processor</p><p>Intel Iris Graphics</p><p>Up to 9 hours of battery life1</p><p>Faster flash storage2</p><p>802.11ac Wi-Fi</p><p>Two Thunderbolt 2 ports for connecting high-performance devices and transferring data at lightning speed</p><p>Two USB 3 ports (compatible with USB 2 devices) and HDMI</p><p>FaceTime HD camera</p><p>Pages, Numbers, Keynote, iPhoto, iMovie, GarageBand included</p><p>OS X, the world's most advanced desktop operating system</p>",

                "SeName": "apple-macbook-pro-13-inch",

                "ProductPrice": {

                    "OldPrice": null,

                    "Price": "$1,800.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "https://localhost:44369/images/thumbs/0000024_apple-macbook-pro-13-inch_415.jpeg",

                    "ThumbImageUrl": null,

                    "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000024_apple-macbook-pro-13-inch.jpeg",

                    "Title": "Show details for Apple MacBook Pro 13-inch",

                    "AlternateText": "Picture of Apple MacBook Pro 13-inch",

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 4,

                    "RatingSum": 4,

                    "TotalReviews": 1,

                    "AllowCustomerReviews": true,

                    "CanAddNewReview": false,

                    "CustomProperties": {}

                },

                "CustomerGuid": "3dd4e964-5a98-4482-97c9-3f4f89dfd7c4",

                "Message": null

            },

            {

                "Id": 5,

                "ProductType": "SimpleProduct",

                "Name": "Asus N551JK-XO076H Laptop",

                "ShortDescription": "Laptop Asus N551JK Intel Core i7-4710HQ 2.5 GHz, RAM 16GB, HDD 1TB, Video NVidia GTX 850M 4GB, BluRay, 15.6, Full HD, Win 8.1",

                "FullDescription": "<p>The ASUS N550JX combines cutting-edge audio and visual technology to deliver an unsurpassed multimedia experience. A full HD wide-view IPS panel is tailor-made for watching movies and the intuitive touchscreen makes for easy, seamless navigation. ASUS has paired the N550JX’s impressive display with SonicMaster Premium, co-developed with Bang & Olufsen ICEpower® audio experts, for true surround sound. A quad-speaker array and external subwoofer combine for distinct vocals and a low bass that you can feel.</p>",

                "SeName": "asus-n551jk-xo076h-laptop",

                "ProductPrice": {

                    "OldPrice": null,

                    "Price": "$1,500.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "https://localhost:44369/images/thumbs/0000026_asus-n551jk-xo076h-laptop_415.jpeg",

                    "ThumbImageUrl": "https://localhost:44369/images/thumbs/0000026_asus-n551jk-xo076h-laptop_100.jpeg",

                    "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000026_asus-n551jk-xo076h-laptop.jpeg",

                    "Title": "Show details for Asus N551JK-XO076H Laptop",

                    "AlternateText": "Picture of Asus N551JK-XO076H Laptop",

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 5,

                    "RatingSum": 4,

                    "TotalReviews": 1,

                    "AllowCustomerReviews": true,

                    "CanAddNewReview": false,

                    "CustomProperties": {}

                },

                "CustomerGuid": "3dd4e964-5a98-4482-97c9-3f4f89dfd7c4",

                "Message": null

            },

            {

                "Id": 9,

                "ProductType": "SimpleProduct",

                "Name": "Lenovo Thinkpad X1 Carbon Laptop",

                "ShortDescription": "Lenovo Thinkpad X1 Carbon Touch Intel Core i7 14 Ultrabook",

                "FullDescription": "<p>The X1 Carbon brings a new level of quality to the ThinkPad legacy of high standards and innovation. It starts with the durable, carbon fiber-reinforced roll cage, making for the best Ultrabook construction available, and adds a host of other new features on top of the old favorites. Because for 20 years, we haven't stopped innovating. And you shouldn't stop benefiting from that.</p>",

                "SeName": "lenovo-thinkpad-x1-carbon-laptop",

                "ProductPrice": {

                    "OldPrice": null,

                    "Price": "$1,360.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "https://localhost:44369/images/thumbs/0000031_lenovo-thinkpad-x1-carbon-laptop_415.jpeg",

                    "ThumbImageUrl": "https://localhost:44369/images/thumbs/0000031_lenovo-thinkpad-x1-carbon-laptop_100.jpeg",

                    "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000031_lenovo-thinkpad-x1-carbon-laptop.jpeg",

                    "Title": "Show details for Lenovo Thinkpad X1 Carbon Laptop",

                    "AlternateText": "Picture of Lenovo Thinkpad X1 Carbon Laptop",

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 9,

                    "RatingSum": 0,

                    "TotalReviews": 0,

                    "AllowCustomerReviews": true,

                    "CanAddNewReview": false,

                    "CustomProperties": {}

                },

                "CustomerGuid": "3dd4e964-5a98-4482-97c9-3f4f89dfd7c4",

                "Message": null

            },

            {

                "Id": 10,

                "ProductType": "SimpleProduct",

                "Name": "Adobe Photoshop CS4",

                "ShortDescription": "Easily find and view all your photos",

                "FullDescription": "<p>Adobe Photoshop CS4 software combines power and simplicity so you can make ordinary photos extraordinary; tell engaging stories in beautiful, personalized creations for print and web; and easily find and view all your photos. New Photoshop.com membership* works with Photoshop CS4 so you can protect your photos with automatic online backup and 2 GB of storage; view your photos anywhere you are; and share your photos in fun, interactive ways with invitation-only Online Albums.</p>",

                "SeName": "adobe-photoshop-cs4",

                "ProductPrice": {

                    "OldPrice": null,

                    "Price": "$75.00",

                    "DisableBuyButton": false,

                    "DisableWishlistButton": false,

                    "AvailableForPreOrder": false,

                    "PreOrderAvailabilityStartDateTimeUtc": null,

                    "IsRental": false,

                    "ForceRedirectionAfterAddingToCart": false,

                    "DisplayTaxShippingInfo": false,

                    "CustomProperties": {}

                },

                "DefaultPictureModel": {

                    "ImageUrl": "https://localhost:44369/images/thumbs/0000032_adobe-photoshop-cs4_415.jpeg",

                    "ThumbImageUrl": "https://localhost:44369/images/thumbs/0000032_adobe-photoshop-cs4_100.jpeg",

                    "FullSizeImageUrl": "https://localhost:44369/images/thumbs/0000032_adobe-photoshop-cs4.jpeg",

                    "Title": "Show details for Adobe Photoshop CS4",

                    "AlternateText": "Picture of Adobe Photoshop CS4",

                    "CustomProperties": {}

                },

                "ReviewOverviewModel": {

                    "ProductId": 10,

                    "RatingSum": 4,

                    "TotalReviews": 1,

                    "AllowCustomerReviews": true,

                    "CanAddNewReview": false,

                    "CustomProperties": {}

                },

                "CustomerGuid": "3dd4e964-5a98-4482-97c9-3f4f89dfd7c4",

                "Message": null

            }

        ]

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}