From: Sean C P. <sea...@ug...> - 2011-07-08 13:18:45
|
Thanks, good thinking. Just tried and got the same error. I'll experiment more. I added the holding institution db_key to cancelHold's cancelDetails. The thing that worries me a bit is the initial UB request is started by talking to the holding institution, not the Patron's home institution. And until the folks there process the hold, it is in a 'pending' state. So I wonder if while it's pending, the home institution doesn't know the request exists (and so can't cancel it). I have a feeling that in the early stages of the transaction, it needs to be cancelled at the holding institution, and the API doesn't appear to support that. Hopefully I'm wrong on that. :) Thanks, Sean From: Osullivan L. [mailto:L.O...@sw...] Sent: Friday, July 08, 2011 5:44 AM To: Sean C Purcell; vuf...@li... Subject: RE: [VuFind-Tech] Canceling UB Requests with Voyager RESTful API Hi Sean, Is the item at a different institution? If so, perhaps you need to add the institution code to the end of the request. http://serverA:port/vxws/patron/12345/circulationActions/requests/holds/BBBB1234567891234|62454?patron_homedb=1%AAAA9876543214321&institution=XXXX If this is the case, we may need to introduce some new code into the cancelHold code... Thanks, Luke From: Sean C Purcell [mailto:sea...@ug...] Sent: 07 July 2011 22:13 To: vuf...@li... Subject: [VuFind-Tech] Canceling UB Requests with Voyager RESTful API Hi All, I've been modifying Luke & Demian's RESTful driver to handle UB requesting. I've got requests working and now I'm trying to get canceling UB requests working and I'm having a bit of trouble. As an example, say I've got a UB request started on a book held at institution B, and I want to cancel that request. It looks like the way the command is structured, I have to send the cancel request to my Home Voyager server (Server A in this example), as it is Patron based. So: http://serverA:port/vxws/patron/12345/circulationActions/requests/holds/BBBB1234567891234|62454?patron_homedb=1%AAAA9876543214321 but I get this error: "Combination of patron and sub-element not valid " which is error code 3, as shown at the very bottom of this Ex Libris Wiki page (requires login): http://www.exlibrisgroup.org/display/VoyagerOI/Patron+Circulation+Actions+--+Requests I know this is rather vague, but does anyone have any ideas? Thanks, Sean |