You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is it possible to get users with all managers hierarchy through Rest API call?

in Sales 4 comments

Hi,

We want to expose via Rest API call a user and all his superior managers. Let's say I have a user which has a manager, and his manager has also a manager, and so on. How can I get the user's managers via Rest API?

I've tried the following endpoint /crmRestApi/resources/11.13.18.05/resourceUsers , but I need to make a call for each user/manager in order to have the complete picture of the hierarchy.

I've also try to user the following endpoint /crmRestApi/resources/11.13.18.05/resources?q=RecordSet='ORA_MYMANAGERANDPEERS' , but I need to make an integration with the Rest API call and I cannot use the basic authentication with the logged in user in order to get the results.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!