https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24401

--- Comment #7 from Danyon Sewell <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to