Skip to Content
avatar image
Former Member

Successfactors Compound employee API - Manager ID field

Hi Experts,

I am fetching Employee demographic data from Successfactors using Compound Employee API.

I have a requirement to fetch manager id up to level 15 for an employee. Manager ID of an employee will be MID1 and MID1's manager will be MD2 , likewise it is required up to MID15. If an Employee doesn't have a manager after certain level it can be sent blank.

Is there any best approach to fetch this information.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 22, 2017 at 10:50 AM

    Hello Janani,

    Its possible to achieve it using XSLT mapping.

    If I am not wrong you want to have one field and its value should be counter or no of hierarchy till it reaches no_manager or CEO of the company.

    First you have to perform full load ( its better to go with empjob odata entity since Compound Employee query take more time compare to empJob) and then you have to traverse it and calculate the value till counter reaches no_manager.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded