Using multiple constituent_code with Constituent List API endpoint
Hello,
When I attempt to use constituent_code in the way described in the documentation here:
https://developer.sky.blackbaud.com/docs/services/56b76470069a0509c8f1c5b3/operations/ListConstituents
(ie. "constituent_code=Board Member&constituent_code=Volunteer"), I find I am only getting results for the last constituent_code specified (in the example case it would only return Volunteers). If I use constituent_code in a way which is more consistent with passing arrays (ie. "constituent_code[0]=Board Member&constituent_code[1]=Volunteer"), I seem to get the result set I want. However, the next_link returned in the response uses the former method, which seem to return the incorrect result set for the next page (if any because now it only seems to take the last value).
Am I using this incorrectly? Is the documentation incorrect? If so, why does next_link seem to return a bad URL?
Thanks!
When I attempt to use constituent_code in the way described in the documentation here:
https://developer.sky.blackbaud.com/docs/services/56b76470069a0509c8f1c5b3/operations/ListConstituents
(ie. "constituent_code=Board Member&constituent_code=Volunteer"), I find I am only getting results for the last constituent_code specified (in the example case it would only return Volunteers). If I use constituent_code in a way which is more consistent with passing arrays (ie. "constituent_code[0]=Board Member&constituent_code[1]=Volunteer"), I seem to get the result set I want. However, the next_link returned in the response uses the former method, which seem to return the incorrect result set for the next page (if any because now it only seems to take the last value).
Am I using this incorrectly? Is the documentation incorrect? If so, why does next_link seem to return a bad URL?
Thanks!
0
Comments
-
Hi,
We use the same endpoint in the same way and have not noticed this behavior. I did a quick test to confirm that just now in Postman as well. The only thing I have noticed is that sometimes the encoding of white space matters...probably not helpful but I figured I would share my experience.
Dan0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 401 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) 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
- 791 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)
