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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 21 18:15:59 CET 2019


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

--- Comment #10 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 85470
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85470&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

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list