Filter by id not working for primarySkills in Candidate - 02309319

Forum for users and developers of Bullhorn's new REST API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

max_max_mir
User
Posts: 78
Joined: Tue Jun 22, 2010 4:25 pm

Filter by id not working for primarySkills in Candidate - 02309319

Postby max_max_mir » Mon Jul 11, 2016 6:14 pm

Hello,

The filter {id < 250} doesn't work for primarySkills field for entity Candidate

Code: Select all

https://rest2.bullhornstaffing.com/rest-services/xxxxx/entity/Candidate/275166?fields=primarySkills[10]{id < 250}&BhRestToken=xxxxx


The filter is completely ignored and the result is the same as no filter was passed. However, this seems to work fine for other fields and entities. What could be the issue?

Regards,
- Y

pmularski
Bullhorn Support Staff
Posts: 873
Joined: Wed Dec 31, 1969 8:00 pm

Re: Filter by id not working for primarySkills in Candidate

Postby pmularski » Tue Jul 12, 2016 5:00 pm

Good Afternoon Max_max_mir,

I would suggest double checking the Ids themselves. We recently updated the way we hold skills in our database, and that may have impacted the skill reference ids you are looking to find.
Patrick Mularski
Senior Enterprise Support Analyst
B U L L H O R N
Staffing and Recruiting Software, On Target, On Demand
Bullhorn Support Contact Numbers
US: 617-478-9126
UK: 44 800 032 2848
Australia: 61 28 073 5089
International: 617-478-9131

max_max_mir
User
Posts: 78
Joined: Tue Jun 22, 2010 4:25 pm

Re: Filter by id not working for primarySkills in Candidate

Postby max_max_mir » Tue Jul 12, 2016 5:32 pm

I did - regardless of what id I use, this feature doesn't seem to work.
- Y

max_max_mir
User
Posts: 78
Joined: Tue Jun 22, 2010 4:25 pm

Re: Filter by id not working for primarySkills in Candidate

Postby max_max_mir » Sun Aug 14, 2016 1:16 pm

Hello - any updates on this? This still doesn't seem to work.
- Y

s.hayes
User
Posts: 12
Joined: Wed Dec 31, 1969 8:00 pm

Re: Filter by id not working for primarySkills in Candidate - 02309319

Postby s.hayes » Mon Aug 15, 2016 12:47 pm

Hello max_max_mir,
I wanted to pass along what I believe needs to be done here. Can you try the below when bringing these back. This would be a GET.

https://rest2.bullhornstaffing.com/rest ... lls&query={skill.id < 250}&BhRestToken=xxxxx

Please let me know your result.

Thank you in advance and I look forward to hearing back from you
Sean Hayes | Enterprise Support Analyst

max_max_mir
User
Posts: 78
Joined: Tue Jun 22, 2010 4:25 pm

Re: Filter by id not working for primarySkills in Candidate - 02309319

Postby max_max_mir » Tue May 09, 2017 12:06 pm

This will break my code. The documentation says it should be {id < 25} and not {skill.id < 25}. Kindly clarify if there is a way to generalize this. For example, there are other relationships - is the query of the form {relationship.id < num}?
- Y


Return to “REST API”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest