---
title: "DepartmentByDepartmentId (Loket.nl REST)"
description: "Department by Department ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Departments.DepartmentByDepartmentId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Departments.DepartmentByDepartmentId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# DepartmentByDepartmentId: Loket.nl REST Department by Department ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `Departments`
- Label: Department by Department ID

Details of a department
__Activity name:__ GetDepartmentByDepartmentId

Get the details of department


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/departments/{departmentId}`
- Operation: `get /providers/employers/departments/{departmentId}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `departmentId` | `` | [x] |  | The unique identifier of the department |

## Table Columns

The columns of the table `DepartmentByDepartmentId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `code` | `int32` | Code | [ ] |  | The visible identifier of the department.  |
| `description` | `varchar2(50)` | Description | [ ] |  | The visible description (i.e. name) of the department.  |
| `emailLeaveRequest` | `varchar2(255)` | Email Address for Leave Requests | [ ] |  | Recipient e-mail adress for notification in case of leave requests. Typically this is the mailadress of a manager that would get a notification mail when a new leave requet is to be processed. |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID)  |
| `subDepartmentOf_code` | `int32` | itgen_loketnl_subdepartmentof_code | [ ] |  |  |
| `subDepartmentOf_description` | `varchar2(50)` | itgen_loketnl_subdepartmentof_description | [ ] |  |  |
| `subDepartmentOf_key` | `guid` | itgen_loketnl_subdepartmentof_key | [ ] |  | The unique identifier of an object (GUID/UUID)  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

