add new api calls for schedule-server and query-data