om een gepersonaliseerde navigatie te krijgen.
om een gepersonaliseerde navigatie te krijgen.
Post candidate
The endpoint Post candidate allows to send a candidate to be hired in the core system. This method returns the processId to check the status.
POST https://api.youserve.nl/recruiting/v1.0/candidates
There are 2 ways of calling this endpoint, with or without attachments.
With attachments
The header Content-Type should be: multipart/related; boundary="A100x"; (The boundary is the one you choose). The total size of the request (all files and request body) is up to 100MB and the allowed file types are pdf, docx, txt, jpg, jpeg and png. Files cannot be empty.
The body should be splitted by sections, being the first one a json section with the candidate data as in the request without attachments.
For each attachment, there will be 2 sections:
json section: name of the file
--A100x
Content-ID: <content>
Content-Type: application/json
{
"Description":"contract.pdf"
}
file section: content of the file
--A100x
Content-ID: <content>
Content-Type: application/pdf
%PDF-1.7
%·¾¬ª
1 0 obj
<<
(this example is not complete)
After the candidate is posted to the API, the process can be followed with the status endpoint. The status of a process could be Pending, InProgress, WaitingOnValicare (if it is configured), Completed or Failed.
Replace the ProcessId in the URL with the processId
from the previous API call.
GET https://api.youserve.nl/recruiting/v1.0/candidates/{ProcessId}
Checking the status of the hire is needed, because failed hires won’t be automatically reprocessed. It is necessary to correct the problem and send them again.
Also it is possible to get a list of processes, filtering by status, created after and created before.
GET https://api.youserve.nl/recruiting/v1.0/candidates/status
GET https://api.youserve.nl/recruiting/v1.0/candidates/status?status=Completed
⚠️ This is a draft endpoint. Vacancy data cannot be exposed at this moment. Please reach out to our community for more info.
GET vacancies
The endpoint GET vacancies gives a list of vacancies of the tenant. This endpoint is available only with mock data for the sandbox tenant.
GET https://api.youserve.nl/recruiting/v1.0/vacancies
As attachment you can find a zip file with the collection and the environment.
Copyright 2022 Visma Community. All right reserved.