cancel
Showing results for 
Search instead for 
Did you mean: 

SuccessFactors : How to fetch Direct Reports using API or SDK

0 Kudos

Hi all,

I have a business requirement where I need to fetch all the direct reports for a manager.

Is there a way to achieve this using existing APIs or SDK ?

AlexGourdet
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for visiting SAP Community to get answers to your questions.

As you're looking to get most out of your community membership, please consider include a profile picture to increase user engagement & additional resources to your reference that can really benefit you:

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

All the best,

Alex

Accepted Solutions (0)

Answers (1)

Answers (1)

nathanhand1
Explorer
0 Kudos

Sure, that's a simple call such as the below where SuccessFactorsAPI is the API in which your SF instance resides and the sfUserId is the userId of the manager.

https://{SuccessFactorsAPI}/odata/v2/User('{sfUserId}')/directReports

Get the SF API from Here although I would call this via your destination, not directly like this as then you would need to provide auth in your app.

I'd really just check out the SF API next time as this will have the data to such queries.