Api controller return json format timetable finished