GET Api/ProdImage/GetImageByProductId/{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": "2df8c1dd-c051-4bd7-addb-f099d5d4f9b6",
"ProductId": "3de2bf9a-0360-48bf-a44b-5d0a6272739b",
"AttrValue1": "55b72038-513d-4744-ae86-07518080fbef",
"AttrValue2": "49603a37-1954-447b-87a5-1a638b2032a2",
"AttrValue3": "b91be593-1457-443b-bc01-b303a58b1ae5",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "4816d229-c3ea-49d2-bcd2-59b800d8cf96",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "37543283-f850-4ca3-a7c7-df1962da5961",
"ImageID": "f18035e7-c436-4716-881b-e6b241729262",
"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": "37543283-f850-4ca3-a7c7-df1962da5961",
"ImageID": "f18035e7-c436-4716-881b-e6b241729262",
"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": "2df8c1dd-c051-4bd7-addb-f099d5d4f9b6",
"ProductId": "3de2bf9a-0360-48bf-a44b-5d0a6272739b",
"AttrValue1": "55b72038-513d-4744-ae86-07518080fbef",
"AttrValue2": "49603a37-1954-447b-87a5-1a638b2032a2",
"AttrValue3": "b91be593-1457-443b-bc01-b303a58b1ae5",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "4816d229-c3ea-49d2-bcd2-59b800d8cf96",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "37543283-f850-4ca3-a7c7-df1962da5961",
"ImageID": "f18035e7-c436-4716-881b-e6b241729262",
"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": "37543283-f850-4ca3-a7c7-df1962da5961",
"ImageID": "f18035e7-c436-4716-881b-e6b241729262",
"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"
}
]