Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. RESTful API - PUT request (hold request)

    RESTful API - PUT request (hold request)

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description:
    2. Resolution:
    • Article Type: General
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Description:


    Trying to implement the creation of holdings using the RESTful API  the following response is displayed:

    <?xml version = "1.0" encoding = "UTF-8"?><put-rec-hold><create-hold><note type="error">pickup location is not valid</note></create-hold><reply-text>Failed to create request</reply-text><reply-code>0025</reply-code></put-rec-hold>



    The following are the contents of the file for requesting:

    <hold-request-parameters><pickup-location>ABC</pickup-location><last-interest-date>20101231</last-interest-date></hold-request-parameters>


    What is wrong with the request?

    Resolution:


    The problem was fixed by adding "post_xml=" to the input file, as stated on the El Commons RESTful API page:

     

    http://www.exlibrisgroup.org/display/AlephOI/*Introduction+to+Aleph+RESTful+API.

    •  
    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Restarts to make tab_attr_sub_library change take effect
      • RESTful API and local IP address
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. Prod:Aleph
      3. rest API
      4. Type:General
    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