Employee_Address.getCurrentAddress(String empId)
The Employee_Address.getCurrentAddress(String empId) method allows you to get the current address of an employee from the system.
Arguments
emp id : The string type mandatory argument.
Returns
Returns a json string with current address where current
addressInfoId is the primary key and will have to be used in subsequent delete, update calls.
Errors
- Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
- InvalidAddress: If address id is invalid or view access is not allowed to employee / current address id record for the current user
Object Methods
- addCurrentAddress()
- updateCurrentAddress()
- getPermanentAddress()
- addPermanentAddress()
- updatePermanentAddress()
- getEmergencyContact()
- addEmergencyAddress()
- updateEmergencyAddress()
- deleteAddress()
- getAllAddress()
Click on each of these links to know more about them: