GET api/ProductPhoto?productId={productId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductPhotoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ImageId | globally unique identifier |
None. |
|
| OrgImage | Collection of byte |
None. |
|
| ProductId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ImageId": "c589b854-e17b-4fc6-a684-56756417d2d6",
"OrgImage": "QEA=",
"ProductId": "7bcd2662-6972-4871-9aea-02d0db6eeb8d"
},
{
"ImageId": "c589b854-e17b-4fc6-a684-56756417d2d6",
"OrgImage": "QEA=",
"ProductId": "7bcd2662-6972-4871-9aea-02d0db6eeb8d"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductPhotoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRetail.Helpers">
<ProductPhotoModel>
<ImageId>c589b854-e17b-4fc6-a684-56756417d2d6</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>7bcd2662-6972-4871-9aea-02d0db6eeb8d</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>c589b854-e17b-4fc6-a684-56756417d2d6</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>7bcd2662-6972-4871-9aea-02d0db6eeb8d</ProductId>
</ProductPhotoModel>
</ArrayOfProductPhotoModel>