def patch_appointment(appointment_id): return Response( dumps( { 'response' : AppointmentController.untrack_appointment(appointment_id) } ), mimetype='application/json', status=200 )
def post_appointment(): return Response( dumps( { 'response' : AppointmentController.post_appointment() } ), mimetype='application/json', status=200 )
def get_appointments(doctor_id): return Response( dumps( { 'response' : AppointmentController.get_appointments(doctor_id) } ), mimetype='application/json', status=200 )