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": "a63bf5fd-beab-4efa-af15-56e3b6f27aac",
"ProductId": "c1ccb856-96e0-4b4b-84f6-1e24df4de6d2",
"AttrValue1": "4b7fd41d-46fc-4e23-96b0-a592fba4eecc",
"AttrValue2": "16baada4-ad0f-4f64-b8f2-3b78f2c566fc",
"AttrValue3": "f4e07400-a540-4670-bbd7-77fe93d6cc75",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "576a725c-cfdb-4d8c-8b70-06428fbcaba6",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "1d863151-a54d-474f-a06f-75c38f12c7af",
"ImageID": "02f39b6b-7b6f-4d25-9265-b2a81eb6ac64",
"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": "1d863151-a54d-474f-a06f-75c38f12c7af",
"ImageID": "02f39b6b-7b6f-4d25-9265-b2a81eb6ac64",
"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": "a63bf5fd-beab-4efa-af15-56e3b6f27aac",
"ProductId": "c1ccb856-96e0-4b4b-84f6-1e24df4de6d2",
"AttrValue1": "4b7fd41d-46fc-4e23-96b0-a592fba4eecc",
"AttrValue2": "16baada4-ad0f-4f64-b8f2-3b78f2c566fc",
"AttrValue3": "f4e07400-a540-4670-bbd7-77fe93d6cc75",
"AttrValues1Name": "sample string 6",
"AttrValues2Name": "sample string 7",
"AttrValues3Name": "sample string 8",
"Sku": "576a725c-cfdb-4d8c-8b70-06428fbcaba6",
"Type": 0,
"Image": "sample string 10",
"Items": [
{
"Id": "1d863151-a54d-474f-a06f-75c38f12c7af",
"ImageID": "02f39b6b-7b6f-4d25-9265-b2a81eb6ac64",
"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": "1d863151-a54d-474f-a06f-75c38f12c7af",
"ImageID": "02f39b6b-7b6f-4d25-9265-b2a81eb6ac64",
"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"
}
]