An Employee object
Create a custom field in employee form
Request body
List all employee fields in employee form
Find the details of an employee by ID
Employee ID
List all employees
// Get the first page of list of employees with default sort order
const empList = await ft.employees.list().json();
// Set sort key and sort type and paginate
// Get list of employees sorted by first_name in ascending order
const page1 = await ft.employees.list({
sort: "first_name",
sort_type: "asc",
page: 1
});
// Get page 2 of the same query as above
const page2 = await ft.employees.list({
sort: "first_name",
sort_type: "asc",
page: 2
});
Update an existing employee data
Employee ID
Employee to update
Generated using TypeDoc
Create an employee