Skip to Content

How to retrieve the "Shift Supervisor" records from SuccessFactors OData API "PerPerson"

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?

supervisor.jpgshift-supervisor.jpg

supervisor.jpg (35.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 04, 2019 at 05:20 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.