I am working on a project. I want the api which will return the details of people working under a person in the workday enterprise edition or using Microsoft teams enterprise edition. For example, if we give the details of the manager, we need to get the details of all the people working under him.
Also please mention what all details we need to provide to get the details. And what all details we will be recieving?