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!

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.


    Dan

Categories