Added apiVersion to additional parameters scala