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": "105b881e-1026-4787-8f71-09847804fc42",
"ProductId": "504a1a85-0e6d-4cec-acb5-280529cd15eb",
"AttrValue1": "822e73ed-c313-4171-bb77-1ce6c5ef5ad7",
"AttrValue2": "797ae876-08ae-4782-8242-9c6d2a0e9028",
"AttrValue3": "989fbe48-2d5b-4ba2-b7f3-8b65e6ce12a3",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "9cf84d13-ccaa-417a-bb4e-2198217c9042",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "594dc823-4cd8-43e6-8c67-7f7533f0d6d6",
"ImageID": "33fd70cf-6a7c-49e4-9345-b7a7054a8d29",
"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": "594dc823-4cd8-43e6-8c67-7f7533f0d6d6",
"ImageID": "33fd70cf-6a7c-49e4-9345-b7a7054a8d29",
"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": "105b881e-1026-4787-8f71-09847804fc42",
"ProductId": "504a1a85-0e6d-4cec-acb5-280529cd15eb",
"AttrValue1": "822e73ed-c313-4171-bb77-1ce6c5ef5ad7",
"AttrValue2": "797ae876-08ae-4782-8242-9c6d2a0e9028",
"AttrValue3": "989fbe48-2d5b-4ba2-b7f3-8b65e6ce12a3",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "9cf84d13-ccaa-417a-bb4e-2198217c9042",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "594dc823-4cd8-43e6-8c67-7f7533f0d6d6",
"ImageID": "33fd70cf-6a7c-49e4-9345-b7a7054a8d29",
"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": "594dc823-4cd8-43e6-8c67-7f7533f0d6d6",
"ImageID": "33fd70cf-6a7c-49e4-9345-b7a7054a8d29",
"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"
}
]