Yeah, the documentation is wrong, if I recall correctly. Hurray for opening a bug report! David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595
-----Original Message----- From: koha-devel-bounces@lists.koha-community.org [mailto:koha-devel- bounces@lists.koha-community.org] On Behalf Of SUZUKI Arthur Sent: Monday, 19 September 2016 6:53 PM To: Julian Maurice <julian.maurice@biblibre.com>; koha-devel@lists.koha- community.org Subject: Re: [Koha-devel] ILSDI - GetAvailability
Hello Julian,
Thanks for your reply!
I've opened a bug report here : https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17317
Arthur
Le 16/09/2016 à 11:08, Julian Maurice a écrit :
Hello Arthur,
You're not doing anything wrong. The GetAvailability implementation in Koha works only when id_type=item. And I believe the parameter 'return_type' is not used at all.
Please open a bug report on https://bugs.koha-community.org/
On 16/09/2016 10:45, SUZUKI Arthur wrote:
Hello people, First of all I wishes everyone have spent a nice summer!
At my work we're trying to use ILSDI to get availability of all items for a biblionumber.
Thanks to Julian we were able to use the GetAvailability method to get availability for one item at a time.
https://catalogue.univ-lyon3.fr/cgi-bin/koha/ilsdi.pl?service=GetAvai lability&id=510054&id_type=item
According to the documentation it is possible to query this script with biblionumber rather than itemnumber to get availability of all items in one shot.
https://catalogue.univ-lyon3.fr/cgi-bin/koha/ilsdi.pl?service=GetAvai lability&id=334726&id_type=bib&return_type=item
The late query is then supposed to work but it doesn't. Am I doing something wrong?
Thanks in advance for your wisdom and enlightenment! Best regards,
Arthur Suzuki University Jean Moulin Lyon 3
-- Arthur SUZUKI Service informatique des bibliothèques BIBLIOTHÈQUES UNIVERSITAIRES Université Jean Moulin Lyon 3 6 Cours Albert Thomas - B.P. 8242 69355 Lyon Cedex 08 ligne directe : +33 (0)4 78 78 79 16 | http://bu.univ-lyon3.fr L'Université Jean Moulin est membre fondateur de l'Université de Lyon
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha- community.org/ bugs : http://bugs.koha-community.org/