Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 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 - readToursTimes
Output- XML Request and Response
Host - Sales - Trinity Software

Expand for readToursTimes XML
XML Request<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>readTourTimes</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>intTourTimeID</name>
        <value>
         <int>112</int>
        </value>
       </member>
       <member>
        <name>strTourCode</name>
        <value>
         <string>RONSAMPLE</string>
        </value>
       </member>
       <member>
        <name>dteTourTime</name>
        <value>
         <struct>
          <member>
           <name>timestamp</name>
           <value>
            <int>-7200</int>
           </value>
          </member>
          <member>
           <name>scalar</name>
           <value>
            <string>19700101T08:00:00</string>
           </value>
          </member>
          <member>
           <name>iso8601</name>
           <value>
            <string>08:00:00</string>
           </value>
          </member>
         </struct>
        </value>
       </member>
       <member>
        <name>ysnIsReturnTrip</name>
        <value>
         <int>0</int>
        </value>
       </member>
       <member>
        <name>ysnIsDefault</name>
        <value>
         <int>-1</int>
        </value>
       </member>
       <member>
        <name>ysnActive</name>
        <value>
         <int>-1</int>
        </value>
       </member>
      </struct>
     </value>
     <value>
      <struct>
       <member>
        <name>intTourTimeID</name>
        <value>
         <int>118</int>
        </value>
       </member>
       <member>
        <name>strTourCode</name>
        <value>
         <string>RONSAMPLE</string>
        </value>
       </member>
       <member>
        <name>dteTourTime</name>
        <value>
         <struct>
          <member>
           <name>timestamp</name>
           <value>
            <int>7200</int>
           </value>
          </member>
          <member>
           <name>scalar</name>
           <value>
            <string>19700101T12:00:00</string>
           </value>
          </member>
          <member>
           <name>iso8601</name>
           <value>
            <string>12:00:00</string>
           </value>
          </member>
         </struct>
        </value>
       </member>
       <member>
        <name>ysnIsReturnTrip</name>
        <value>
         <int>0</int>
        </value>
       </member>
       <member>
        <name>ysnIsDefault</name>
        <value>
         <int>0</int>
        </value>
       </member>
       <member>
        <name>ysnActive</name>
        <value>
         <int>-1</int>
        </value>
       </member>
      </struct>
     </value>
    </data>
   </array>
  </value>
 </param>
</params>
</methodResponse>
  • No labels