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