-
Notifications
You must be signed in to change notification settings - Fork 1
endpoints.Work.Work
Yaroslav Surzhikov edited this page Aug 7, 2020
·
1 revision
| history(employee_id)List employee's work history. Returns a list of work history entries for a given employee
Arguments:
-
employee_idstr - employee id
References:
| create_entry(employee_id, reason, effective_date, title, department, site, site_id, reports_to)Creates a new work entry for a given employee
Arguments:
-
employee_idstr - employee id -
reasonstr - reason for this change -
effective_datedate - the date this entry becomes effective -
titlestr - work title -
departmentstr - employee's department -
sitestr - job location -
site_idint - job location id -
reports_tostr - The manager's employee id
References:
| delete_entry(employee_id, entry_id)Deletes a work entry from the employees list
Arguments:
-
employee_idstr - employee id -
entry_idint - the entry id to delete
References:
| update_entry(employee_id, entry_id, reason, effective_date, title, department, site, site_id, reports_to)Updates a work entry from the employees list
Arguments:
-
employee_idstr - employee id -
entry_idint - the entry id to update -
reasonstr - reason for this change -
effective_datedate - the date this entry becomes effective -
titlestr - work title -
departmentstr - employee's department -
sitestr - job location -
site_idint - job location id -
reports_tostr - The manager's employee id
References: