Getting ClientContacts from a CorporateUser

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Posts: 2
Joined: Thu Mar 25, 2021 10:16 am

Getting ClientContacts from a CorporateUser

Post by kingsline »

Hello, all, brand new to BullHorn so trying to work out the relationships.
I want to run a query to pull out a corporateuser’s clientcontacts:


I’ve also substituted the username for the id e.g.:


In both cases I get the error:

"javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of com.bullhorn.entity.user.PersonData.userID",


I have tried a simple search e.g. on the name of all contacts and this returns as expected so it isn’t a problem with the query.

Does this error mean that I am not allowed to search on the owner of a contact? If so can you suggest a way of getting the clientcontacts for a coporateuser ?

Thank you for your help
Post Reply