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": "d1e3e283-f89d-4edf-ae6e-9a8ae07f5dd2",
"ProductId": "9d843a08-0f3c-49a5-be52-59ca71d6ac5b",
"AttrValue1": "48e74009-da10-4b3d-bff1-f4ffca64d407",
"AttrValue2": "eb907565-a999-42fa-8059-7dc1a1ca1b85",
"AttrValue3": "162eebf4-eba2-470f-8cd7-e9b664fb1f1f",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "1ae05dba-27e0-44c7-90c8-6db16ab86115",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "adc0913d-031a-4b86-9de1-712a7c548ccb",
"ImageID": "51728ca9-1be5-41cb-9f66-bb92dfeab953",
"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": "adc0913d-031a-4b86-9de1-712a7c548ccb",
"ImageID": "51728ca9-1be5-41cb-9f66-bb92dfeab953",
"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": "d1e3e283-f89d-4edf-ae6e-9a8ae07f5dd2",
"ProductId": "9d843a08-0f3c-49a5-be52-59ca71d6ac5b",
"AttrValue1": "48e74009-da10-4b3d-bff1-f4ffca64d407",
"AttrValue2": "eb907565-a999-42fa-8059-7dc1a1ca1b85",
"AttrValue3": "162eebf4-eba2-470f-8cd7-e9b664fb1f1f",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "1ae05dba-27e0-44c7-90c8-6db16ab86115",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "adc0913d-031a-4b86-9de1-712a7c548ccb",
"ImageID": "51728ca9-1be5-41cb-9f66-bb92dfeab953",
"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": "adc0913d-031a-4b86-9de1-712a7c548ccb",
"ImageID": "51728ca9-1be5-41cb-9f66-bb92dfeab953",
"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"
}
]