Skip to content

endpoints.Training.Training

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

Training methods

list

 | list(employee_id)

List employee's training records

Arguments:

  • employee_id str - employee id

References:


create_entry

 | create_entry(employee_id, reason, effective_date, name, description, cost_value, cost_currency, status, frequency, start_date, end_date, document_id)

Creates a new training records 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
  • name str - Name of the training entry. The name must be of an item in the training list field
  • description str - Further description about the training entry
  • cost_value float -
  • cost_currency str - 3 letter currency code
  • status str - Status of the training entry
  • frequency str - Frequency of the training entry. The name must be of an item in the frequency list field
  • start_date date - the date this entry becomes effective
  • end_date date - date of training completion
  • document_id float - Document id of the document attached to this training entry

References:


delete_entry

 | delete_entry(employee_id, entry_id)

Deletes a training record for an employee

Arguments:

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

References: