Preheat oven to 350° F. Whisk mayonnaise and flour together in a medium bowl. Add milk and eggs, whisk together until mixture is smooth. Add ham, broccoli, onion and cheese. Pour mixture into pie crust. Sprinkle with parsley. Bake for 50 to 60 minutes. Let stand 10 minutes before serving.