[Bug 22797] New: ILS-DI: GetRecords doesn't work with documented parameter id_type
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22797 Bug ID: 22797 Summary: ILS-DI: GetRecords doesn't work with documented parameter id_type Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Web services Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: alex.arnaud@biblibre.com, julian.maurice@biblibre.com Target Milestone: --- I've tried GetRecords from ILS-DI and noticed that the id_type parameter listed doesn't work, although it's listed in documentation. <GetRecords><code>IllegalParameter</code><message>The parameter id_type is illegal.</message></GetRecords> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22797 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josef.moravec@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22797 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Works for me: /cgi-bin/koha/ilsdi.pl?service=LookupPatron&id=42&id_type=cardnumber returns <LookupPatron><id>51</id></LookupPatron> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22797 --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- And /cgi-bin/koha/ilsdi.pl?service=GetAvailability&id=1+2+99999&id_type=item returns <dlf:collection xsi:schemaLocation="http://diglib.org/ilsdi/1.1 http://diglib.org/architectures/ilsdi/schemas/1.1/dlfexpanded.xsd"><dlf:record><dlf:bibliographic id="1"/><dlf:items><dlf:item id="1"><dlf:simpleavailability><dlf:identifier>1</dlf:identifier><dlf:availabilitystatus>available</dlf:availabilitystatus><dlf:location>Centerville</dlf:location></dlf:simpleavailability></dlf:item></dlf:items></dlf:record><dlf:record><dlf:bibliographic id="345"/><dlf:items><dlf:item id="2"><dlf:simpleavailability><dlf:identifier>2</dlf:identifier><dlf:availabilitystatus>available</dlf:availabilitystatus><dlf:location>Centerville</dlf:location></dlf:simpleavailability></dlf:item></dlf:items></dlf:record><dlf:record><dlf:bibliographic id="99999"/><dlf:items><dlf:item id="99999"><dlf:simpleavailability><dlf:identifier>99999</dlf:identifier><dlf:availabilitystatus>unknown</dlf:availabilitystatus><dlf:availabilitymsg>Error: could not retrieve availability for this ID</dlf:availabilitymsg></dlf:simpleavailability></dlf:item></dlf:items></dlf:record></dlf:collection> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22797 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Scratch the last 2 comments, it was not GetRecords. It is in the POD since the first commit but has never been implemented. So either we implement it, or we remove it from POD and doc :) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22797 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Academy --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I'd vote for removing it from the documentation as a first simple step. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org