Skip to content

endpoints.Work.Work

Yaroslav Surzhikov edited this page Aug 7, 2020 · 1 revision

Work methods

history

 | history(employee_id)

List employee's work history. Returns a list of work history entries for a given employee

Arguments:

  • employee_id str - employee id

References:


create_entry

 | 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_id str - employee id
  • reason str - reason for this change
  • effective_date date - the date this entry becomes effective
  • title str - work title
  • department str - employee's department
  • site str - job location
  • site_id int - job location id
  • reports_to str - The manager's employee id

References:


delete_entry

 | delete_entry(employee_id, entry_id)

Deletes a work entry from the employees list

Arguments:

  • employee_id str - employee id
  • entry_id int - the entry id to delete

References:


update_entry

 | 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_id str - employee id
  • entry_id int - the entry id to update
  • reason str - reason for this change
  • effective_date date - the date this entry becomes effective
  • title str - work title
  • department str - employee's department
  • site str - job location
  • site_id int - job location id
  • reports_to str - The manager's employee id

References:

Clone this wiki locally