deleteAddress

Employee_Address.deleteAddress(String empId,int addressInfoId)

The Employee_Address.deleteAddress(String empId,int addressInfoId) method allows you to delete an address of an employee from the system.

Arguments
  • empId : String type mandatory argument that stores the employee id of the associated beneficiary.
  • addressInfoId: Integer type mandatory argument that stores the address id.
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
  • InvalidAddress: If address id is invalid or does not map to the employee.

Object Methods

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