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

            "HasNextPage": true,

            "HasPreviousPage": true,

            "LastItem": 4,

            "PageIndex": 1,

            "PageNumber": 2,

            "PageSize": 2,

            "TotalItems": 17,

            "TotalPages": 9

        },

        "Products": [

            {

                "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": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000026_asus-n551jk-xo076h-laptop_415.jpeg",

                    "ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000026_asus-n551jk-xo076h-laptop_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi420.rebuildsucceeded.com/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,

                    "CustomProperties": {}

                },

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

                "Message": null

            },

            {

                "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": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000020_build-your-own-computer_415.jpeg",

                    "ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000020_build-your-own-computer_100.jpeg",

                    "FullSizeImageUrl": "http://mobileapi420.rebuildsucceeded.com/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": 48,

                    "TotalReviews": 14,

                    "AllowCustomerReviews": true,

                    "CustomProperties": {}

                },

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

                "Message": null

            }

        ]

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}