Bug 18191 - REST API: Add endpoint to list valid pickup locations
Summary: REST API: Add endpoint to list valid pickup locations
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST api (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Lari Taskula
QA Contact:
Depends on: 7614 16497 16825 17371
  Show dependency treegraph
Reported: 2017-03-01 15:12 UTC by Lari Taskula
Modified: 2017-09-25 18:01 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Bot Control: ---
When did the bot last check this:
Who signed the patch off:
Text to go in the release notes:


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.