# Get departments Endpoint: GET /POSSystem/GetDepartments Version: 1.1.0 Security: ApiKeyAuth ## Response 200 fields (application/json): - `_id` (string) Unique identifier Example: "6c0df0b4-4a8a-4278-8b47-5e68f32b6658" - `createdOnUTC` (string) Timestamp when the entity was created (UTC) Example: "2025-01-23T12:34:56Z" - `createdByUserName` (string) Username of the creator Example: "Peter" - `modifiedOnUTC` (any) Timestamp when the entity was last modified (UTC) - `modifiedByUserName` (any) Username of the last modifying user - `name` (string) Department name. - `discountRate` (number) Default discount rate for this department. - `isActive` (boolean) Indicates whether the department is active. - `sort` (integer) Sort order for displaying the department. Example: 99999999 - `tables` (any) List of tables belonging to this department.