Adding the method stub for api validation logic