getDepartmentsTree
READGet departments tree.
POST /api/v1/people/getDepartmentsTree
curl -X POST '<your-host>/api/v1/people/getDepartmentsTree' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json'Response
{
"results": [
{
"id": "string",
"name": "string",
"parentDepartmentId": "string"
}
],
"count": null
}Parameters
This operation takes no arguments.
Input schema
schema
{
"type": "object",
"properties": {}
}