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": "8b3ef3c8-b4d5-446a-a265-693d6b7005c7",
"OrgImage": "QEA=",
"ProductId": "3aae6b59-fe69-4ab4-87e5-0f2eb0d0f017"
},
{
"ImageId": "8b3ef3c8-b4d5-446a-a265-693d6b7005c7",
"OrgImage": "QEA=",
"ProductId": "3aae6b59-fe69-4ab4-87e5-0f2eb0d0f017"
}
]
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>8b3ef3c8-b4d5-446a-a265-693d6b7005c7</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>3aae6b59-fe69-4ab4-87e5-0f2eb0d0f017</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>8b3ef3c8-b4d5-446a-a265-693d6b7005c7</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>3aae6b59-fe69-4ab4-87e5-0f2eb0d0f017</ProductId>
</ProductPhotoModel>
</ArrayOfProductPhotoModel>