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": "92b3ea8f-e988-4d8e-9b50-7d0b71b6d4b2",
"OrgImage": "QEA=",
"ProductId": "d228912a-ea2f-40a0-bf1f-a66dd01a9733"
},
{
"ImageId": "92b3ea8f-e988-4d8e-9b50-7d0b71b6d4b2",
"OrgImage": "QEA=",
"ProductId": "d228912a-ea2f-40a0-bf1f-a66dd01a9733"
}
]
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>92b3ea8f-e988-4d8e-9b50-7d0b71b6d4b2</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>d228912a-ea2f-40a0-bf1f-a66dd01a9733</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>92b3ea8f-e988-4d8e-9b50-7d0b71b6d4b2</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>d228912a-ea2f-40a0-bf1f-a66dd01a9733</ProductId>
</ProductPhotoModel>
</ArrayOfProductPhotoModel>