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": "978ab3c4-feaf-4468-84b6-9cf3dbec4ffd",
"ProductId": "2715c7e8-d5df-434a-a042-cb132f619e58",
"AttrValue1": "0abaabd4-5603-412b-8f12-0777e6b55f2b",
"AttrValue2": "a7ff1363-ec4e-453d-8352-13e101360e25",
"AttrValue3": "b8708883-4003-4820-8408-b9e67b999ff5",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "c2db9adf-1721-419d-9a89-25c0eb4e7fdf",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "20292983-d96d-409d-a87f-5a8c33de2cad",
"ImageID": "498cd6a9-a255-440b-8c29-b5766b0698d5",
"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": "20292983-d96d-409d-a87f-5a8c33de2cad",
"ImageID": "498cd6a9-a255-440b-8c29-b5766b0698d5",
"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": "978ab3c4-feaf-4468-84b6-9cf3dbec4ffd",
"ProductId": "2715c7e8-d5df-434a-a042-cb132f619e58",
"AttrValue1": "0abaabd4-5603-412b-8f12-0777e6b55f2b",
"AttrValue2": "a7ff1363-ec4e-453d-8352-13e101360e25",
"AttrValue3": "b8708883-4003-4820-8408-b9e67b999ff5",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "c2db9adf-1721-419d-9a89-25c0eb4e7fdf",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "20292983-d96d-409d-a87f-5a8c33de2cad",
"ImageID": "498cd6a9-a255-440b-8c29-b5766b0698d5",
"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": "20292983-d96d-409d-a87f-5a8c33de2cad",
"ImageID": "498cd6a9-a255-440b-8c29-b5766b0698d5",
"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"
}
]