POST ProductImage/Images
Gets a list of product images for Product Ids returning the product ids image binary in a byte array
Request Information
URI Parameters
None.
Body Parameters
ProductImageCommand| Name | Type | Description | Additional information |
|---|---|---|---|
| ProductIds | Collection of integer |
List of product Id's to get images for, MAX 50 Images |
None. |
| MaxHeight | integer |
The maximum height in pixels that the product images will return with |
None. |
| MaxWidth | integer |
The maximum width in pixels that the product images will return with /// |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductIds": [
1,
2
],
"MaxHeight": 1,
"MaxWidth": 2
}
application/xml, text/xml
Sample:
System.Xml.XmlDocument
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ProductImageDto| Name | Type | Description | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| ProductBase64 | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductID": 1,
"ProductBase64": "sample string 2"
},
{
"ProductID": 1,
"ProductBase64": "sample string 2"
}
]
application/xml, text/xml
Sample:
System.Xml.XmlDocument