clientContact not getting associated to clientCorporation

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
reynacho
User
Posts: 1
Joined: Fri Feb 26, 2021 4:41 pm

clientContact not getting associated to clientCorporation

Post by reynacho »

I have a clientCorporation created. Then I add a clientContact to that corporation. CorporationID is 19656, so the included JSON for the create is:

Code: Select all

{"namesuffix":"","phone":"126-456-7890","clientCorporation":{"id":19656},"comments":"","firstname":"Angela","email":"testemail@bullhorn.com","email2":"","division":"","nickname":"","status":"New Lead","lastname":"Test","address":{"zip":"01852","city":"lowell","countryID":1,"state":"ma","address1":"1 main st","address2":""},"occupation":"","phone2":"","fax":"","mobile":""}
I get a successful INSERT response with ID 331715 created. But if I go to this clientCorporation in the website, no contacts are listed. So, I then try to do an update passing this JSON:

Code: Select all

{"clientCorporation":{"id":19656},"id":331715}
Again, I get a successful UPDATE response from the API, but still no contacts show up for that clientCorporation. Where am I going wrong?
Post Reply