Create new candidate and link candidate to a postion using api

Tagged:

Currently contains 4 posts

Avatar

April 20, 2015 15:53

jcbasson

How does one create a new candidate and link that candidate to a position?

I take it creating a new candidate and linking them to a position is how a user applies for a job?

Avatar

April 20, 2015 16:17

Wayne-PCRecruiter

Once the record is created you will receive a CandidateId back. At that point the general behavior would be to get the JobId of the position you wish to link the candidate to and create an interview. Below is a basic example of the post body to the ../interviews resource where you would make this request:

{
“CandidateId” : 123123123123123,
“JobId” : 222222222222,
“InterviewType”: "Presentation,
“InterviewStatus”: “On-Line Job Inquiry”,
“WrittenBy”: “CANDIDATE
}

It is recommended to use the InterviewType, InterviewStatus and WrittenBy values listed above if this is coming from a Job Board/online posting application process. The client may want you to follow some other process so checking with them is always best.

Avatar

April 22, 2015 09:41

jcbasson

Thanks that clears up that. Is there a way to upload a CV and create a candidate with one request? Or do I need to first create a candidate and then do something like this that I found in another forum post :

POST ../candidates/123123123123123/Resumes
{
“FileName”: “resume.doc”,
“Resume”: “Base64 bytes here”
}

Avatar

April 22, 2015 13:41

Wayne-PCRecruiter

We do not have any shortcut for this in the API as of yet. You will need to create the candidate first and then attach the resume to the CandidateId returned from the creation.

Reply to thread