Koha-clms/Koha/REST/V1/Patrons
Tomas Cohen Arazi f906e1bb65 Bug 33573: Add public endpoint for cancelling holds
This patch introduces a public endpoint for cancelling holds.
Cancellation requests are generated when the hold is waiting and
configuration allows requesting cancellation, as the OPAC does right
now.

Tests cover all the use cases.

To test:
1. Apply this patches
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/patrons_holds.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 252753f84f)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit ef5422bbca)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-07-18 14:44:56 +00:00
..
Password Bug 29926: Add pasword expiration route for API 2022-05-06 10:33:09 -10:00
Account.pm Bug 33176: Enforce RequirePaymentType with API 2023-07-18 10:08:29 +00:00
Attributes.pm
…
Holds.pm Bug 33573: Add public endpoint for cancelling holds 2023-07-18 14:44:56 +00:00
Password.pm Bug 27342: Remove dbh from C4::Auth 2022-08-16 10:45:41 -03:00