add time_slot API method