Request AHI returns Hotel contact information
Parameters:
Field name | ↑ type | lenght | containing |
---|---|---|---|
par_chdAge | text | age of children or children bitrh dates | |
par_adtAge | text | age of adult person | |
par_chd | int | Number of children | |
par_adt | int | number of adults | |
ofr_tourOp | char | 4 | touroperator code |
ofr_id | char | up to 1 KB | offer identifier. ** IMPORTANT: ** Do not assume that there will always be a hexadecimal string |
room_hash | char | Hotel room id | |
Required fields:ofr_tourOp, ofr_id, room_hash, par_adt
<?xml version='1.0'?> <mds> <auth> <login>login</login> <pass>pass</pass> </auth> <request> <type>AHI</type> <conditions> <ofr_tourOp>TRHO</ofr_tourOp> <ofr_id>bcd5c1dc4ba52c8f0b85f0a983acc8437d6f1376c8484d057dfcf42f361fbb70 </ofr_id> <room_hash>e9e128483b0f05fb4f782b4604eeed82</room_hash> <par_adt>2</par_adt> <par_chd>2</par_chd> <birthdates> <adta/> <chda>14.11.2010</chda> <chda>14.11.2003</chda> </birthdates> </conditions> </request> </mds>
Parameters:
Field name | ↑ type | lenght | containing |
---|---|---|---|
msg | text | Reqest information | |
<response> <AHI_response> <msg>CIRCUNVALACION DE PARLA A PINTO, KM: 0,15</msg> <msg>PARLA 28980</msg> <msg>MADRYT</msg> <msg>HISZPANIA</msg> <msg>tel:916053805</msg> </AHI_response> </response>