SAP Knowledge Base Article - Public

3342154 - fromDate and toDate are not working on odata API call


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.


SuccessFactors odata API

Reproducing the Issue

  1. go to any api tool such as postman
  2. perform an odata API call as the example below:
  3. the result returns the employee but return records that does not match the from and to date period


Wrong $ performed in the API call:

As per the implementation guide, when using from and to date, we do not use the $:


To have the from date and to date working as expected, just remove the '$' folowwed by from/to date as per example below:


fromDate, toDate, from date, to date, date range, odata api filter not working , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem


SAP SuccessFactors HCM all versions