Hi,
How do I get business sectors for Candidates? I would like to query for a specific candidate and get there business sectors.
I am running this:
$find_request = array (
'session' => $API_currentSession,
'entityName' => 'Candidate',
'associationName' => 'BusinessSector',
'id' => new SoapVar(126778, XSD_INTEGER,'int','http://www.w3.org/2001/XMLSchema'),
);
try{
$findResult = $BHclient->getAssociationIDs($find_request);
I get the following response
SoapFault Object
(
[message:protected] => org.hibernate.QueryException: could not resolve property: BusinessSector of: com.bullhorn.entity.candidate.Candidate [SELECT b.id FROM com.bullhorn.entity.candidate.Candidate a JOIN a.BusinessSector b WHERE a.id = :id]
[string:Exception:private] =>
[code:protected] => 0
Get BusinessSectors for Candidates
Moderators: StaffingSupport, s.emmons, BullhornSupport