02670290: No owner in ClientCorporation

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Posts: 1
Joined: Wed Jan 31, 2018 1:01 pm

02670290: No owner in ClientCorporation

Post by Dezachu »

We're trying to attribute the creation of a Company (ClientCorporation entity) to a user, but the data returned does not contain any ownership details despite Bullhorn itself showing the owner.

The data we receive looks like this:

Code: Select all

Any idea how we can get the owning user? ClientContacts correctly give us the owner's ID, first name and surname, but ClientCorporation does not.


Posts: 46
Joined: Mon Aug 15, 2016 9:57 am

Re: 02670290: No owner in ClientCorporation

Post by DanJSupport »

Hi Dezachu,

To-many association fields will display like this when you specify all fields on a GET /entity call. If you want to see the values in that field, you need to specify the field like this:

Code: Select all

GET /entity/ClientCorporation/{id}/owners?fields=*&BhRestToken={token}

Code: Select all

GET /entity/ClientCorporation/{id}?fields=owners&BhRestToken={token}
The reason you don't see this on other entities like ClientContact is that the owner field is a to-one association so the value will return even when specifying fields=*.

One other thing to note on ClientCorporation is that the owners association comes from the owners of the ClientContacts that are associated with it. There is not a direct association between CorporateUser and ClientCorporation.

Let me know if you have any other questions around this topic.
Dan Johnson
Tier 2 / Enterprise Support
Bullhorn Support US: 617-478-9126
Bullhorn Support UK: 44 800 032 2848
Bullhorn Support Australia: 61 28 073 5089
Bullhorn Support International: 617-478-9131

Post Reply