Get resume PDF file

Tagged:

Currently contains 6 posts

Avatar

August 26, 2020 19:50

Tturner

Hi there,

how can I get the resume PDF file connected with the candidate’s profile through API? Right now we are getting their name, contact details, and their pipeline status but need the resume file as well.

Thank you!

Avatar

August 26, 2020 19:58

Jarrid-PCRecruiter

https://www.pcrecruiter.net/apidocs_v2/

On the left check out the add/edit reference guide

Adding or Updating Resumes
To add a resume to a candidate the file should be uploaded as base64 encoded bytes. The response from the API will include a Result message in the event of Success or if a Duplicate Record is detected. If a Duplicate record is detected the CandidateId of the matching record is returned in the DuplicateId field.

Avatar

September 01, 2020 14:42

Tturner

Hi Jarrid,

Thank you for the response but this is not what I am looking for. I would like to be able to download the PDF (resume) file or the path to the file through the API. We use an application where the candidate details are also updated to our application in real-time with PCR. The current sync gets all the candidate data but we are not able to get the actual PDF file that we upload for a candidate on PCR.

Is there a way to get that file?

Thank you!

Avatar

September 01, 2020 16:42

Jarrid-PCRecruiter

It’s not stored as a file, it’s stored in a base64 encoded text blob.

Avatar

September 05, 2020 09:55

Tturner

Okay, how can I get the blob via API? I can convert the blob into a file.

Avatar

September 05, 2020 20:54

Jarrid-PCRecruiter

GET /candidates/ endpoint, the field name is ResumeText

Alternatively you can use these end points for working with resumes:
GET /candidates/{candidateId}/{resumeType}/Gets a candidate resume
POST /candidates/{candidateId}/{resumeType}/Creates a new resume entry for the candidate.
PUT /candidates/{candidateId}/{resumeType}/Update a resume entry for the candidate.
DELETE /candidates/{candidateId}/{resumeType}/Delete a resume entry for the candidate.
GET /candidates/{candidateId}/{resumeType}/binary
GET /candidates/{candidateId}/{resumeType}/download

Reply to thread