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": "01209560-812a-49a9-882b-ba4a07eb08b3",
"ProductId": "bf07dec7-0902-4d50-b572-24991f9c9a35",
"AttrValue1": "53ebf531-4e5a-44f0-a8b7-52ff217296ed",
"AttrValue2": "a2561a83-572b-4e70-ac3a-b34959acd728",
"AttrValue3": "1444ac57-adf3-442e-bb35-5dd54ee66965",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "4f912eec-ebb7-46d8-929a-c4513cfa72e7",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "430ed7b1-7854-4332-925a-7f9339628d08",
"ImageID": "830272ab-57f7-45e2-8703-d582112e62d9",
"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": "430ed7b1-7854-4332-925a-7f9339628d08",
"ImageID": "830272ab-57f7-45e2-8703-d582112e62d9",
"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"
}