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": "8d3ded79-1265-42d4-9982-fea27c080079",
"ProductId": "3d2876f9-1592-4e7a-bc8e-4bf7e1007e6c",
"AttrValue1": "93a4d9ec-8eeb-4884-8137-0c26035c5e6e",
"AttrValue2": "e26007fa-66e7-427f-ae36-2be76c8a8562",
"AttrValue3": "8513fbe3-d8e5-4885-a7c8-85b5e09649b4",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "cef25351-9f44-4622-be7b-d7e174a3806f",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "3c2d2b05-53d0-4574-bbe3-ea8522c447b9",
"ImageID": "fc448606-46e9-4809-9fed-69f9f7c0614f",
"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": "3c2d2b05-53d0-4574-bbe3-ea8522c447b9",
"ImageID": "fc448606-46e9-4809-9fed-69f9f7c0614f",
"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"
}