updateBeneficiary

Employee_Beneficiary.updateBeneficiary(WS_Employee_Beneficiary employeeBeneficiary)

This Employee_Beneficiary.updateBeneficiary(WS_Employee_Beneficiary employeeBeneficiary) method allows you to update the details of the existing beneficiary.

Arguments

WS_Employee_Beneficiary : The class type mandatory argument.

Returns

Success 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 passedIn
  •  InvalidEmp: If employee id is invalid or update access is not allowed to employee / beneficiary record for the current user
  •  InvalidBeneficiary: If the beneficiaryId is invalid or does not map to the employee.
  •  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: