Request Parameters:


Get product images for specified product ids. When product doesn't have image than PictureList not contain image and DefaultPictureModel contain default image.


URL: ../Api/Client/GetProductsPictures


Header:

Content-Type:application/json


Required Parameters : PorductIds, LanguageId, ThumbSize[Optional]


Case-1. Incorrect parameters :        
Parameter:
{
    "ApiSecretKey": "i99b98d117m116a112o98k115c111",
    "LanguageId": "1",

    "ProductIds": []
}
Response :
{
    "Status": 2,
    "Message": "Invalid parameters.",
    "Data": null,
    "ValidationMessage": [
        "Provide product ids."
    ],
    "ErrorMessage": null
}


Case-3. Success Response :
Parameter:
{
    "ApiSecretKey": "i99b98d117m116a112o98k115c111",
    "LanguageId": "1",
    "ThumbSize":20,
    "ProductIds": [35,36]
}
Response :
{

    "Status": 1,

    "Message": "Success.",

    "Data": [

        {

            "ProductId": 35,

            "DefaultPictureModel": {

                "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000066_if-you-wait-donation_550.jpeg",

                "ThumbImageUrl": null,

                "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000066_if-you-wait-donation.jpeg",

                "Title": "Picture of If You Wait (donation)",

                "AlternateText": "Picture of If You Wait (donation)",

                "CustomProperties": {}

            },

            "PictureList": []

        },

        {

            "ProductId": 36,

            "DefaultPictureModel": {

                "ImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000067_science-faith_550.jpeg",

                "ThumbImageUrl": null,

                "FullSizeImageUrl": "http://mobileapi430.rebuildsucceeded.com/images/thumbs/0000067_science-faith.jpeg",

                "Title": "Picture of Science & Faith",

                "AlternateText": "Picture of Science & Faith",

                "CustomProperties": {}

            },

            "PictureList": []

        }

    ],

    "ValidationMessage": [],

    "ErrorMessage": null

}