Symptom
You wish to find out how to disable a field from the CompoundEmployee API.
Environment
SAP SuccessFactors SFAPI
SAP SuccessFactors CompoundEmployee
Reproducing the Issue
- Disable a field in the Manage Business Configuration
- Run API operation e.g. query
- Field is still displayed in the CE API response
Cause
Expected behaviour
Resolution
CompoundEmployee API renders also disabled fields if a value is stored on the database. This can be changed by using parameter resultOptions=configuredFieldsOnly like described in the Guide however it is important to note that this will have an effect on all fields, there is no possibility to hide single fields.
See Also
Keywords
CE, CompoundEmployee, Compound Employee, SFAPI, disable field, disable, Manage Business Configuration, resultOptions=configuredFieldsOnly , KBA , LOD-SF-INT-CE , Compound Employee API , LOD-SF-INT , Integrations , How To