2. Rules

Before making the booking, you will need to make sure that the user is aware of all details regarding this booking and the booked property. This is why you MUST perform the Flight-Rules request and display the information received to your customer PRIOR to making the booking. The information received from this request is the same information that must be displayed on the voucher.

Flight Rules Request
<request version="4.0">
   <auth>
      <username>example</username>
      <password>example</password>
      <agent>example</agent>
   </auth>
   <flights-rules session="dv.UpX7Bz0osA">
         <result token="dv.1210273893">
            <connections>
                <outbound id="0"/>
                <inbound id="1"/>
            </connections>
         </result>
   </flights-rules>
</request>
Parameter Type Comments
flight-rules @session stringthe session id as returned by the search  response
flight-rules/result @token stringthe result token you wish to book

connections/outbound @id intthe id of the outbound connection from the search results
connections/inbound @id intthe id of the inbound connection from the search results

Flight Rules Response
<response success="1" session="dv.1210273891">
  <rules>
    <rule>RULE APPLICATION
ECONOMY CLASS FARES
 APPLICATION
   AREA
     THESE FARES APPLY
     BETWEEN EUROPE AND MIDDLE EAST.
   CLASS OF SERVICE
     THESE FARES APPLY FOR ECONOMY CLASS SERVICE.
   TYPES OF TRANSPORTATION
     FARES GOVERNED BY THIS RULE CAN BE USED TO CREATE
     ONE-WAY/ROUND-TRIP/OPEN-JAW JOURNEYS.
MAX STAY
FOR ORTUAIL1 TYPE FARES
</rule>
  </rules>
</response>
Parameter Type Comments
rules/rule nodelong text blob
Note: It is mandatory to display the ENTIRE text node to you users prior to making the booking. it is also mandatory to include the entire text node on the booking confirmation document displayed and sent to the user.
Comments