Configured the api to use parameters.