Page 1 of 1

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

Posted: Tue Apr 23, 2019 12:15 pm
by joehcr
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

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

Posted: Tue Apr 23, 2019 12:21 pm
by mfinleybh
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

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

Posted: Tue Apr 23, 2019 1:48 pm
by joehcr
Mathew,

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

-Joe