Whenever necessary to make an inspection to enforce any ordinance or resolution, or whenever there is reasonable cause to believe there exists an ordinance or resolution violation in any building or upon any premises within the jurisdiction of the city any authorized official of the city, may, upon presentation of proper credentials, enter such building or premises at all reasonable times to inspect the same or to perform any duty imposed upon him by ordinance; provided, that except in emergency situations he shall give the owner and/or occupant, if they can be located after reasonable effort, twelve hours' written notice of the authorized official's intention to inspect. In the event the owner and/or occupant refuses entry, the official is empowered to seek assistance from any court of competent jurisdiction in obtaining such entry.
(Added during codification in accordance with K.S.A. 12-3015)