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