Summary: | Add API route to check hold capabilities | ||
---|---|---|---|
Product: | Koha | Reporter: | Julian Maurice <julian.maurice> |
Component: | Web services | Assignee: | Julian Maurice <julian.maurice> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | chris, lari.taskula, mail, ztajoli |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16826 | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 13903 | ||
Bug Blocks: | 16652 | ||
Attachments: | Bug 13927: Add API route to check hold capabilities |
Description
Julian Maurice
2015-03-30 12:40:54 UTC
Created attachment 37365 [details] [review] Bug 13927: Add API route to check hold capabilities OPTIONS /borrowers/{borrowernumber}/reserves Request body should contain biblionumber or itemnumber, and response tells us if reserve is allowed, and which pickup locations are available Well, the bug 13903 changed in the meanwhile. How about changing the route to: GET /holds?borrowernumber=X&biblionumber=X GET /holds?borrowernumber=X&itemnumber=X Or even better to do it same way as is bug 16826: GET /availability/items?borrowernumber=&itemnumber=123 GET /availability/items?borrowernumber=&biblionumber=123 Could be quite good if the output was the same as in mentioned bug |