Filtering by nested candidate attribute in search/Tasks endpoint

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
lharbord
User
Posts: 1
Joined: Wed Jun 19, 2019 4:45 am

Filtering by nested candidate attribute in search/Tasks endpoint

Post by lharbord » Wed Jun 19, 2019 5:28 am

Hi,

I've tried searching for a solution to this on the forum but have yet to come across a solution, so apologies if this is a repost.

I'm trying to get a list of non-deleted candidates that have been attached to a completed task with a given type.

The following query to search/Tasks brings back all tasks and all candidates with the task type:

Query:

Code: Select all

isCompleted:True AND isDeleted:False AND type:Pre-Screen
Fields:

Code: Select all

candidate(id,firstName,lastName,isDeleted)
However, I want to exclude any deleted candidates associated with this task type. I tried this with the following query:

Query:

Code: Select all

isCompleted:True AND isDeleted:False AND type:Pre-Screen AND candidate.isDeleted=False
However this query brings back 0 results. Can somebody tell me how to filter this nested data on a 1-1 task-candidate association? candidate.id:XXXX is working ok as an additional filter, but it seems to fall down on any other candidate attribute such as isDeleted.

Thanks in advance!

Post Reply