How much advanced notice does the administrative authority require for inspection?

How much advanced notice does the administrative authority require for inspection?