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": "f3c56e0c-bb4d-4dd8-8fe7-8e2fe6cc2956",
"ProductId": "24b68c97-ab8e-4031-8a11-4816a9badd33",
"AttrValue1": "2355aca8-fd84-4a0c-b65a-5874d44ac075",
"AttrValue2": "b45c5708-938d-4f0a-b589-dbd3e8793e47",
"AttrValue3": "86418c09-2920-4849-bf63-fa8c2994a9ba",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "4e8bc051-8d50-4fd7-a40b-1df1528fbe1d",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "4a067448-8478-4f8f-8b2c-1df12bef5e64",
"ImageID": "85fe3708-2549-40d8-ba9e-18667b30a383",
"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": "4a067448-8478-4f8f-8b2c-1df12bef5e64",
"ImageID": "85fe3708-2549-40d8-ba9e-18667b30a383",
"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": "f3c56e0c-bb4d-4dd8-8fe7-8e2fe6cc2956",
"ProductId": "24b68c97-ab8e-4031-8a11-4816a9badd33",
"AttrValue1": "2355aca8-fd84-4a0c-b65a-5874d44ac075",
"AttrValue2": "b45c5708-938d-4f0a-b589-dbd3e8793e47",
"AttrValue3": "86418c09-2920-4849-bf63-fa8c2994a9ba",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "4e8bc051-8d50-4fd7-a40b-1df1528fbe1d",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "4a067448-8478-4f8f-8b2c-1df12bef5e64",
"ImageID": "85fe3708-2549-40d8-ba9e-18667b30a383",
"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": "4a067448-8478-4f8f-8b2c-1df12bef5e64",
"ImageID": "85fe3708-2549-40d8-ba9e-18667b30a383",
"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"
}
]