refine schedule REST API