Cannot Associate Appeal or Campaign with Gift Split
Hi,
When providing an ‘appeal_id’ or ‘campaign_id’ in the ‘gift_splits’ when creating a gift for a constituent, we are getting a 400 Bad Request back from the API. If either or both of these ids are provided the request returns 400, whereas if they are omitted the request will succeed and the gift is created as expected.
This is being tested within the developer test environment with different appeal/campaign system record ids that exist. Please see the example request body data being provided below:
POST https://api.sky.blackbaud.com/gift/v1/gifts
{
"amount":{"value":25},
"constituent_id":"637055",
"date":"2023-10-10T19:03:44+00:00",
"gift_splits":[{
"amount":{"value":25},
"appeal_id":"17",
"campaign_id":"7",
"fund_id":"4"
}],
"is_anonymous":false,
"lookup_id":"checkoutPurchase_****",
"payments":[{"payment_method":"CreditCard"}],
"reference":"Tier 1: Supporter",
"type":"Donation"
}
Are we structuring the “gift_splits” with appeal/campaign ids in the request incorrectly? Any thoughts/insights are greatly appreciated.
Thank you,
Levi
Comments
-
@Levi Magnus
the JSON looks fine to me.Might want to make to make sure that the appeal_id, campaign_id, and fund_id is a combination that's good. Raiser's edge allows the limiting of these 3 types of record where certain fund can only be with certain campaign, for example.
there can also be start and end date issue, for example, appeal that has start/end date and the gift date falls outside of it.
I suggest with the campaign, fund, appeal you are using, manually create a gift record in RE NXT (webview or dbview doesnt matter) that has this combination to make sure it is allowed.
1 -
@Alex Wong
Ah, yes it was a date range issue. Thank you for the information, it's appreciated!0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 778 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
