Table of Contents

General information

Reqest check_external_flight_wait, searches flight data in external services.Reqest is waiting for offers, and returns status of search.( Reqest is not returnig offers )

Inquiry

Parameters:

Field nametypelenghtcontaining
trp_flyClasstextflight class
ofr_tourOpchar4touroperator code
ofr_typechar2Type of offer
par_adtintnumber of adults
par_chdAgetextage of children or children bitrh dates
par_chdintNumber of children
par_infintnumber of infants
trp_depCodechar3Code of departure location/airport ( IATA Code )
trp_depDatedateDate of departure / departure / start of trip
trp_desCodechar3Code of destination location/airport ( IATA Code )
trp_durationMintnumber of days
trp_flexiblebool1departure tolerance +/- 1 day
trp_stopoverbool1stopovers YES or NO
 

Required fields:ofr_type, ofr_tourOp, trp_depCode, trp_desCode, trp_depDate if ofr_type = “NF” then also trp_durationM

<?xml version="1.0"?>
<mds>
  <auth>
    <login>login</login>
    <pass>pass</pass>
    <srcDomain>my.test.domain.com</srcDomain>
  </auth>
  <request>
    <type>check_external_flight_wait</type>
    <conditions>
      <trp_depDate>20140320</trp_depDate>
      <trp_depCode>WAW</trp_depCode>
      <trp_desCode>LON</trp_desCode>
      <par_adt>1</par_adt>
      <par_chd>0</par_chd>
      <par_inf>0</par_inf>
      <ofr_tourOp>XTVF,XSAB</ofr_tourOp>
      <trp_durationM>7</trp_durationM>
      <ofr_type>NF</ofr_type>
    </conditions>
  </request>
</mds>

Answer

Parameters:

Field nametypelenghtcontaining
msgtextReqest information
search_idtextReqest id
statustextanwser status
 
<?xml version='1.0'?>
<response>
  <search_id>13928955185011752</search_id>
  <status>EXT_QUERY_FINISHED</status>
  <msg>External request executed, You can search now</msg>
</response>
 
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki