This method allows you to delete a dependent of an employee from the system.
emp id : The string type mandatory argument.
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.
- 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
Click on each of these links to know more about them: