Creating Or Updating Candate with References

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
latestrelease
User
Posts: 5
Joined: Fri Jun 28, 2019 3:12 pm

Creating Or Updating Candate with References

Post by latestrelease » Fri Jun 28, 2019 3:26 pm

The bullhorn rest-api docs have been very helpful to my quest to build an api interaction with
the bullhorn system. But i must say this, I failed to find a clear way that explains how to add
a Candidate References to either a new candidate or and existing Candidate.

I followed all the rest-api about Parsing Resume, Creating candidate from resume,
creating CandidateWorkhistory, Creating CandidateEducation, but nothing
explains how to create CandidateReference.

I have searched through google, savaged through bullhorn library written in java, but
still can't find a way of creating CandidateReference

this is what I get when i try similar url for creating CandidateWorkHistory
https://rest41.bullhornstaffing.com/res ... References
{'errorMessage': 'Unknown or badly structured command: /entity/CandidateReference.', 'errorMessageKey': 'errors.badCommand'}

So please My question is remains;
How can I Create or Update candidate with References?
Am using python and everything is working fine until i got stuck
from creating references. Thank you.

mholmemi
User
Posts: 11
Joined: Fri Feb 15, 2019 10:31 am

Re: Creating Or Updating Candate with References

Post by mholmemi » Fri Jun 28, 2019 4:01 pm

Hello,

This is Mikaela with Bullhorn Support.
You can find information about candidate references in API here:
http://bullhorn.github.io/rest-api-docs ... ereference

Please let me know if you have any additional questions.

Best,
Mikaela
Mikaela Holme-Miller | Tier II/Enterprise Support Analyst

latestrelease
User
Posts: 5
Joined: Fri Jun 28, 2019 3:12 pm

Re: Creating Or Updating Candate with References

Post by latestrelease » Sat Jun 29, 2019 12:32 am

Thank you, the link you sent was a great one,
the only thing it does not explain the url for post or put like
PUT https://rest.bullhornstaffing.com/rest- ... orkHistory
{
"candidate": {"id": 2038},
"startDate": 1015002000000,
"endDate": 1188662400000,
"companyName": "Teen Pop",
"title": "Pop Software Engineer",
"comments": "New Millennium Music Corp. Really How What"
}

I want something like
PUT https://rest.bullhornstaffing.com/rest- ... eReference

Tha's what I particularly want.

Thank you.

latestrelease
User
Posts: 5
Joined: Fri Jun 28, 2019 3:12 pm

Re: Creating Or Updating Candate with References

Post by latestrelease » Sat Jun 29, 2019 12:35 am

mholmemi wrote:
Fri Jun 28, 2019 4:01 pm
Hello,

This is Mikaela with Bullhorn Support.
You can find information about candidate references in API here:
http://bullhorn.github.io/rest-api-docs ... ereference

Please let me know if you have any additional questions.

Best,
Mikaela
Thank you for the link
But is something like a link or enpoint url for posting or put
something like this
PUT https://rest.bullhornstaffing.com/rest- ... orkHistory
{
"candidate": {"id": 2038},
"startDate": 1015002000000,
"endDate": 1188662400000,
"companyName": "Teen Pop",
"title": "Pop Software Engineer",
"comments": "New Millennium Music Corp. Really How What"
}

But this time for CandidateReference like this

PUT https://rest.bullhornstaffing.com/rest- ... orkHistory

Thank

latestrelease
User
Posts: 5
Joined: Fri Jun 28, 2019 3:12 pm

Re: Creating Or Updating Candate with References

Post by latestrelease » Sat Jun 29, 2019 1:02 am

mholmemi wrote:
Fri Jun 28, 2019 4:01 pm
Hello,

This is Mikaela with Bullhorn Support.
You can find information about candidate references in API here:
http://bullhorn.github.io/rest-api-docs ... ereference

Please let me know if you have any additional questions.

Best,
Mikaela
Thank you soo much Mikaela I finally got it working
The link you sent above had the answer i just had to tweak the fields
based on the link you sent above.

so it has been solved thank you.

Post Reply