Employee_Dependent.addDependent (WS_Employee_Dependent employeeDependent)

The method allows you to add a new dependent of an employee to the system.


WS_Employee_Dependent : The class type mandatory argument.


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

  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
  •  InvalidEmp: If employee id is invalid or update access is not allowed to employee / dependent 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: