Rehire Workflow
The Rehire Workflow
To rehire an employee you need a few things. First, the employee has to be terminated in PlanSource. If you try to rehire a terminated employee you will receive a 400 error with a message indicating that the employee is not terminated. Second you need to know the employees rehire date. Lastly, you must determine if any additional fields need to be updated (perhaps they are rehiring but will be in a different department).
Verify The Employee Is Active
You have two options.
The first is to send the rehire request and handle the error if they are not terminated.
Second is to do a pre-request to the subscribers endpoint for that employee and validate the employee is active by verifying the fields termination_date is null and the termination_reason_id is null.
Send the Rehire Request
Send a request to the Rehire endpoint for the specific employee id and include a rehire date in the body. This will do all the work to successfully rehire the employee. It is NOT advisable to try to rehire an employee manually using the Employee Update endpoints as additional system processes take place.
Send Employee Updates (Optional)
If the employee is changing anything about their record (address, location, organization, etc) you will want to send a subsequent request after the rehire request is completed successfully. This will include the updates you want to make to the employee record.
Updated over 2 years ago