Symptom
How to rehire an inactive employee using SuccessFactors APIs?
Environment
- SAP SuccessFactors HCM Suite
- OData API
- Employee Central
Resolution
The API should follow the same behavior as EC imports. This means that the standard rehire logic used in EC imports also applies to the API, you would just need to adapt it to API operations.
So, for rehiring with the same employment, you should perform an OData API Upsert on Job Info. Refer to: Rehiring Former Employees with an Existing User ID | SAP Help Portal.
For rehiring with new employment, you should perform two OData API Upserts in the following order:
- Employment Info (EmpEmployment in OData API).
- Job Info (EmpJob in OData API).
Refer to: Rehiring Former Employees with an Existing User ID (New Employment) | SAP Help Portal.
See Also
Rehire Employees with Data Imports | SAP Help Portal
2861759 - Rehire Inactive Employee with New Employment through import
Keywords
rehire, employee, successfactors, api, odata, employee central, job info, employment info, data imports, EmpEmployment, EmpJob , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , How To
SAP Knowledge Base Article - Public