-
Notifications
You must be signed in to change notification settings - Fork 2
endpoints.People.People
| @property
| employment()
Returns:
Instance of endpoints.Employment.Employment
| @property
| work()
Returns:
Instance of endpoints.Work.Work
| @property
| salaries()
Returns:
Instance of endpoints.Salaries.Salaries
| @property
| variable_payments()
Returns:
Instance of endpoints.VariablePayments.VariablePayments
| @property
| training()
Returns:
Instance of endpoints.Training.Training
| @property
| equities()
Returns:
Instance of endpoints.Equities.Equities
| list(show_inactive=False)
Read company people
List of all active people of the company, data is filtered based on the access level of the logged-in user.
Only viewable categories are returned.
Arguments:
-
show_inactive
bool - should include inactive employees
References:
| search_employee(identifier)
Read company people by id or email
Returns the employee by the specified id or email.
Arguments:
-
identifier
str - employee id or email
References:
| uninvite(employee_id)
Revoke access to bob for employee
Arguments:
-
employee_id
str - employee id
References:
| invite(employee_id, wizard_id)
Invite an employee with a welcome wizard Id.
Arguments:
-
employee_id
str - employee id -
wizard_id
int -
References:
| start_date(employee_id, start_date, reason=None)
Set or update employee's start-date.
Arguments:
-
employee_id
str - employee id -
start_date
date - the date this entry becomes effective -
reason
str - additional info for the start date update
References:
| profiles(sort_by="firstName")
Read public profile section of an employee Returns the public section of all the active employees of the logged-in user company
Arguments:
-
sort_by
str - optional field name to sort by, defaults to firstName
References:
| read_avatar(email)
Read avatar for an employee
Arguments:
-
email
str - employee email
References:
| read_avatar_by_id(employee_id)
Read avatar for an employee id
Arguments:
-
employee_id
str - employee id
References:
| upload_avatar_by_id(employee_id, url)
Upload employee's avatar by providing a URL to the image to upload.
Arguments:
-
employee_id
str - employee id -
url
str - the image to upload.
References:
| my_avatar()
Read logged-in user avatar
References:
| update_email(employee_id, email)
Change an employee's email. Can't change self email, an invitation will be sent to the new address to verify the email if the employee is invited/active
Arguments:
-
employee_id
str - employee id -
email
str - new employee's email
References:
| lifecycle(employee_id)
List employee's life-cycle status history Returns a list of life-cycle history entries for a given employee.
Arguments:
-
employee_id
str - employee id
References: