User Tools

Site Tools


externaldat:check_external_flight_wait

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 name typelenghtcontaining
par_chdAgetextage of children or children bitrh dates
trp_flightClasstextflight class
par_chdintNumber of children
par_adtintnumber of adults
par_infintnumber of infants
trp_durationMintnumber of days
trp_depDatedateDate of departure / departure / start of trip
trp_depCodechar3Code of departure location/airport ( IATA Code )
trp_desCodechar3Code of destination location/airport ( IATA Code )
ofr_tourOpchar4touroperator code
ofr_typechar2Type of offer
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 name typelenghtcontaining
msgtextReqest information
statustextanwser status
search_idtextReqest id
 
<?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>
externaldat/check_external_flight_wait.txt · Last modified: 2014/02/20 12:26 by marekj