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": "7b4eced3-ec02-43ba-9cdf-daa0424f01de",
"ProductId": "80af2082-ea22-4f7d-b1b3-bd58ac3533b2",
"AttrValue1": "fe852f2f-b6cd-4030-a914-430056c6a775",
"AttrValue2": "9a8e5f79-30c5-4f02-ab3f-1d8f7fb219d9",
"AttrValue3": "1a436d41-e778-41ae-9542-b1ea187719a0",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "d8ead3f4-a089-4d91-8787-16ac11462905",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "2b79e79f-7e89-41a4-b5f6-6af89e40ee6c",
"ImageID": "bea33217-ce51-4e3b-85ca-c107a7c29fdd",
"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": "2b79e79f-7e89-41a4-b5f6-6af89e40ee6c",
"ImageID": "bea33217-ce51-4e3b-85ca-c107a7c29fdd",
"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": "7b4eced3-ec02-43ba-9cdf-daa0424f01de",
"ProductId": "80af2082-ea22-4f7d-b1b3-bd58ac3533b2",
"AttrValue1": "fe852f2f-b6cd-4030-a914-430056c6a775",
"AttrValue2": "9a8e5f79-30c5-4f02-ab3f-1d8f7fb219d9",
"AttrValue3": "1a436d41-e778-41ae-9542-b1ea187719a0",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "d8ead3f4-a089-4d91-8787-16ac11462905",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "2b79e79f-7e89-41a4-b5f6-6af89e40ee6c",
"ImageID": "bea33217-ce51-4e3b-85ca-c107a7c29fdd",
"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": "2b79e79f-7e89-41a4-b5f6-6af89e40ee6c",
"ImageID": "bea33217-ce51-4e3b-85ca-c107a7c29fdd",
"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"
}
]