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": "61d28bf0-5201-4c86-a57b-23bd4562dde0",
"ProductId": "350e4109-5980-456d-97ec-680c15c06658",
"AttrValue1": "b4580c30-e2ec-42c4-8966-22b7d178d401",
"AttrValue2": "9eb8f506-b8ad-4f9d-a9bf-b6b6ba8fda89",
"AttrValue3": "f0ca99fe-0c8c-4923-9a40-d09147ea521d",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "8b30cbe0-6799-4b90-969b-032fe46ac03e",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "6a2298f3-a954-42db-a478-0e8f71896e3e",
"ImageID": "db3d8534-4c4f-4700-882c-805aa3e2e379",
"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": "6a2298f3-a954-42db-a478-0e8f71896e3e",
"ImageID": "db3d8534-4c4f-4700-882c-805aa3e2e379",
"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"
}