Bug 13989 - Undocumented Option in ILS-DI LookupPatron
Summary: Undocumented Option in ILS-DI LookupPatron
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: 3.16
Hardware: All All
: P5 - low trivial (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-13 20:41 UTC by Tom Misilo
Modified: 2017-06-14 22:10 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Misilo 2015-04-13 20:41:38 UTC
id_type "userid" is not documented in the Description of the LookupPatron API.
Comment 1 Zeno Tajoli 2016-08-25 10:20:03 UTC
In the description of LookupPatron API now I see from C4/ILSDI/Services.pm:

 273 
 274 =head2 LookupPatron
 275 
 276 Looks up a patron in the ILS by an identifier, and returns the borrowernumber.
 277 
 278 Parameters:
 279 
 280   - id (Required)
 281         an identifier used to look up the patron in Koha
 282   - id_type (Optional)
 283         the type of the identifier, possible values:
 284         - cardnumber
 285         - firstname
 286         - userid
 287         - borrowernumber

cardnumber, firstname, userid, borrowernumber are the values from 
homonym column of borrowers table.
http://schema.koha-community.org/tables/borrowers.html