Request Parameters:


Retrieve the related products of given productId.


URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/RelatedProducts


Parameter:


{

"apiSecretKey":"k117x118z122r116t100e100r118j122",

"storeId":"1",

"languageId":"1",

"currencyId":"1",

"customerId":"1",

"productId":"2"

}


Response :


=>If no Related product found it will response with following parameter


   {

       "RelatedProductsResult": null

   }


=>If Related Product Exist it will response with following parameter


{

   "RelatedProductsResult":

   [

       {

           "Id": 1,

           "Message": null,

           "DefaultPictureModel":

           {

               "CustomProperties":

               [

               ],

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

               "FullSizeImageUrl": "http://localhost:15536/content/images/thumbs/0000020_build-your-own-computer.jpeg",

               "ImageUrl": "http://localhost:15536/content/images/thumbs/0000020_build-your-own-computer_415.jpeg",

               "ThumbImageUrl": "http://localhost:15536/content/images/thumbs/0000020_build-your-own-computer_100.jpeg",

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

           },

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

           "Name": "Build your own computer",

           "ProductPrice":

           {

               "CustomProperties":

               [

               ],

               "AvailableForPreOrder": false,

               "DisableBuyButton": false,

               "DisableWishlistButton": false,

               "DisplayTaxShippingInfo": false,

               "ForceRedirectionAfterAddingToCart": false,

               "IsRental": false,

               "OldPrice": null,

               "PreOrderAvailabilityStartDateTimeUtc": null,

               "Price": "$1,200.00"

           },

           "ReviewOverviewModel":

           {

               "CustomProperties":

               [

               ],

               "AllowCustomerReviews": true,

               "ProductId": 1,

               "RatingSum": 5,

               "TotalReviews": 1

           },

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

           "ShortDescription": "Build it"

       }

}