Is there a way to filter search endpoint results on fields more than one relationship away?

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
joehcr
User
Posts: 10
Joined: Tue Apr 23, 2019 10:28 am

Is there a way to filter search endpoint results on fields more than one relationship away?

Post by joehcr » Tue Apr 23, 2019 12:15 pm

Is there a way to filter search endpoint results on fields more than one relationship away (e.g. could we filter a Placement search on a Placement’s Candidate’s Owner ID)? I've tried just putting dots between field names like so:

Code: Select all

query=candidate.owner.id:45
but this doesn't seem to work.

Thanks.

-Joe H

mfinleybh
User
Posts: 41
Joined: Thu Feb 21, 2019 9:48 am

Re: Is there a way to filter search endpoint results on fields more than one relationship away?

Post by mfinleybh » Tue Apr 23, 2019 12:21 pm

Greetings Joe,

It's looking like you will need to add a 'Where' clause in your call.

More information on this can be found at;
http://bullhorn.github.io/rest-api-docs/#query

Thanks!

Mathew Finley | Analyst, Enterprise Support | Boston

joehcr
User
Posts: 10
Joined: Tue Apr 23, 2019 10:28 am

Re: Is there a way to filter search endpoint results on fields more than one relationship away?

Post by joehcr » Tue Apr 23, 2019 1:48 pm

Mathew,

You are referring to the 'query' endpoint - I am referring to the 'search' endpoint (which appears to be recommended for new integrations).

-Joe

Post Reply