Symptom
You are performing an odata API call and you have noticed that undesired records which does not respect the fromDate and toDate range are returning.
Environment
SuccessFactors odata API
Reproducing the Issue
- go to any api tool such as postman
- perform an odata API call as the example below:
- the result returns the employee but return records that does not match the from and to date period
Cause
Wrong $ performed in the API call:
As per the implementation guide, when using from and to date, we do not use the $:
Resolution
To have the from date and to date working as expected, just remove the '$' folowwed by from/to date as per example below:
Keywords
fromDate, toDate, from date, to date, date range, odata api filter not working , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem
Product
SAP SuccessFactors HCM Suite all versions