Employee_Address.getAllAddress(String empId)
This Employee_Address.getAllAddress(String empId) method allows you to get all types of address for an employee from the system.
Arguments
emp id : The string type mandatory argument.
Returns
Returns a json string with all the address types.
Errors
- Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
- InvalidAddress: If addressInfoId is invalid or view access is not allowed to employee for the current user
Object Methods
- getCurrentAddress()
- addCurrentAddress()
- updateCurrentAddress()
- getPermanentAddress()
- addPermanentAddress()
- updatePermanentAddress()
- getEmergencyContact()
- addEmergencyAddress()
- updateEmergencyAddress()
- deleteAddress()
Click on each of these links to know more about them: