For more information, please refer to this announcement explaining best practices for getting answers to questions.
How to get the departments hierarchy in hcmRestApi REST API
Summary:
How to get the departments hierarchy in hcmRestApi REST API.
Content (please ensure you mask any confidential information):
I need to get create the department tree.
I'm using "/hcmRestApi/resources/11.13.18.05/organizations" this end point to get the list of organizations/departments.
I was unable to locate any mapping field for the parent and child relationship. Is there a specific field designated for mapping, or is there an alternative endpoint that can be utilized to achieve the same result?
Version (include the version you are using, if applicable):
23D (11.13.23.10.0)
Code Snippet (add any code snippets that support your topic, if applicable):