[Koha-bugs] [Bug 34277] Add an API endpoint to return all patrons with outstanding charges
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 14 14:54:11 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34277
--- Comment #3 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 153477
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153477&action=edit
Bug 34277: Add a patrons with outstanding charges endpoint
This patch adds an endpoint to return all patrons with outstanding
debits/credits on their account. Currently this can't be achieved through the
API without looping through all patrons using /patrons/{patron_id}/account
Test plan:
1) Apply patch
2) Add some charges/credits to some patron accounts
3) Call /api/v1/patrons/get_balances
4) An array should be returned with all the patrons that you added charges to
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list