Include `sumPledges` in teams endpoints
timmixell opened this issue · comments
sumPledges
is offered as a field inside the /participants
endpoints. It would be nice for this field to be accessible from /teams
endpoints as well.
+1, I'm not seeing a way to get your total as a team like you'd see on a team page. I would expect this functionality to be available.
*I am assuming this is how I would get the current total displayed on an event's fundraising goal. I haven't found that in the API documentation.
edit: Thank you!
resolved w/ #32
@morleym apologies for not following up sooner. this functionality is actually available right now, provided that pledges are enabled in the instance of DonorDrive you're working with. take a look and let me know if you run into any issues. thanks!
@timmixell i took a closer look through things, and I realized that the event I'm working with isn't using teams. So I latched onto this issue incorrectly.
I have opened a separate issue for my ask: #35