Symptom
You need to get the name field of FOLocation through OData API. But name field has translations for different languages.
Environment
SAP SuccessFactors HXM Suite
- OData API
Reproducing the Issue
- Go to "Manage Organization, Pay and Job Structures", change the translations of name field under FOLocation entity
- Get name field through ODATA API
- You got en_US data
Cause
Currently, the system logic is designed to always retrieve the value in en_US for the "name" field, regardless of the system language of the currently logged-in SF user.
Resolution
To consistently obtain the name in other languages (such as Chinese), you can use the following field:
FOLocation->nameTranslationNav->value(value_zh_CN)
Keywords
Translation Retrieval Logic, API Language, Record Change Impact , KBA , LOD-SF-INT-API , API & Adhoc API Framework , How To
Product
SAP SuccessFactors HCM Core 2505
SAP Knowledge Base Article - Public