[Koha-bugs] [Bug 22206] Add route to handle holds suspensions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 28 11:44:32 CET 2019


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 84475
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84475&action=edit
Bug 22206: Add routes to suspend/resume holds

This patch introduces:

- POST   /holds/{hold_id}/suspension { "expiration_date": "2019-01-30" }
- DELETE /holds/{hold_id}/suspension

to suspend a hold or resume a suspended hold, respectively.

To test:
- Apply this patches
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list