GET AdminApi/ProdImage/GetImageByProductId?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "0f21f831-2df6-4d02-a073-60c009e35191",
"ProductId": "17e2ada6-c17e-4f43-ad72-1bb2c9a7ddd3",
"AttrValue1": "514dcf71-f2e6-4269-aeed-038b3739187b",
"AttrValue2": "d6bf6aaa-d8a1-4630-a74e-316507284e88",
"AttrValue3": "7ecfaddd-b310-43d2-9a04-38465702c33e",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "4ee367e0-3f95-4b77-8371-6739ff5a9197",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "b27f9476-efc5-4ffc-8ac9-48ac74b07fc7",
"ImageID": "fdf3e51b-cb45-4281-81c5-de43eb5dc063",
"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": "b27f9476-efc5-4ffc-8ac9-48ac74b07fc7",
"ImageID": "fdf3e51b-cb45-4281-81c5-de43eb5dc063",
"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"
},
{
"Id": "0f21f831-2df6-4d02-a073-60c009e35191",
"ProductId": "17e2ada6-c17e-4f43-ad72-1bb2c9a7ddd3",
"AttrValue1": "514dcf71-f2e6-4269-aeed-038b3739187b",
"AttrValue2": "d6bf6aaa-d8a1-4630-a74e-316507284e88",
"AttrValue3": "7ecfaddd-b310-43d2-9a04-38465702c33e",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "4ee367e0-3f95-4b77-8371-6739ff5a9197",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "b27f9476-efc5-4ffc-8ac9-48ac74b07fc7",
"ImageID": "fdf3e51b-cb45-4281-81c5-de43eb5dc063",
"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": "b27f9476-efc5-4ffc-8ac9-48ac74b07fc7",
"ImageID": "fdf3e51b-cb45-4281-81c5-de43eb5dc063",
"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"
}
]