SAP Knowledge Base Article - Public

2461891 - LMS OData API for searchStudent hireDate only returns first seven digits of epoch time


When using OData API call to retrieve searchStudent (user’s learnerID) hireDate, in epoch format, the data returned is only the first seven digits, causing an incorrect epoch datetime.


SAP SuccessFactors Learning - b1702

Reproducing the Issue

  1. You may verify your User's hireDate within LMS as:  01 Feb 2017
  2. Now retreive the user's hireDate, using a web services API tool, such as Postman.  First, create your valid session and then post this:

GET$filter=criteria/learnerID eq 'TestUser'

You will notice that the hireDate returned for all users within LMS are only 7 digits long (an invalid epoch time).
For instance, the above user's retreived hireDate retrevied value was:  1485925 ((this translates to: 18 Jan 1970 04:45:25 / this should have contained (at least)10 digits)).


SAP SuccessFactors LMS Development determined the OData API code was not returning the entire hireDate.


SAP SuccessFactors LMS Development has resolved the problem in version b1708. 


KBA , LOD-SF-LMS-ODA , LMS Web Services OData , Bug Filed


SAP SuccessFactors Learning 1702