addEmploymentHistory

Employee_EmploymentHistory.addEmploymentHistory (WS_Employee_EmploymentHistory employeeEmploymentHistory)

This Employee_EmploymentHistory.addEmploymentHistory (WS_Employee_EmploymentHistory employeeEmploymentHistory) method allows you to add employment history for an employee.

Arguments

WS_Employee_EmploymentHistory : The class type mandatory argument.

Returns

employmentHistoryId output if the operation succeeded. An exception if an error is encountered

Errors
  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passed In
  •  InvalidEmp: If employee id is invalid or update access is not allowed to employee / employment History record for the current user
  • Invalid Parameter: If passed in parameter is not recognizable with parameter name
  •  Invalid Value: If passed in parameter value is not appropriate

Object Methods

Click on each of these links to know more about them: