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": "a594816d-f762-4640-85bd-6d820ea839cd",
"ProductId": "6172354f-aa15-4add-863d-46c219d0ca12",
"AttrValue1": "51eb9b3b-69b8-45b3-a2e3-ca6e31cff34f",
"AttrValue2": "15b5540f-9cb9-42bf-8558-06a3457002dd",
"AttrValue3": "7ff5c489-25ca-4806-b181-b1aaa5d208d4",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "78405dda-20d3-426f-814f-8c52d0ffb660",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "e3ca26ce-8143-45a3-8d99-96cb063765eb",
"ImageID": "23501436-48f0-4c1d-977c-e51d448c6d57",
"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": "e3ca26ce-8143-45a3-8d99-96cb063765eb",
"ImageID": "23501436-48f0-4c1d-977c-e51d448c6d57",
"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": "a594816d-f762-4640-85bd-6d820ea839cd",
"ProductId": "6172354f-aa15-4add-863d-46c219d0ca12",
"AttrValue1": "51eb9b3b-69b8-45b3-a2e3-ca6e31cff34f",
"AttrValue2": "15b5540f-9cb9-42bf-8558-06a3457002dd",
"AttrValue3": "7ff5c489-25ca-4806-b181-b1aaa5d208d4",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "78405dda-20d3-426f-814f-8c52d0ffb660",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "e3ca26ce-8143-45a3-8d99-96cb063765eb",
"ImageID": "23501436-48f0-4c1d-977c-e51d448c6d57",
"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": "e3ca26ce-8143-45a3-8d99-96cb063765eb",
"ImageID": "23501436-48f0-4c1d-977c-e51d448c6d57",
"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"
}
]