Updated semi-schedulingAPI.js