Koha-clms/api/v1/swagger/definitions
Agustin Moyano a902efb83b
Bug 19618: Add api endpoint for club holds
This patch adds an endpoint in thi api in /api/v1/clubs/{club_id}/holds whith the verb POST that maps to Koha::REST::V1::Clubs::Holds#add controller.
Classes for club_holds and club_holds_to_patron_holds new tables where also added.

To test:
1) Reach SUCCESS.3 test point of previous patch with club that has no enrollments
2) Click on "Place Hold"
SUCCESS => an alert should appear that you cannot place hold on a club without patrons
3) Reach SUCCESS.3 test point of previous patch with club that has enrollments
4) Click on "Place Hold"
SUCCESS => holds priority list should appear with holds for every patron in club
5) Repeat steps 3 and 4.
SUCCESS => new holds should appear in different order
6) Sign off

Sponsored-by: Southeast Kansas Library - SEKLS
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-01 08:05:58 +01:00
..
account_line.json Bug 21786: (QA follow-up) library_id can be null 2019-01-08 15:50:51 +00:00
allows_renewal.json Bug 17003: (follow-up) Update definitions according to voted RFC 2019-07-01 16:10:15 +01:00
checkout.json Bug 13895: Adapt naming according to voted RFC 2019-03-28 19:38:41 +00:00
checkouts.json Bug 13895: Add API routes for checkouts retrieval and renewal 2019-03-28 19:38:41 +00:00
city.json Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
club_hold.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_hold_patron_hold.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_hold_patron_holds.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_holds.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
error.json Bug 16699: Move Swagger-related files to api/v1/swagger 2016-08-26 12:08:52 +00:00
fund.json Bug 19661: Add and change properties and parameters to conform to the funds RFC. 2019-03-22 19:40:37 +00:00
hold.json Bug 9834: (QA follow-up) API Corrections 2019-06-20 17:12:12 +01:00
holds.json Bug 16699: Move Swagger-related files to api/v1/swagger 2016-08-26 12:08:52 +00:00
item.json Bug 16825: Add API route for getting an item 2019-09-12 16:41:09 +01:00
library.json Bug 16497: (follow-up) Adapt to existing guidelines and RFC 2019-02-19 13:52:14 +00:00
patron.json Bug 20691: (QA follow-up) API-related fixes 2019-09-11 08:54:03 +01:00
patron_account_credit.json Bug 21786: (QA follow-up) library_id can be null 2019-01-08 15:50:51 +00:00
patron_balance.json Bug 20942: Split debit and credit lines 2018-07-18 16:49:27 +00:00
vendor.json Bug 18120: Update field descriptions 2017-09-29 17:13:13 -03:00