Skip to Content
0

Successfactors Compound employee API - Manager ID field

Mar 22, 2017 at 01:56 AM

187

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sriprasad Shivaram Bhat Mar 22, 2017 at 10:50 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded