SAP Knowledge Base Article - Public

2932769 - Date of Birth property being returned as incorrect format in OData API - Recruiting Management

Symptom

  • Date of Birth value is in the incorrect format in OData API.
  • Date of Birth value is missing "+0000" formatting.
  • Date of Birth value being returned as datetime datatype and not datetimeoffset.

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

Query the dateOfBirth property using OData API, the value is response payload is being returned as datetime ("/Date(465004800000)/") and not datetimeoffset ("/Date(1592143200000+0000)/").

Cause

A change was introduced in the B2005 Release to alter the date type of the dateOfBirth property from datetimeoffset to datetime. This change is being added to the "SAP SuccessFactors HXM Suite OData API: Reference Guide".

Resolution

This is expected behavior, in the B2005 the dateOfBirth property will be returned as datetime and not datetimeoffset. If you require the property in datetimeoffset you must as your partner or middleware provider to perform a conversion to change the format.

See Also

SAP SuccessFactors HXM Suite OData API: Reference Guide

Keywords

dateofbirth, date of birth, date type, datetime, datetime offset, +0000, RCM-72144,KM-9330 , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting all versions