Rest Interface to XAP