using REST API for managing maintenance scheduling