api parameter passing resolved