Get Event Participants returns "The list field 'first_name' is not valid"
I'm making a webservice call to the SKY API to GET the participants for an event. I'm using the fields parameter to tell the function to only return "first_name" fields. When doing so, I'm getting the following error:
[{
"message": "The list field 'first_name' is not valid.",
"
"error_name": "ListFieldNotValid",
"
"error_code": 39,
"
"raw_message": "The list field '{0}' is not valid.",
"
"error_args": ["first_name"]
So, first_name is a valid field. Is it not?
[{
"message": "The list field 'first_name' is not valid.",
"
"error_name": "ListFieldNotValid",
"
"error_code": 39,
"
"raw_message": "The list field '{0}' is not valid.",
"
"error_args": ["first_name"]
}]Here's the call that I'm making:
Here's a JSON record from when I used fields=name :<a href="https://api.sky.blackbaud.com/event/v1/events/59/participants?fields=first_name" target="_blank">https://api.sky.blackbaud.com/<wbr />event/v1/events/59/<wbr />participants?fields=first_name</a>
{
"name": "EricArndt",
"first_name": "Eric",
"last_name": "Arndt",
"class_of": ""
},
So, first_name is a valid field. Is it not?
1
Comments
-
Hi Mark,
I can confirm the problem; seems that a lot of the supposedly-supported fields such as preferred_name, former_name, title, etc are not (yet).
The parameter ({0}) in raw_message needs filling as well.
Needs proper testing/fixing or doco corrected I'd say.
BTW, I think this belongs under the Event API discussion group, rather than Fundraising.
Cheers,
Steve Cinquegrana | CEO and Principal Developer | Protégé Solutions
1 -
Hi Mark,
Thank you for your beta feedback! It looks like you caught a miss with our documentation and we've filed a bug to better document the fields that are supported when requesting participants. Currently this endpoint only returns the individual name parts when thenamefield is requested. Depending on your organization setup in RE configuration, the name parts can include first name, middle name, last name, preferred name, former name, title, suffix and class of.
Would better documentation around what fields can be requested from the list endpoint suffice for your current efforts? Or are you looking to make requests for only certain name parts but not others?
Samantha McGuin
Prinicipal Product Manager, Blackbaud
0 -
Hi Samantha,
Thanks for the reply. Better documentation around what fields can be requested from the list endpoint will work for now. Based on that list, I'll select what fields to query. Ultimately, being able to query for first_name and last_name should be included as queriable field names when using the fields parameter.
Thanks,
Mark
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 395 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®
- 648 Blackbaud Grantmaking™
- 566 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
- 247 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 33 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
- 782 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)
