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": "5eefee33-c8b6-486f-bbe7-d26acd7ebb43",
"ProductId": "69665a85-f3bc-4586-a0f0-5ef060310367",
"AttrValue1": "bf5676e0-5076-4b50-ae22-a7b51902b0fe",
"AttrValue2": "02015ba5-0b18-4c66-8a79-d114ed72da11",
"AttrValue3": "6ee23cc6-bec1-48f0-8b6d-c09a6cd9963b",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "e2d0f91f-3acc-4089-bf00-d86a27159f82",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "47f197c5-ab61-467c-8f77-4813d518220b",
"ImageID": "ae31cac1-7e6b-4668-9fe5-aa0ff4ce6146",
"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": "47f197c5-ab61-467c-8f77-4813d518220b",
"ImageID": "ae31cac1-7e6b-4668-9fe5-aa0ff4ce6146",
"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"
}