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 organisation the test URL -https://ron.respax.com.au:30443/section/xmlrpc/server-ron.php?config=train
Method - readTours
Output- XML Request and Response
Host - Sales - Trinity Software
XML Request<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>readTours</methodName>
<params>
<param>
<value>
<string>SALES</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>GRAND</string>
</value>
</member>
<member>
<name>strTourName</name>
<value>
<string>Expensive Tour</string>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>strTourCode</name>
<value>
<string>REEF</string>
</value>
</member>
<member>
<name>strTourName</name>
<value>
<string>Reef Day Trip</string>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>strTourCode</name>
<value>
<string>RONSAMPLE</string>
</value>
</member>
<member>
<name>strTourName</name>
<value>
<string>ResPax Operator Network Tour Sample</string>
</value>
</member>
</struct>
</value>
<value>
<struct>
<member>
<name>strTourCode</name>
<value>
<string>TOUR1</string>
</value>
</member>
<member>
<name>strTourName</name>
<value>
<string>Daze Off Sail Great Barrier Reef </string>
</value>
</member>
</struct>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>