Employee_Address.deleteAddress(String empId,int addressInfoId)
The method allows you to delete an address of an employee from the system.
- empId : String type mandatory argument that stores the employee id of the associated beneficiary.
- addressInfoId: Integer type mandatory argument that stores the address id.
Success 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
- InvalidAddress: If address id is invalid or does not map to the employee.
Click on each of these links to know more about them: