API Controller now handle default value for parameters