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 )
Parameters:
Field name | type | ↑ lenght | containing |
---|---|---|---|
par_chd | int | Number of children | |
par_adt | int | number of adults | |
par_inf | int | number of infants | |
trp_depDate | date | Date of departure / departure / start of trip | |
trp_durationM | int | number of days | |
par_chdAge | text | age of children or children bitrh dates | |
trp_flightClass | text | flight class | |
ofr_tourOp | char | 4 | touroperator code |
trp_depCode | char | 3 | Code of departure location/airport ( IATA Code ) |
trp_desCode | char | 3 | Code of destination location/airport ( IATA Code ) |
ofr_type | char | 2 | Type of offer |
trp_flexible | bool | 1 | departure tolerance +/- 1 day |
trp_stopover | bool | 1 | stopovers 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>
Parameters:
Field name | type | ↑ lenght | containing |
---|---|---|---|
msg | text | Reqest information | |
status | text | anwser status | |
search_id | text | Reqest 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>