Symptom
You expect that the list options are returned in two languages. But they are only returned in English.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Administrator work center
- Click on OData Service Explorer view
- Select c4codataapi
- Click on Test
- Search for the collection
- Go to tab Test
- Click on Execute
Resolution
When executing the HTTP GET call via Postman or using the OData Test Console, you need to pass the following request header parameter Accept-Language with the GET call and enter the value for the language. You will need to use the ISO code for the country e.g. RU for Russia, FR for France or DE for Germany. The code descriptions will then be returned in the desired language.
Keywords
read OData values, in another language, list options, not returned in desired language, , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem