Employee_Travel.getTravelRecordsForEmployee(String empId)
The Employee_Travel.getTravelRecordsForEmployee method allows you to get all the travel records of an employee from the system.
Arguments
empId : The string type mandatory argument for employee id.
Returns
Returns a json string with all the expense records for that employee where travelRequestId 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 passed In.
- InvalidEmp: If employee id is invalid or view access is not allowed to employee / travel record for the current user
Object Methods
Click on each of these links to know more about them: