Do you have an example of what you are looking for with this call? For Example, placements is a to-many field and lists the unique ID's of all placements associated with the candidate.
Ultimately, we want to get Candidate data including all the "ToMany" data for all Candidates.
Search can only bring back a max of 10 "ToMany" entities, so that will not work.
The REST API allows us to get all the "ToMany" data for a Candidate if we go after it for each Candidate/"ToMany" field individualy:
.../entity/Candidate/1234/toManyEntity?fields=*
This last approach works and we get all the data, but it is VERY slow. For each Candidate we have to make 25 or so API calls to get data for each of the "ToMany" fields.
What we would like to do, for performance reasons (less calls to the REST API) is the following:
1. Get all the Candidate data for ALL the Candidates WITHOUT the "ToMany" data.
2. For each "ToMany" field, get all the Data for the "ToMany" field and get the relationship data between the "ToMany" field and the Candiate. (we want to make this call for ALL candidates at once not individually for each)
EXAMPLE:
Candiates
1 Joe
2 Fred
3 Saly
Placements
1 Business1
2 Business 2
3 Business 3
Relationship
CandiateId PlacementId
1 1
2 1
2 3
3 2
etc.....
I don't have insight into how the Bullhorn data is structured, so if there is a better way to do what we are trying to do I'm all ears.
If all of this is confusing, let me just ask the question as follows:
Using the REST API, what is the most performant way to get all Candidate data including "ToMany" fields.
-Jeff