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": "4a7a006c-67a9-43ec-823a-1ae6ec21e8ea",
"ProductId": "a0fc496c-d888-4de8-8b04-288a8dd1439e",
"AttrValue1": "f1802c05-0847-47be-8277-fc506d6780da",
"AttrValue2": "bd9d5e8b-025e-41e9-bebb-ff931c877da8",
"AttrValue3": "c04c1b31-59c7-493f-a74b-1b37730b69e8",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "fe55ca50-0e42-4499-9ee5-198b12ef60a1",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "11f4d38b-e2a9-4fd2-b7d1-a8d2898c22b4",
"ImageID": "385034b5-ae25-4693-8613-e7b720b91a9c",
"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": "11f4d38b-e2a9-4fd2-b7d1-a8d2898c22b4",
"ImageID": "385034b5-ae25-4693-8613-e7b720b91a9c",
"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"
}