GET api/ImageLinks/AllNew

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EskimoClassLibraries.clsImageLink
NameDescriptionTypeAdditional information
WebImageID

The AlphaNumeric Web ID of the Image Link

string

None.

EskimoLinkID

The alphanumeric Eskimo ID of the image link. This is made up of the Object ID (below) and the Eskimo Link ID

string

Required

WebImageLinkID

The Alphanumeric Web ID of the image link

string

None.

sku_code

The SKU (if the ImageLinkType is 100)

string

None.

LastModified

The date the link was last modified

date

None.

EskimoImageID

The numeric Eskimo ID of the image

integer

Required

ObjectID

The Eskimo ID of the object this links so. For instance, if it is a SKU image, it will be the sku_code from the SKUs controller; if it is a Category image type, then it will be the Eskimo_Category_ID from the Categories controller etc.

string

Required

ImageLinkType

EskimoClassLibraries.clsImageLinkBase+ImageLinkTypeEnum

Required

Index

If a product has more than one image, it will have three entries in the images controller, the first (main) one will have an Index of 1 and the subsequent ones will be 2 and 3.

integer

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "WebImageID": "sample string 1",
    "EskimoLinkID": "sample string 2",
    "WebImageLinkID": "sample string 3",
    "sku_code": "sample string 4",
    "LastModified": "2024-05-03T07:02:49.2697779+01:00",
    "EskimoImageID": 6,
    "ObjectID": "sample string 7",
    "ImageLinkType": 100,
    "Index": 8
  },
  {
    "WebImageID": "sample string 1",
    "EskimoLinkID": "sample string 2",
    "WebImageLinkID": "sample string 3",
    "sku_code": "sample string 4",
    "LastModified": "2024-05-03T07:02:49.2697779+01:00",
    "EskimoImageID": 6,
    "ObjectID": "sample string 7",
    "ImageLinkType": 100,
    "Index": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfclsImageLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <clsImageLink>
    <EskimoImageID>6</EskimoImageID>
    <ImageLinkType>SKU</ImageLinkType>
    <Index>8</Index>
    <ObjectID>sample string 7</ObjectID>
    <EskimoLinkID>sample string 2</EskimoLinkID>
    <LastModified>2024-05-03T07:02:49.2697779+01:00</LastModified>
    <WebImageID>sample string 1</WebImageID>
    <WebImageLinkID>sample string 3</WebImageLinkID>
    <sku_code>sample string 4</sku_code>
  </clsImageLink>
  <clsImageLink>
    <EskimoImageID>6</EskimoImageID>
    <ImageLinkType>SKU</ImageLinkType>
    <Index>8</Index>
    <ObjectID>sample string 7</ObjectID>
    <EskimoLinkID>sample string 2</EskimoLinkID>
    <LastModified>2024-05-03T07:02:49.2697779+01:00</LastModified>
    <WebImageID>sample string 1</WebImageID>
    <WebImageLinkID>sample string 3</WebImageLinkID>
    <sku_code>sample string 4</sku_code>
  </clsImageLink>
</ArrayOfclsImageLink>