Departments
Introduction
Departments represent locations or user groups within the customer system and serve as the starting point of the permission system.
They are used to structure organizational units, which are essential for assigning permissions and managing access to content in various modules.
The assignment of content is typically based either on specific Users or on the associated Department.
Model Definition
Alias
department
Relations
List
Get a list of all Departments.
Definition
GET /api/departments
Example Request
Example Response
Show
Show a single Department by id.
Definition
GET /api/departments/{id}
Example Request
Example Response
Show availability information
Show the "availability information" for Departments
Definition
GET /api/departments/availability-information
Example Request
Example Response
Create
Create a new Department.
Definition
POST /api/departments
Request Keys
name *
string
-
The name of the Department.
Keys with * are required.
The request can fail if the maximum number of Departments is already reached.
Example Request
Example Response
Update
Update an existing Department by id.
Definition
PUT /api/departments/{id}
Request Keys
name
string
The name of the Department.
Example Request
Example Response
Delete
Delete an existing Department by id.
Definition
DELETE /api/departments/{id}
Example Request
Example Response
Last updated