on 11-07-2022 5:11 PM
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 ?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.