English
getEmployeesByIds
About 120 wordsLess than 1 minute
2025-12-16
This method gets employee information by employee IDs.
Syntax: FxUI.organization.getEmployeesByIds(employeeIds)
Parameters
| Parameter | Description | Type | Allowed Values | Default |
|---|---|---|---|---|
| employeeIds | Employee IDs | array | — | — |
Example
FxUI.organization.getEmployeesByIds([1000,1001])Return Value
This method returns employee information, as shown below:
[{
"type": "p",
"mainDepartment": 999998, // main department
"createTime": 1524191770454, // creation time
"email": "fxiaoke@fxiaoke.com", // employee email
"id": 1000, // employee ID
"name": "Fxiaoke Super Administrator", // name
"profileImage": "https://ceshi112.fspage.com/html/fx-libs/1.0.0/assets/images/employee_default_120_120.png", // avatar
"nameSpell": "FENXIANGXIAOKECHAOJIGUANLIYUAN" // name pinyin
},{
"type": "p",
"mainDepartment": 999998, // main department
"createTime": 1524214135200, // creation time
"email": "zhangsan@fxiaoke.com", // employee email
"id": 1001, // employee ID
"name": "Zhang San", // name
"profileImage": "https://ceshi112.fspage.com/html/fx-libs/1.0.0/assets/images/employee_default_120_120.png", // avatar
"nameSpell": "ZHANGSAN" // name pinyin
}]