An REST API for PMS interfacing