# FxUI.organization.getDepartmentById(departmentId)

This method obtains the department information by the department ID.

# parameter

parameter illustrate type Optional value Default value
departmentId Department ID string、number

# usage

This method returns department information, as shown in the following example:

const department = FxUI.organization.getDepartmentById(1000);
console.log(department);
lastUpdate: 10/21/2022, 5:22:27 PM