Employee_Address.getPermanentAddressString empId)
This Employee_Address.getPermanentAddressString empId) method allows you to get the permanent address of an employee from the system.
Arguments
emp id : The string type mandatory argument.
Returns
Returns a json string with permanent address where 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 addressInfoId is invalid or view access is not allowed to employee / permanent address id record for the current user
Object Methods
- getCurrentAddress()
- addCurrentAddress()
- updateCurrentAddress()
- addPermanentAddress()
- updatePermanentAddress()
- getEmergencyContact()
- addEmergencyAddress()
- updateEmergencyAddress()
- deleteAddress()
- getAllAddress()
Click on each of these links to know more about them: