talenox_list_employees
List employees
List the company's employees as a short summary (id, employee_id, names, email, hired/resign dates, current job). Talenox returns every employee in one reply, so use search to narrow and limit/offset to page here. Use talenox_get_employee for the full record. Sensitive fields (national id, passport, bank account) are never included.
輸入參數limitoffsetsearchstatus
talenox_get_employee
Get an employee
Get one employee's full record: personal details, jobs, cost centres, custom fields. National id, passport, bank account and health fields are left out unless include_sensitive is true.
輸入參數id必填include_sensitive
talenox_get_job
Get a job record
Get one job record of an employee (title, department, start/end date, pay amount and rate, currency). Job ids are in the employee's `jobs` list.
輸入參數id必填
talenox_list_branches
List branches
List the company's branches with their head and employee ids.
無需輸入參數。
talenox_get_branch
Get a branch
Get one branch (name, address, head, employee ids).
輸入參數id必填
talenox_list_cost_centres
List cost centres
List the company's cost centres with their employee ids.
無需輸入參數。
talenox_list_roles
List employee roles
List the company's employee roles (access roles).
無需輸入參數。
talenox_get_role
Get an employee role
Get one employee role.
輸入參數id必填
talenox_get_company_settings
Get company settings
Get the company's API-related settings (for example whether an employee may belong to several cost centres).
無需輸入參數。
talenox_list_working_days
List working-day schedules
List the working-day schedules (weekly pattern Sunday to Saturday: full_day, first_half, second_half, not_working) and who is on each.
無需輸入參數。
talenox_get_working_day
Get a working-day schedule
Get one working-day schedule.
輸入參數id必填
talenox_list_holiday_policies
List holiday policies
List the company's public-holiday policies (country, state, default flag). Paged: pass next_last_seen_id as last_seen_id.
輸入參數limitlast_seen_id
talenox_get_holiday_policy
Get a holiday policy
Get one holiday policy with its calendar events between two dates.
輸入參數id必填end_at必填start_at必填
talenox_list_company_holidays
List company holidays
List the company's holidays (from its default holiday policy) for a year.
輸入參數yearshow_inactive
talenox_list_leave_applications
List leave applications
List leave applications that overlap a date range, optionally by status, employee, approver or leave type. Paged: pass next_last_seen_id as last_seen_id. Uses Talenox's leave API (beta).
輸入參數limitstatuscategoryoverlap_to必填approver_idcategory_idemployee_idlast_seen_idoverlap_from必填
talenox_get_leave_application
Get a leave application
Get one leave application (employee, dates, half-day markers, amount, status, approvers, attachments).
輸入參數id必填
talenox_list_leave_types
List leave types
List the leave types of the company, or those an employee may apply for (employee_id). Paged: pass next_last_seen_id as last_seen_id.
輸入參數limitemployee_idlast_seen_id
talenox_get_leave_type
Get a leave type
Get one leave type (name, half-day allowed, quantity type, policy dates).
輸入參數id必填
talenox_get_leave_balance
Get leave balances
Get an employee's leave balance on a date, for every leave type or for one (leave_type_id). A type that does not apply to the employee comes back with an error text instead of a balance.
輸入參數query_date必填employee_id必填leave_type_id
talenox_get_leave_entitlement_period
Get leave entitlement periods
Get the entitlement periods (start and end dates) of one leave type for an employee around a date.
輸入參數query_date必填employee_id必填leave_type_id必填
talenox_list_off_in_lieus
List off in lieu types
List the off-in-lieu types of the company, or of one employee. Paged: pass next_last_seen_id as last_seen_id.
輸入參數employee_idlast_seen_id
talenox_get_off_in_lieu_balance
Get off in lieu balances
Get an employee's off-in-lieu balance on a date, for every off in lieu or for one (off_in_lieu_id).
輸入參數query_date必填employee_id必填off_in_lieu_id
talenox_list_payroll_payments
List payroll payments
List the payroll payment runs of a month (period, pay group, status Draft or Processed, bank file state).
輸入參數year必填month必填created_by_webhook
talenox_get_payroll_payment
Get a payroll payment
Get one payroll payment run (period, status, bank file and cheque export state).
輸入參數id必填
talenox_list_custom_pay_items
List custom pay items
List the company's pay item definitions (name, category such as Adhoc or Recurring, taxable, gross/net setting).
無需輸入參數。
talenox_get_payslips_data
Get payslip data
Get the payslip figures (gross, net, deductions, year-to-date) of a month as data, for all employees or the listed ones. Read only: nothing is created, processed or published. Contains salary data.
輸入參數year必填month必填employee_ids
talenox_approve_leave_application
Approve a leave application
WRITE: approve a leave application as the token's user. The employee's balance and payroll are affected and Talenox may notify them. Read the application first (talenox_get_leave_application) and confirm with the user.
輸入參數id必填
talenox_reject_leave_application
Reject a leave application
WRITE: reject a leave application as the token's user. Talenox may notify the employee. Read the application first (talenox_get_leave_application) and confirm with the user.
輸入參數id必填