GET Api/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": "3e01fd24-69c1-408b-9f9c-a1300810dce0",
"ProductId": "207524c6-36b2-4bd9-a399-4950de15e3a9",
"AttrValue1": "ee7134ce-d2de-461e-a0f1-12032dc19cca",
"AttrValue2": "357418e5-9a8b-4a0f-8a1e-759c55918aa7",
"AttrValue3": "60923296-3c06-4a8b-8b9a-c225dbfd7d29",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "bcce05af-eab2-4f26-9f35-1afd9c8969a3",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "f57842c9-383c-4892-9048-b61eae022638",
"ImageID": "bafeb8ca-d9f0-4066-811f-d9a9ca93fad8",
"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": "f57842c9-383c-4892-9048-b61eae022638",
"ImageID": "bafeb8ca-d9f0-4066-811f-d9a9ca93fad8",
"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": "3e01fd24-69c1-408b-9f9c-a1300810dce0",
"ProductId": "207524c6-36b2-4bd9-a399-4950de15e3a9",
"AttrValue1": "ee7134ce-d2de-461e-a0f1-12032dc19cca",
"AttrValue2": "357418e5-9a8b-4a0f-8a1e-759c55918aa7",
"AttrValue3": "60923296-3c06-4a8b-8b9a-c225dbfd7d29",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "bcce05af-eab2-4f26-9f35-1afd9c8969a3",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "f57842c9-383c-4892-9048-b61eae022638",
"ImageID": "bafeb8ca-d9f0-4066-811f-d9a9ca93fad8",
"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": "f57842c9-383c-4892-9048-b61eae022638",
"ImageID": "bafeb8ca-d9f0-4066-811f-d9a9ca93fad8",
"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"
}
]