User Tools

Site Tools


externaldat:check_external_flight_nowait

Table of Contents

General information

Reqest check_external_flight_nowait, searches flight data in external services.Reqest is NOT waiting for offers, and returns only information about geting offers in background.

Inquiry

Parameters:

Field nametypelengthcontaining
ofr_tourOpchar4touroperator code
ofr_typechar2Type of offer
par_adtintnumber of adults
par_chdintNumber of children
par_chdAgetextage of children or children bitrh dates
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_flightClasstextflight class
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_nowait</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>
	<external_search>
		<search_id>13923825005070410</search_id>
		<tourOp>XSAB</tourOp>
		<cache_tourOp>XTVF</cache_tourOp>
	</external_search>
	<status>EXT_QUERY_FINISHED</status>
	<msg>External request processed in background </msg>
</response>
externaldat/check_external_flight_nowait.txt · Last modified: 2014/02/18 09:12 by marekj