Cover Images Configuration

Get Cover Images URL Templates

GET /api/.../sysadmin/coverimagesconfig/{id}

Returns a set of secure and non-secure URL templates to be used to display bookjacket cover images from various third party vendors.

Request Information

Parameters
Name Type Required Description
id Integer *No Organization ID - If not provided, the logged in branch ID will be used.

Response Information

Valid values for VendorID are:

  • 1 - Baker and Taylor
  • 2 - Syndetics
  • 3 - ChiliFresh

The URL templates contain placeholders for {isbn}, {upc}, {issn}, and {oclc}. The placeholders should be replaced with the corresponding field data, or if there is no value for a specific placeholder, the placeholder should be removed.

Example: http://content.chilifresh.com/?size=S&isbn={isbn}&upc={upc}&issn={issn} might be converted to something like: http://content.chilifresh.com/?size=S&isbn=783925674&upc=&issn=

** NOTE: For Baker and Taylor there is a placeholder named {isbn-or-upc}. For this case, the placeholder should be replaced by either an ISBN or a UPC code, with ISBN having preference.

Example
application/json, text/json
{
    "OrganizationID": 85,
    "IsEnabled": true,
    "VendorID": 3,
    "VendorName": "ChiliFresh",
    "SmallCoverImageURL": "http://content.chilifresh.com/?size=S&isbn={isbn}&upc={upc}&issn={issn}",
    "MediumCoverImageURL": "http://content.chilifresh.com/?size=M&isbn={isbn}&upc={upc}&issn={issn}",
    "LargeCoverImageURL": "http://content.chilifresh.com/?size=L&isbn={isbn}&upc={upc}&issn={issn}",
    "SmallCoverImageSecureURL": "https://content.chilifresh.com/?size=S&isbn={isbn}&upc={upc}&issn={issn}",
    "MediumCoverImageSecureURL": "https://content.chilifresh.com/?size=M&isbn={isbn}&upc={upc}&issn={issn}",
    "LargeCoverImageSecureURL": "https://content.chilifresh.com/?size=L&isbn={isbn}&upc={upc}&issn={issn}"
}

HTTP Response Codes

Code Description
200 OK. Success