fixed API methods for scheduled maintenance periods