Preheat oven to 200°C.
Peel and finely grate the potatoes. Cut ham into strips. Wash and chop parsley.
Mix ham, potatoes, eggs, flour, milk, oil and spices.
Put the mixture into a form and bake at 180°C for about 60 minutes.