Antel Merchandiser App API

<back to all web services

GetImage

The following routes are available for this service:
GET/imageReturns the specified image based on the Id.
GET/image/{id}Returns the specified image based on the Id.
GetImage Parameters:
NameParameterData TypeRequiredDescription
IdpathintYes
ImageSizequeryImageSizeNoManually control the server resizing of the image.

Allowable Values

  • Unknown
  • Full
  • Small
  • Medium
  • Large
  • XLarge
Base64querybooleanNoSet to true to return the image in Base64 format.
PlatformquerystringYes
ThumbnailqueryboolNoForce this file to be returned as a thumbnail (small)
ImageSize Enum:
NameValue
Unknown0
Full1
Small2
Medium3
Large4
XLarge5

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /image HTTP/1.1 
Host: returnit-api-dev.happen.zone 
Accept: application/xml