Bug 18191

Summary: Add endpoint to list valid pickup locations
Product: Koha Reporter: Lari Taskula <lari.taskula>
Component: REST APIAssignee: Tomás Cohen Arazi <tomascohen>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P5 - low CC: arthur.suzuki, jonathan.druart, magnus, tomascohen
Version: Main   
Hardware: All   
OS: All   
URL: https://wiki.koha-community.org/wiki/REST_api_RFCs
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23449
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23015
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 16497    
Bug Blocks:    

Description Lari Taskula 2017-03-01 15:12:27 UTC
Bug 7534, Bug 7614 and Bug 18072 let us limit the choices of pickup location when placing a hold. Add a REST API endpoint that uses this functionality.

GET /biblios/{biblionumber}/pickuplocations
GET /item/{itemnumber}/pickuplocations

Returns an array of library-objects that represent a set of libraries that can be used as pickup locations for hold of the given biblio/item.
Comment 1 Magnus Enger 2020-03-10 12:58:56 UTC
Duplicate of 23449?
Comment 2 Arthur Suzuki 2020-03-10 13:37:36 UTC
I've done something similar for ILS-DI in bug 23015, if that can be of any help :)
Glad to see this will exist in Rest API!
Comment 3 Tomás Cohen Arazi 2021-10-18 17:04:12 UTC
We added similar routes on bug 27931 and bug 27932.