New API version v6.13.17 has been released! 🎉
REST Documentation
GET Departments

Get All Departments

You can use this endpoint to call up a paginated list of all departments.

Request

GET /api/v1/departments
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/departments' \
     --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"
		},
		{
			"id": 2
			// ...
		}
	]
}