People -> Donations is a one-to-many relationship, but there doesn't appear to be a way to get donations in this method. I haven't been able to find a Donations attribute on a Person (either full or restricted), there doesn't appear to be a Donations resource endpoint which allows searching by Donor ID, and the Donations search endpoint also doesn't allow Donor ID. Is there a way to get Donations from a single Person without getting all the Donations from the API, then filtering them after-the-fact?
Submitted
Official response from Alex Simoes-McArtorAt the moment, we don't have a tool to generate a listing of all donations per person ID. The current way to find all of the donations for a person ID is to request all of the donations and run a query through the json data to pick out the donations that contain that specific person ID. You can see the available options through our API explorer here:
https://apiexplorer.nationbuilder.com/nationbuilder#Donations
We have not prioritized any work to create a person ID search through the Donations API. If we add this work into our plans, we will provide an update on this post accordingly.
Showing 1 reaction
Sign in with