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": "2132edeb-c068-445a-9e8d-f11b4711c4c8",
"ProductId": "25744ceb-bdad-4ac4-a448-6c95095014c7",
"AttrValue1": "aed76387-36da-4988-ad2c-d6a8f1ebe794",
"AttrValue2": "e12fe519-2da8-4ea0-819d-3063b8d4ade8",
"AttrValue3": "154ebb0d-5df1-4396-a2de-a4c35ddd2431",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "1ddaa16b-2da8-495b-810f-5ea2f28e2209",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "3d7c22b5-c14a-4323-863c-ef7e01d7cb97",
"ImageID": "9c8717bc-d6de-4ae5-94be-4d534df67372",
"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": "3d7c22b5-c14a-4323-863c-ef7e01d7cb97",
"ImageID": "9c8717bc-d6de-4ae5-94be-4d534df67372",
"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": "2132edeb-c068-445a-9e8d-f11b4711c4c8",
"ProductId": "25744ceb-bdad-4ac4-a448-6c95095014c7",
"AttrValue1": "aed76387-36da-4988-ad2c-d6a8f1ebe794",
"AttrValue2": "e12fe519-2da8-4ea0-819d-3063b8d4ade8",
"AttrValue3": "154ebb0d-5df1-4396-a2de-a4c35ddd2431",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "1ddaa16b-2da8-495b-810f-5ea2f28e2209",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "3d7c22b5-c14a-4323-863c-ef7e01d7cb97",
"ImageID": "9c8717bc-d6de-4ae5-94be-4d534df67372",
"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": "3d7c22b5-c14a-4323-863c-ef7e01d7cb97",
"ImageID": "9c8717bc-d6de-4ae5-94be-4d534df67372",
"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"
}
]