How can I tell if a spouse is a constituent or not via SKY API?
I'm using the SKY API to access RE Constituent data, including relationships. I know that in the database view it is possible to add a spouse as a relationship without adding a constituent record. I can access that relationship data and record via the SKY API, but I can't tell if the relationship record is a constituent or not.
Is there a way to use the API to check if a relationship record is a constituent or not?
Comments
-
@Elizabeth Conn
threre are multiple indicator if a record is constituent or not.if you are using the get all relationships for a constituent api endpoint, there are properties: is_spouse_head_of_household and is_constituent_head_of_household. You can only have “head of household” indicator if both spouse is constituent record. Meaning, if you are looking at relationship of a constituent (John Smith), then you expect is_constituent_head_of_household to be true or is_spouse_head_of_household to be true if both spouse is constituent. if both these property is false, means the spouse is definitely not constituent.
If you don't want to mess with the logic of this, one easy way is to use get constituent endpoint on the spouse relation_id property (the constituent system record id of the relationship). Every “record” (constituent or non-constituent) has a constituent system record id and can use get constituent endpoint on it. the returned data has a is_constituent indicator, true = constituent, false = nonconstituent.
1
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 396 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 650 Blackbaud Grantmaking™
- 568 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 34 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Data Health
- 3 (Closed) 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
- 785 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)
