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": "3affe04e-bf9b-4be0-8453-168060376ec0",
"ProductId": "69ced575-934b-468e-a226-45b32281a44f",
"AttrValue1": "ebfd24ba-d5f8-4fde-bf32-0d033649bee9",
"AttrValue2": "049279f8-dbc4-4195-bb00-c3eb78f94f12",
"AttrValue3": "cbcd00e4-c81f-40c9-b5f4-656d14381041",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "12147c56-62eb-4e2b-b009-efd398f60d68",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "332075f1-af5e-4b99-9971-21d69239a7b7",
"ImageID": "330df16a-72a3-4f98-a8d7-9547d1d8240f",
"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": "332075f1-af5e-4b99-9971-21d69239a7b7",
"ImageID": "330df16a-72a3-4f98-a8d7-9547d1d8240f",
"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": "3affe04e-bf9b-4be0-8453-168060376ec0",
"ProductId": "69ced575-934b-468e-a226-45b32281a44f",
"AttrValue1": "ebfd24ba-d5f8-4fde-bf32-0d033649bee9",
"AttrValue2": "049279f8-dbc4-4195-bb00-c3eb78f94f12",
"AttrValue3": "cbcd00e4-c81f-40c9-b5f4-656d14381041",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "12147c56-62eb-4e2b-b009-efd398f60d68",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "332075f1-af5e-4b99-9971-21d69239a7b7",
"ImageID": "330df16a-72a3-4f98-a8d7-9547d1d8240f",
"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": "332075f1-af5e-4b99-9971-21d69239a7b7",
"ImageID": "330df16a-72a3-4f98-a8d7-9547d1d8240f",
"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"
}
]