Employee_Dependent.getDependents(String empId)
This Employee_Dependent.getDependents(String empId) method allows you to delete a dependent of an employee from the system.
Arguments
emp id : The string type mandatory argument.
Returns
Returns a json string with all the dependents where dependentId 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
- InvalidEmp: If employee id is invalid or view access is not allowed to employee / dependent record for the current user
Object Methods
Click on each of these links to know more about them: