XML checkReservationAndPrices
- Former user (Deleted)
Owned by Former user (Deleted)
This is to test RON XML-API Request and Response
The data is configured against the sales-trinity software organisation the test URL -https://ron.respax.com.au:30443/section/xmlrpc/server-ron.php?config=train
Method - checkReservationAndPrice
Output- XML Request and Response
Host - Sales - Trinity Software
Scenario 1
1. Standard/Standard Monday
1 x Adult
No Pickup selected
Expand for checkReservationAndPrices XMLÂ Expand source
XML Request<?xml version="1.0" encoding="iso-8859-1"?> <methodCall> <methodName>checkReservationAndPrices</methodName> <params> <param> <value> <string>SALES</string> </value> </param> <param> <value> <struct> <member> <name>ysnIsConfirmed</name> <value> <int>-1</int> </value> </member> <member> <name>strTourCode</name> <value> <string>RONSAMPLE</string> </value> </member> <member> <name>intBasisID</name> <value> <string>110</string> </value> </member> <member> <name>intRoomTypeID</name> <value> <string>161</string> </value> </member> <member> <name>dteTourDate</name> <value> <string>12-10-2015</string> </value> </member> <member> <name>intTourTimeID</name> <value> <string>112</string> </value> </member> <member> <name>intNoPax_Adults</name> <value> <string>1</string> </value> </member> <member> <name>intNoPax_Child</name> <value> <string>0</string> </value> </member> <member> <name>intNoPax_Infant</name> <value> <string>0</string> </value> </member> <member> <name>intNoPax_FOC</name> <value> <string>0</string> </value> </member> <member> <name>intNoPax_UDef1</name> <value> <string>0</string> </value> </member> <member> <name>strPaxFirstName</name> <value> <string>Test</string> </value> </member> <member> <name>strPaxLastName</name> <value> <string>Ron</string> </value> </member> <member> <name>strPickupKey</name> <value> <string/> </value> </member> <member> <name>strDropoffKey</name> <value> <string/> </value> </member> <member> <name>intPaxCountryID</name> <value> <string/> </value> </member> <member> <name>intPaxSourceID</name> <value> <string/> </value> </member> </struct> </value> </param> <param> <value> <struct> <member> <name>strPaymentOption</name> <value> <string>full-agent</string> </value> </member> </struct> </value> </param> </params> </methodCall> XML Response<?xml version="1.0" encoding="iso-8859-1"?> <methodResponse> <params> <param> <value> <struct> <member> <name>arrCheckReservation</name> <value> <array> <data/> </array> </value> </member> <member> <name>arrReadTourPrices</name> <value> <struct> <member> <name>curAdultTourSell</name> <value> <double>100</double> </value> </member> <member> <name>curAdultTourLevy</name> <value> <double>0</double> </value> </member> <member> <name>curChildTourSell</name> <value> <double>50</double> </value> </member> <member> <name>curChildTourLevy</name> <value> <double>0</double> </value> </member> <member> <name>curInfantTourSell</name> <value> <double>0</double> </value> </member> <member> <name>curInfantTourLevy</name> <value> <double>0</double> </value> </member> <member> <name>curFOCTourSell</name> <value> <double>0</double> </value> </member> <member> <name>curFOCTourLevy</name> <value> <double>0</double> </value> </member> <member> <name>curUDef1TourSell</name> <value> <double>0</double> </value> </member> <member> <name>curUDef1TourLevy</name> <value> <double>0</double> </value> </member> <member> <name>dblAdultCommission</name> <value> <double>10</double> </value> </member> <member> <name>dblChildCommission</name> <value> <double>10</double> </value> </member> <member> <name>dblInfantCommission</name> <value> <double>0</double> </value> </member> <member> <name>dblFOCCommission</name> <value> <double>0</double> </value> </member> <member> <name>dblUDef1Commission</name> <value> <double>0</double> </value> </member> <member> <name>curDeposit</name> <value> <double>100</double> </value> </member> <member> <name>curBookingFee</name> <value> <double>0</double> </value> </member> <member> <name>curCardFee</name> <value> <double>0</double> </value> </member> <member> <name>curPayOnBoard</name> <value> <double>0</double> </value> </member> <member> <name>curTourLevy</name> <value> <double>0</double> </value> </member> <member> <name>curTotal</name> <value> <double>100</double> </value> </member> <member> <name>curDepositCardFee</name> <value> <double>0</double> </value> </member> <member> <name>curPayOnBoardCardFee</name> <value> <double>0</double> </value> </member> <member> <name>curTotalCardFee</name> <value> <double>0</double> </value> </member> <member> <name>strCurrencyType</name> <value> <string>AUD</string> </value> </member> <member> <name>strCurrencySymbol</name> <value> <string>$</string> </value> </member> <member> <name>strPaymentOption</name> <value> <string>full-ccard</string> </value> </member> <member> <name>boolAdultAssoc</name> <value> <boolean>1</boolean> </value> </member> <member> <name>boolChildAssoc</name> <value> <boolean>1</boolean> </value> </member> <member> <name>boolInfantAssoc</name> <value> <boolean>1</boolean> </value> </member> <member> <name>boolFOCAssoc</name> <value> <boolean>0</boolean> </value> </member> <member> <name>boolUDef1Assoc</name> <value> <boolean>0</boolean> </value> </member> </struct> </value> </member> </struct> </value> </param> </params> </methodResponse>