Symptom
The PerNationalId entity no longer appears in the OData API Metadata. API calls that use the PerNationalId entity may fail or the entity cannot be found in the $metadata response.
Environment
SAP SuccessFactors Employee Central
- OData API
Cause
The three HRIS fields record-id, valid-from, and valid-to were enabled in the nationalIdCard HRIS element in BCUI. When these three fields are active, the system removes the PerNationalId entity from the metadata and replaces it with a new entity called PerNationalIdWithValidityPeriod.
Resolution
Use the PerNationalIdWithValidityPeriod entity instead of PerNationalId. This entity contains the same national identification card information for an employee but also includes a validity period for each national ID record. It is the expected replacement for PerNationalId when the HRIS fields record-id, valid-from, and valid-to are enabled in the nationalIdCard HRIS element in BCUI. Update any existing integrations or API calls to reference PerNationalIdWithValidityPeriod.
See Also
Keywords
PerNationalId, PerNationalIdWithValidityPeriod, OData API, Metadata, HRIS, nationalIdCard, BCUI, record-id, valid-from, valid-to, missing entity, National ID, validity period , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , Problem
SAP Knowledge Base Article - Public