Unterabteilungen
Request
GET /api/v1/departments/:id/children
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/departments/1/children' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": [
{
"id": 2,
"parent_id": 1,
"name": "Test",
"description": null,
"comments": null,
"status": null,
"created": "2024-08-27T10:37:37.000000Z",
"modified": "2024-08-27T10:37:37.000000Z"
}
]
}