Rest API that will fetch the manager details and also the associates who reports to him when we pass the Employee id through the web page.
So such that when we give the Employee id then it should hit the API that will fetch the details of Associate. And if the associate is Manager then it should fetch the reportees under him if not don't fetch anything.