GET api/ProductPhoto/GetProductPhoto?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": "d51d47f4-c66d-4015-bacb-cbf5f6d699ac",
"OrgImage": "QEA=",
"ProductId": "53542a7f-0579-4174-81d5-7f412e3f3649"
},
{
"ImageId": "d51d47f4-c66d-4015-bacb-cbf5f6d699ac",
"OrgImage": "QEA=",
"ProductId": "53542a7f-0579-4174-81d5-7f412e3f3649"
}
]
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>d51d47f4-c66d-4015-bacb-cbf5f6d699ac</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>53542a7f-0579-4174-81d5-7f412e3f3649</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>d51d47f4-c66d-4015-bacb-cbf5f6d699ac</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>53542a7f-0579-4174-81d5-7f412e3f3649</ProductId>
</ProductPhotoModel>
</ArrayOfProductPhotoModel>