Searching in Array

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Posts: 2
Joined: Fri Sep 28, 2018 2:06 pm

Searching in Array

Post by kinim0d »

Is there any way to search in an array (e.g. skillSet) using search?

I have tried this and a couple other options, but I was never able to fetch candidates this way: ... ry=id:1099 AND (business) MEMBER OF skillSet&count=12&start=0&BhRestToken=...

In this search I was trying to get the cadidate with 1099 who has "business" in his skillSet, but no results were returned.

Posts: 46
Joined: Mon Aug 15, 2016 9:57 am

Re: Searching in Array

Post by DanJSupport »

Hi Kinim0d,

MEMBER OF is restricted to certain association fields. The skillSet field is a string. So you would want to use a format such as this:

Code: Select all

GET /search/Candidate?fields={fields}&sort=-id&start=0&count=25&query=isDeleted:0  AND skillSet:(+Business) AND NOT status:Archive&&BhRestToken=
Dan Johnson
Tier 2 / Enterprise Support
Bullhorn Support US: 617-478-9126
Bullhorn Support UK: 44 800 032 2848
Bullhorn Support Australia: 61 28 073 5089
Bullhorn Support International: 617-478-9131

Post Reply