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"]
}]
Here's the call that I'm making:
<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>
Here's a JSON record from when I used fields=name :
{
"name": "Eric Arndt",
"first_name": "Eric",
"last_name": "Arndt",
"class_of": ""
},
So, first_name is a valid field. Is it not?