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": "Entwicklung",
"description": null,
"comments": null,
"status": null,
"created": null,
"modified": "2025-04-04T06:40:01.000000Z"
},
{
"id": 3,
"parent_id": 1,
"name": "Vertrieb",
"description": "Vertrieb und Geschäftsentwicklung",
"comments": null,
"status": 1,
"created": null,
"modified": null
},
{
"id": 4,
"parent_id": 1,
"name": "Marketing",
"description": null,
"comments": null,
"status": 1,
"created": null,
"modified": "2023-12-20T17:25:49.000000Z"
}
]
}