Candidate /search via lookupNames

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Posts: 1
Joined: Wed Feb 11, 2015 12:12 pm

Candidate /search via lookupNames

Post by iforshaw »

I'm trying to query candidates by secondarySkills using a lucene lookup query.

like this:
{rest_url}/{corp_token}/search/Candidate?orderBy=id&count=50&fields=id,name&start=0&BhRestToken={rest_token}&"^name='2D CAD'"

However I'm getting an error:
{u'errorMessage': u'Search failed: Bad Query: Cannot parse \'(aclIsPrivate:0 OR aclOwnerId:{owner_id_redacted}) AND ("^name=\'2D CAD\'")\': Cannot get field meta for \'\'.'}

The documentation states you can only use lookup queries for fields with "lookupNames" but if I query the candidate entity for metadata like this:


it comes back with this for

u 'type' : u 'INTEGER',
u 'name' : u '',
u 'isSortable' : True,
u 'lookupNames' : [{
u 'names' : [u 'name']

So this should be possible? Am I missing something obvious?
Posts: 13
Joined: Mon Apr 28, 2014 4:24 pm

Re: Candidate /search via lookupNames

Post by raleigh »

Hello iforshaw.

If you're attempting to query candidates by "secondarySkills", I cannot see why you are using the field "primarySkills" in your /GET call. Also, if you are going to query on .id, the command requires a number be added for the ID.

Please use this format for querying for candidates by their secondarySkills:

{corp token}/search/candidate?query/

I hope this helps!
Posts: 1
Joined: Thu Nov 14, 2019 6:13 am

Re: Candidate /search via lookupNames

Post by sahilbwi »

Can we add multiple skills id in the search query ?? :) :)
Post Reply