Reqest check_external_hotel_nowait, searches hotels data in external services.Reqest is NOT waiting for offers, and returns only information about geting offers in background.
Note:
It is required to send field external_search_id to receive correct response - the request will be forwarded to the server which receives search result the fastest.
Example:
<mds> <external_search_id>13596328115024310</external_search_id> <auth> (...)
Parameters:
Field name | type | ↑ length | containing |
---|---|---|---|
par_chdAge | text | age of children or children bitrh dates | |
geo_xCircle | int | Search in max radius='dstance' (in kilometers) from lat,long | |
par_chd | int | Number of children | |
trp_destination | int | Region of the trip/event | |
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 | |
obj_xCityId | text | The city in which the object is assigned by MerlinX (original or revised) | |
ofr_tourOp | char | 4 | touroperator code |
Required fields: obj_xCityId or trp_destination and ofr_tourOp, trp_depDate, occupancy with child age.
<?xml version='1.0'?> <mds> <auth> <login>login</login> <pass>pass</pass> </auth> <request> <type>check_external_hotel_nowait</type> <conditions> <ofr_tourOp>HOPL</ofr_tourOp> <trp_depDate>20120726</trp_depDate> <obj_xCityId>4053</obj_xCityId>\ <trp_durationM>1</trp_durationM> <par_adt>2</par_adt> </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>13607475455006953</search_id> <status>EXT_QUERY_FINISHED</status> <msg>External request processed in background</msg> </response>