SAP Knowledge Base Article - Public

3116372 - How to update the Interview Start Date via OData API - Recruiting Management

Symptom

How to perform an OData API call to update the Interview Start Date. 

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."



Environment

SAP SuccessFactors Recruiting Management 

Resolution

Before starting the operation, it is important to note that the Interview Start Date can only be modified when Interview Scheduling is not active, which means that it will only work with Interview Central enabled.
 
In this example, the following date will be updated:
 
So, the upsert of property "startDate" can be done by the following API call: 

https://apisalesdemo4.successfactors.com/odata/v2/upsert  

and the Body, with the format JSON: 

{
"startDate": "/Date(1495746637000+0000)/",
"__metadata": {

         "type": "SFOData.JobApplicationInterview",
         
}}
 
*Please note that it must be in the JSON format of date:
 "/Date(<ticks>["+"|"-"<offset>)]/",
<ticks> = number of milliseconds since midnight Jan 1, 1970;
<offset> = number of minutes to add or subtract. Example: "/Date(1495746637000+0000)/" > (May 25 2017).
 
After this, is possible to see the change reflected within Interview Central:
 

For more information concerning the JobApplicationInterview Entity, please refer to JobApplicationInterview from Guide.
 
 

Keywords

interview update, start date update, interview date , KBA , LOD-SF-RCM-API , Webservices & APIs , How To

Product

SAP SuccessFactors Recruiting all versions

Attachments

Pasted image.png