Headers

Path parameters

  • id integer Required

    id

Responses

GET /api-v1/department/tree/{id}
curl \
 --request GET 'https://wyzio.app/api-v1/department/tree/{id}' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "children": [
      {}
    ],
    "id": 42,
    "isDeleted": true,
    "name": "string",
    "parentId": 42,
    "position": 42
  }
]