Get Department Details
You can use this endpoint to call up a single department.
Request
GET /api/v1/departments/:id
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/departments/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": {
"id": 1,
"name": "quas et porro",
"description": "Fuga quos et voluptate vero aut voluptatem laudantium. A deleniti labore eveniet ducimus animi consequatur occaecati. Incidunt nesciunt minima vitae occaecati aut in tempora.",
"comments": null,
"status": 1,
"created": "2024-01-26T13:07:10.000000Z",
"modified": "2024-01-26T13:07:10.000000Z"
}
}