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": "bfad50a8-2c16-401a-9b25-c724d99cb166",
"OrgImage": "QEA=",
"ProductId": "b9d1f7d0-1041-42a3-85dc-c34b5a9a6a52"
},
{
"ImageId": "bfad50a8-2c16-401a-9b25-c724d99cb166",
"OrgImage": "QEA=",
"ProductId": "b9d1f7d0-1041-42a3-85dc-c34b5a9a6a52"
}
]
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>bfad50a8-2c16-401a-9b25-c724d99cb166</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>b9d1f7d0-1041-42a3-85dc-c34b5a9a6a52</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>bfad50a8-2c16-401a-9b25-c724d99cb166</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>b9d1f7d0-1041-42a3-85dc-c34b5a9a6a52</ProductId>
</ProductPhotoModel>
</ArrayOfProductPhotoModel>