on 02-03-2019 12:35 PM
I have a requirement where I have to fetch the Supervisor as well as Shift Supervisor details of an employee from SuccessFactors Employee Central. I am able to fetch the Supervisor details by using the "PerPerson" OData API. But I'm unable to fetch the Shift Supervisor details from the same OData API. Can you please help me with the exact OData field/entity from where I can retrieve the Shift Supervisor details of an employee.
The Supervisor name can be retrieved from the below OData API entity path:
/PerPerson/employmentNav/jobInfoNav/managerUserNav/username
Similarly, what is the OData API entity path to retrieve the Shift Supervisor name?
Hello Debashish,
Below should give all the required details.
/PerPerson/employmentNav/jobInfoNav/employmentNav/empJobRelationshipNav/relUserId
If you are not able to get the above details from PerPerson you can try with CompoundEmployee where you have option to retrieve JobRelationShip information.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Sriprasad for the reply. Compound Employee is the better approach. I wanted to know how to find out the equivalent fields of PerPerson API in CompoundEmployee API. Because in the SFAPI Data Dictionary, most of the CompoundEmployee API fields have no description. Can you please help me in this regard.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.