I wanted to fetch candidate with matching specialties, since candidate is search entity it takes lucene form of query and specialties itself is OneToMany Object that contains list inside.
So, I wanted to know, how I can fetch candidate with matching specialty.?
This article is the Candidate entity documentation that goes over the possible Candidate fields: https://bullhorn.github.io/rest-api-doc ... #candidate
As specialties are a To-Many association, here is the article that goes over how to structure a GET request for To-Many Associations: http://bullhorn.github.io/rest-api-docs ... sociations
When using search on the to-many fields you would use something like this:
search/[ENTITY]?fields=[LIST OF FIELDS like id, SUBENTITU(id, name, etc)
&query=isDeleted:false AND SUBENTITY.id:XXXXX
One thing to note - depending on how you set up your instance of Bullhorn, you might need to search for Categories instead of Specialties.