cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ODATA API

Former Member
610

Hi,I want to create ,delete,modify the employee account in SAP successfactors through ODATA API. I am new to SuccessFactors. I searched in all documentation there is no direct solution for my solution. Can anyone help me by telling solution or even share any useful links.

Thanks in Advance for all help.

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Venkatesh,

First question is which module of SF you are using.Then comes there is no concept of delete operation with respect to employee in SF and it would be always set it as inactive.For new employee creation you should use multiple OData API calls in below sequence

1) User (required fields: username, userId, status)
2) PerPerson (required fields:  userId, personIdExternal)
3) EmpEmloyment (required fields:  userId, personIdExternal, startDate)
4) EmpJob (required fields:  userId, jobCode, startDate, eventReason, company, businessUnit, managerId)
5) PerPersonal (required fields: personIdExternal, gernder, firstname, lastName)

Reference Blogs:

https://blogs.sap.com/2015/03/23/how-to-create-an-employee-using-odata-apis/

Also I would suggest you to search SCN content and KBA as there are already plenty of resource avaiable.

Regards,

Sriprasad Shivaram Bhat

Answers (0)