Smartpoint Cloud Connector XML Transactions
RequestSingleTransaction: this method sends a request with a single XML transaction and sends back the XML Response. It does not clear nor modify the xml transactions queue.
Example
Copy
var message = new MessageRequest
{
id = Guid.NewGuid().ToString(),
type = "xmlTransaction",
operation = "<PNRBFManagement_56><PNRBFRetrieveMods><CurrentPNR /></PNRBFRetrieveMods><FareRedisplayMods><DisplayAction><Action>I</Action></DisplayAction></FareRedisplayMods></PNRBFManagement_56>",
windowNumber = "1",
};
// stringify message
webView.CoreWebView2.PostWebMessageAsJson(JsonConvert.SerializeObject(message));