Bug 29002: Add bookings objects and API classes
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Sep 2021 08:17:30 +0000 (09:17 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:07 +0000 (12:04 -0300)
commite8d52195475350b286f980364430648499ec16dd
tree4d52b610caac571539ac6477bc78a1c77d9df070
parent1a679de4a1c2dcb3ff7e1e2098f3d968cd777104
Bug 29002: Add bookings objects and API classes

This patch adds new Koha::Object based classes for bookings logic and
adds API controllers to expose the new bookings data via the REST API's.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
14 files changed:
Koha/Biblio.pm
Koha/Booking.pm [new file with mode: 0644]
Koha/Bookings.pm [new file with mode: 0644]
Koha/Exceptions/Booking.pm [new file with mode: 0644]
Koha/Item.pm
Koha/REST/V1/Biblios.pm
Koha/REST/V1/Bookings.pm [new file with mode: 0644]
Koha/REST/V1/Items.pm
api/v1/swagger/definitions/booking.yaml [new file with mode: 0644]
api/v1/swagger/parameters/booking.yaml [new file with mode: 0644]
api/v1/swagger/paths/biblios.yaml
api/v1/swagger/paths/bookings.yaml [new file with mode: 0644]
api/v1/swagger/paths/items.yaml
api/v1/swagger/swagger.yaml