Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Knowledge Articles
    4. Patron API call returns localhost

    Patron API call returns localhost

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Problem Symptoms
    2. Cause
    3. Resolution
    • Product: Voyager
    • Product Version: 8.1.2

    Problem Symptoms

    Patron RESTful API call to vxws: http://<IP>:<port>/vxws/patron/<patron_id>?patron_homedb=1@<db_key>

    returns response with localhost instead of server IP

    <response>
    <reply-text>ok</reply-text>
    <reply-code>0</reply-code>
    <patron>
    <info type="Circulation Actions" href="http://127.0.0.1:7014/vxws/patron/<patron_id>/circulationActions?patron_homedb=1@<db_key>"/>
    <info type="Patron Information" href="http://127.0.0.1:7014/vxws/patron/<patron_id>/patronInformation?patron_homedb=1@<db_key>"/>
    <info type="Records" href="http://127.0.0.1:7014/vxws/patron/<patron_id>/records?patron_homedb=1@<db_key>"/>
    <institution id="LOCAL">
    <instName>Columbia University Libraries</instName>
    </institution>
    </patron>
    </response>
    

    Cause

    Patron API uses VXWS setting for LOCAL database in System Administration.

    Resolution

    1. Navigate to VXWS setting: System Administration > Search > Database Definitions > LOCAL > Edit > Definitions tab > VXWS.
    2. Edit Addr: field to hold the IP or hostname you want vxws to return for API calls.
    3. Click Save.

    Please note that Voyager Support has a very limited ability to assist with the Voyager APIs.  We can help identify the APIs that might be useful to you, and provide basic troubleshooting aid.  Voyager-L and Developer Network  are useful resources for obtaining additional assistance.


    • Article last edited: 08-Oct-2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • P scripts: check for PIDs finds false matches
      • Patron blocks not displaying when no Patron Rules
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Voyager
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved