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": "3d7cc519-01bb-40fb-925a-7eed4b6effe0",
"OrgImage": "QEA=",
"ProductId": "24e61745-ff64-4346-bd5a-0df9054fe5ae"
},
{
"ImageId": "3d7cc519-01bb-40fb-925a-7eed4b6effe0",
"OrgImage": "QEA=",
"ProductId": "24e61745-ff64-4346-bd5a-0df9054fe5ae"
}
]
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>3d7cc519-01bb-40fb-925a-7eed4b6effe0</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>24e61745-ff64-4346-bd5a-0df9054fe5ae</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>3d7cc519-01bb-40fb-925a-7eed4b6effe0</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>24e61745-ff64-4346-bd5a-0df9054fe5ae</ProductId>
</ProductPhotoModel>
</ArrayOfProductPhotoModel>