From: Open-ils-dev [mailto:open-ils-dev-boun...@list.georgialibraries.org] On
Behalf Of Ken Cox
Sent: Wednesday, January 20, 2016 8:22 PM
To: Evergreen Development Discussion List
<open-ils-dev@list.georgialibraries.org>
Subject: Re: [OPEN-ILS-DEV] Library card number via OSRF gateway?
Tha
I login to the android app (using OSRF via the gateway) using my username.
How can I get my library card number? Is there a PCRUD interface for
that? Having that number would make it easier for me to login to axis360
after I have found an e-book.
Thanks,
--
-Ken
IIRC, the user object returned by the open-ils.auth.session.retrieve
call fleshes the card and cards fields.
--
Jason Stephenson
Assistant Director for Technology Services
Merrimack Valley Library Consortium
4 High ST, Suite 175
North Andover, MA 01845
Phone: 978-557-5891
Email:
Hi Ken,
There are various ways to do this. PCRUD is one of them.
If you already have the user object with user id, you can search for the
card by user id:
open-ils.pcrud.search.ac $authtoken, {"usr":$user_id}
This returns an actor.card (ac) object with a barcode field.
If you don't have the