Bug 18191 - Add endpoint to list valid pickup locations
Summary: Add endpoint to list valid pickup locations
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Tomás Cohen Arazi (tcohen)
QA Contact:
URL: https://wiki.koha-community.org/wiki/...
Keywords:
Depends on: 16497
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-01 15:12 UTC by Lari Taskula
Modified: 2022-06-06 20:24 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 (tcohen) 2021-10-18 17:04:12 UTC
We added similar routes on bug 27931 and bug 27932.