[Koha-bugs] [Bug 24401] REST API: Check-in
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 15 08:21:19 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24401
--- Comment #7 from Danyon Sewell <danyonsewell at catalyst.net.nz> ---
Created attachment 151184
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151184&action=edit
Bug 24401: REST API: Check-in
Updating files to include API endpoints for check-ins
Test plan:
1) Apply bug 23336 as there are dependencies in there required for this to
work
2) Apply this patch
3) Run unit tests in t/db_dependent/api/v1/checkouts.t
4) Make POST request to http://yourlibrary/api/v1/checkouts with request body
containing 'item_id' & 'library_id' properties.
- Observe returned data and HTTP code
- 201 for item checked in
- 403 for check in not allowed
- 409 for Item not found
- 400 for item not checked out
Sponsored-by: Auckland University of Technology
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list