[Koha-bugs] [Bug 24401] REST API: Check-in
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 15 14:17:21 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24401
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #152717|0 |1
is obsolete| |
--- Comment #11 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 154428
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=154428&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.
More information about the Koha-bugs
mailing list