User Tools

Site Tools


externaldat:check_external_hotel_wait

Table of Contents

General information

Reqest check_external_hotel_wait, searches hotels data in external services.Reqest is waiting for offers, and returns status of search.( Reqest is not returnig offers )

Inquiry

Parameters:

Field nametype lenghtcontaining
par_chdAgetextage of children or children bitrh dates
geo_xCircleintSearch in max radius='dstance' (in kilometers) from lat,long
par_chdintNumber of children
trp_destinationintRegion of the trip/event
par_adtintnumber of adults
par_infintnumber of infants
trp_depDatedateDate of departure / departure / start of trip
trp_durationMintnumber of days
obj_xCityIdtextThe city in which the object is assigned by MerlinX (original or revised)
ofr_tourOpchar4touroperator 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_wait</type>
     <conditions>
       <ofr_tourOp>HOPL</ofr_tourOp>
       <trp_depDate>20120726:20120802</trp_depDate>
       <obj_xCityId>4053</obj_xCityId>
       <trp_durationM>1</trp_durationM>
       <par_adt>2</par_adt>     
     </conditions>
   </request>
</mds>

Answer

Parameters:

Field nametype lenghtcontaining
msgtextReqest information
statustextanwser status
search_idtextReqest id
 
<?xml version='1.0'?>
<response>
        <search_id>13607475455006953</search_id>
	<status>EXT_QUERY_FINISHED</status>
	<msg>External request executed, You can search now</msg>
</response>
externaldat/check_external_hotel_wait.txt · Last modified: 2014/07/07 16:47 by marekj