Creating JobSumissions on Leads

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
educatedmachine
User
Posts: 2
Joined: Mon Jan 15, 2018 11:31 am

Creating JobSumissions on Leads

Post by educatedmachine » Wed Jul 11, 2018 4:47 am

Hey

With the REST api is it possible to attach JobSumissions to Leads or can they only be attached to Candidates?

pbearne
User
Posts: 22
Joined: Thu Mar 31, 2016 1:36 pm
Contact:

Re: Creating JobSumissions on Leads

Post by pbearne » Wed Jul 11, 2018 8:06 am

Hi

I don't think you can. But you can always try to set an ID from a Lead as the Canidiate ID on an entity/JobSubmission call
pass in the body
'candidate' => array( 'id' => lead->id ),

or that doesn't work ( might work or might throw an error
'lead' => array( 'id' => lead->id ),

Otherwise look at copy/converting a lead to Canidiate which might better

you can get the lead details with a call to entity/Lead/{lead_id} and then create candidate from that data

Hope this helps
Paul Bearne
Owner & Developer
Matador Jobs

Matador Jobs is a Bullhorn Marketplace Partner solution for showing your Bullhorn jobs and accepting applications on WordPress powered website. From Bullhorn, to WordPress, and Back! http://matadorjobs.com/

Post Reply