Error handling added
Refactoring on request parameter validation + added transport type for schedules