Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    RESTful API - PUT request (hold request)

    • 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
    • Was this article helpful?