[Koha-bugs] [Bug 24401] REST API: Check-in
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 27 12:10:36 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 #151184|0 |1
is obsolete| |
--- Comment #9 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 152717
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152717&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