GET Api/ProdImage/GetImageBySku?prodId={prodId}&attr1={attr1}&attr2={attr2}&attr3={attr3}&imageType={imageType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| prodId | globally unique identifier |
Required |
|
| attr1 | globally unique identifier |
Required |
|
| attr2 | globally unique identifier |
Required |
|
| attr3 | globally unique identifier |
Required |
|
| imageType | ImageType |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductImageView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| AttrValue1 | globally unique identifier |
None. |
|
| AttrValue2 | globally unique identifier |
None. |
|
| AttrValue3 | globally unique identifier |
None. |
|
| AttrValues1Name | string |
None. |
|
| AttrValues2Name | string |
None. |
|
| AttrValues3Name | string |
None. |
|
| Sku | globally unique identifier |
None. |
|
| Type | ImageType |
None. |
|
| Image | string |
None. |
|
| Items | Collection of ProductImageItemView |
None. |
|
| IsDefault | boolean |
None. |
|
| IsDefaultName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "17b1aa69-7e11-4533-994e-90c0f5b5e8b5",
"ProductId": "e68b1c2e-c6f8-4239-bc44-72c6880c5857",
"AttrValue1": "b4a086f6-3dba-4fbc-affb-6c1a328e17ef",
"AttrValue2": "c2521a98-31bd-4e8d-8b84-a06fd11c894a",
"AttrValue3": "7331325e-fbd0-4e42-b21a-577e9b961b7d",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "cc9a5623-1b6c-43f6-bbff-c45fcdba96b0",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "c9c2458c-26ef-423d-baa9-5d0b5e31c101",
"ImageID": "0a06fd50-1515-4bd1-befd-7bfed7871b96",
"OriginalPath": "sample string 3",
"Path": "sample string 4",
"Size": 5,
"Width": "sample string 6",
"Length": "sample string 7",
"Type": 0,
"ImageType": "sample string 8"
},
{
"Id": "c9c2458c-26ef-423d-baa9-5d0b5e31c101",
"ImageID": "0a06fd50-1515-4bd1-befd-7bfed7871b96",
"OriginalPath": "sample string 3",
"Path": "sample string 4",
"Size": 5,
"Width": "sample string 6",
"Length": "sample string 7",
"Type": 0,
"ImageType": "sample string 8"
}
],
"IsDefault": true,
"IsDefaultName": "sample string 12"
}