Bug 13989

Summary: Undocumented Option in ILS-DI LookupPatron
Product: Koha Reporter: Tom Misilo <tmisilo>
Component: Web servicesAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: ztajoli
Version: 3.16   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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