GET AdminApi/ProdImage/GetImageBySku?prodId={prodId}&attr1={attr1}&attr2={attr2}&attr3={attr3}&imageType={imageType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
prodId

globally unique identifier

Required

attr1

globally unique identifier

Required

attr2

globally unique identifier

Required

attr3

globally unique identifier

Required

imageType

ImageType

Required

Body Parameters

None.

Response Information

Resource Description

ProductImageView
NameDescriptionTypeAdditional 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": "4db2fc81-fafe-478a-a73b-c6f0f30f2f28",
  "ProductId": "1971577a-e288-427a-962c-44647e33277e",
  "AttrValue1": "b12a6b84-cca2-4b1a-bdbd-733630f7aba0",
  "AttrValue2": "03b3ba7c-8594-4683-a3f3-5543edbad0b7",
  "AttrValue3": "1f57ffc1-63e4-471f-b5a2-0eb8db32b9b3",
  "AttrValues1Name": "sample string 6",
  "AttrValues2Name": "sample string 7",
  "AttrValues3Name": "sample string 8",
  "Sku": "22551d63-e7be-4588-83b0-4923bc627dbb",
  "Type": 0,
  "Image": "sample string 10",
  "Items": [
    {
      "Id": "d1607105-291b-4ff6-a7d5-885ba481b5d7",
      "ImageID": "79c4f055-a3e4-42f3-938e-3ce836135377",
      "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": "d1607105-291b-4ff6-a7d5-885ba481b5d7",
      "ImageID": "79c4f055-a3e4-42f3-938e-3ce836135377",
      "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"
}