You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
This is to test RON XML-API Request and Response
The data is configured against the sales-trinity software organsation the test URL -https://ron.respax.com.au:30443/section/xmlrpc/server-ron.php?config=train
Method - readToursBases
Output- XML Request and Response
Host - Sales - Trinity Software
XML Request<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>readTourBases</methodName>
<params>
<param>
<value>
<string>SALES</string>
</value>
</param>
<param>
<value>
<string>RONSAMPLE</string>
</value>
</param>
</params>
</methodCall>
XML Response<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<struct>
<member>
<name>strTourCode</name>
<value>
<string>RONSAMPLE</string>
</value>
</member>
<member>
<name>intBasisID</name>
<value>
<int>110</int>
</value>
</member>
<member>
<name>strBasisDesc</name>
<value>
<string>Standard</string>
</value>
</member>
<member>
<name>strBasisDesc2</name>
<value>
<string/>
</value>
</member>
<member>
<name>ysnWebEnabledBasis</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>intSubBasisID</name>
<value>
<int>161</int>
</value>
</member>
<member>
<name>strSubBasisDesc</name>
<value>
<string>Standard</string>
</value>
</member>
<member>
<name>ysnWebEnabledSubBasis</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>intFixedNoPax</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>intDurationDays</name>
<value>
<int>1</int>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>strTourCode</name>
<value>
<string>RONSAMPLE</string>
</value>
</member>
<member>
<name>intBasisID</name>
<value>
<int>111</int>
</value>
</member>
<member>
<name>strBasisDesc</name>
<value>
<string>Upgrade</string>
</value>
</member>
<member>
<name>strBasisDesc2</name>
<value>
<string/>
</value>
</member>
<member>
<name>ysnWebEnabledBasis</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>intSubBasisID</name>
<value>
<int>163</int>
</value>
</member>
<member>
<name>strSubBasisDesc</name>
<value>
<string>A</string>
</value>
</member>
<member>
<name>ysnWebEnabledSubBasis</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>intFixedNoPax</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>intDurationDays</name>
<value>
<int>1</int>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>strTourCode</name>
<value>
<string>RONSAMPLE</string>
</value>
</member>
<member>
<name>intBasisID</name>
<value>
<int>111</int>
</value>
</member>
<member>
<name>strBasisDesc</name>
<value>
<string>Upgrade</string>
</value>
</member>
<member>
<name>strBasisDesc2</name>
<value>
<string/>
</value>
</member>
<member>
<name>ysnWebEnabledBasis</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>intSubBasisID</name>
<value>
<int>164</int>
</value>
</member>
<member>
<name>strSubBasisDesc</name>
<value>
<string>B</string>
</value>
</member>
<member>
<name>ysnWebEnabledSubBasis</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>intFixedNoPax</name>
<value>
<int>0</int>
</value>
</member>
<member>
<name>intDurationDays</name>
<value>
<int>1</int>
</value>
</member>
</struct>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>