https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40817
--- Comment #17 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 193205 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193205&action=edit Bug 40817: Add REST API support for hold-account line embedding This patch extends the REST API to support embedding debits in hold responses and linking holds in debit responses: API Schema Changes: - Add debits field to hold.yaml definition for embedding account lines - Add hold field to debit.yaml definition for embedding associated holds - Update holds.yaml and patrons_holds.yaml endpoints to support debits embedding Koha::Account::Debit.pm: - Add hold() method for API embedding support - Enable bidirectional API relationships between debits and holds These changes allow API clients to: - Retrieve holds with their associated charges in a single request - Access hold information from debit/charge records - Reduce API round trips by embedding related data - Support efficient financial reporting and hold management workflows Signed-off-by: Jackie Usher <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
