Change getAppointmentIds to getAppointments

And also this methods will return List<Appointment> instead of
List<BigInteger>