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": "e2700c1a-9906-423f-955d-c3bab1a66bc2",
"ProductId": "366c2ad8-2cce-4a90-b754-001b1ac726d7",
"AttrValue1": "2ab65281-917b-4922-973e-543013f2f610",
"AttrValue2": "85be8f62-58a6-48df-8db0-b2180192c144",
"AttrValue3": "55f3ed77-6a7b-4c62-b2ad-cda3c2a56975",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "424ba0fc-c859-49c9-8e73-6d5804ed1d51",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "24192c24-6859-40b8-bb4b-a5e99193b92f",
"ImageID": "c0a04341-db37-4acf-86e9-828eaae092ee",
"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": "24192c24-6859-40b8-bb4b-a5e99193b92f",
"ImageID": "c0a04341-db37-4acf-86e9-828eaae092ee",
"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": "e2700c1a-9906-423f-955d-c3bab1a66bc2",
"ProductId": "366c2ad8-2cce-4a90-b754-001b1ac726d7",
"AttrValue1": "2ab65281-917b-4922-973e-543013f2f610",
"AttrValue2": "85be8f62-58a6-48df-8db0-b2180192c144",
"AttrValue3": "55f3ed77-6a7b-4c62-b2ad-cda3c2a56975",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "424ba0fc-c859-49c9-8e73-6d5804ed1d51",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "24192c24-6859-40b8-bb4b-a5e99193b92f",
"ImageID": "c0a04341-db37-4acf-86e9-828eaae092ee",
"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": "24192c24-6859-40b8-bb4b-a5e99193b92f",
"ImageID": "c0a04341-db37-4acf-86e9-828eaae092ee",
"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"
}
]