Request Parameters:


Retrieve the related products of given productId.


URL: ../Api/Client/RelatedProducts


Header:

Content-Type:application/json


Required Parameters :  ProductId


[Note: If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000" ,then in response you will get your Guest CustomerGUId]


Case-1. Exception parameters :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

       "StoreId":"1",

       "LanguageId":"",

       "CurrencyId":"",

       "ProductId":"",

       "ProductThumbPictureSize":"500"

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

       "StoreId":"1",

       "LanguageId":"1",

       "CurrencyId":"1",

       "ProductId":"600",

       "ProductThumbPictureSize":"500"

}

Response :
{

    "Status": 0,

    "Message": "No related product found for product id 600.",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{    

      "ApiSecretKey":"i99b98d117m116a112o98k115c111",

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

       "StoreId":"1",

       "LanguageId":"1",

       "CurrencyId":"1",

       "ProductId":"2",

       "ProductThumbPictureSize":"500"

}

Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": [

        {

            "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": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000024_apple-macbook-pro-13-inch_500.jpeg",

                "ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000024_apple-macbook-pro-13-inch_100.jpeg",

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

                "TotalReviews": 4,

                "AllowCustomerReviews": true,

                "CustomProperties": {}

            },

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

            "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": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000031_lenovo-thinkpad-x1-carbon-laptop_500.jpeg",

                "ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000031_lenovo-thinkpad-x1-carbon-laptop_100.jpeg",

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

                "TotalReviews": 1,

                "AllowCustomerReviews": true,

                "CustomProperties": {}

            },

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

            "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": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000023_lenovo-ideacentre-600-all-in-one-pc_500.jpeg",

                "ThumbImageUrl": "http://mobileapi420.rebuildsucceeded.com/images/thumbs/0000023_lenovo-ideacentre-600-all-in-one-pc_100.jpeg",

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

                "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_500.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": 45,

                "TotalReviews": 13,

                "AllowCustomerReviews": true,

                "CustomProperties": {}

            },

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

            "Message": null

        }

    ],

    "ValidationMessage": [],

    "ErrorMessage": null

}