getAllEmploymentHistories

Employee_EmploymentHistory.getAllEmploymentHistories(String empId)

This method returns all the previous employment histories of the employee.

Arguments

empid : String type mandatory argument that stores the employee id of the employee.

Returns

Returns a json string with all the employment history details of the employee where employmentHistoryId is the primary key and will have to be used in subsequent delete, update calls.

Errors
  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passed In
  • ┬áInvalidEmp: If employee id is invalid or view access is not allowed to employee / employment history record for the current user

Object Methods

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