Lookup
8 min
introduction the lookup method allows users to retrieve details of a specific reservation by passing in a reservation reference number request endpoint {{endpoint lookup}} element group element name type required element description lookupreservationrequest lookupreservationrequest group yes lookupreservationrequest timestamp attribute yes the current timestamp (yyyymmddthh🇲🇲ss) lookupreservationrequest version attribute no optional, but must exist and be set to 2 in order to see the v2 output lookupreservationrequest control group yes control username element yes your username control password element yes your password lookupreservationrequest referenceno element yes bonotel reference # response primary reservation data true false 152,132,0,52false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type room data true false 0,131,0,50false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type code example request {{endpoint lookup}} \<?xml version="1 0" encoding="utf 8" ?> \<lookupreservationrequest timestamp="20150325t14 01 29 " version="2"> 	\<control> 	 \<username>{{username}}\</username> 	 \<password>{{password}}\</password> 	\</control> 	\<referenceno>123456789x\</referenceno> \</lookupreservationrequest> response \<?xml version="1 0" encoding="utf 8" ?> \<lookupreservationresponse status="y" xmlns\ xsi="http //www w3 org/2001/xmlschema instance"> 	\<reservationdetails> 	 \<referenceno>354324117x\</referenceno> 	 \<hotelconfirmation>6c3ee91a 54c0 4499 a8cb df54dbcb14c8\</hotelconfirmation> 	 \<touroperatorname>my travel company\</touroperatorname> 	 \<touroperatorordernumber>654321\</touroperatorordernumber> 	 \<hotelcode>1343\</hotelcode> 	 \<hotelname>aria resort and casino\</hotelname> 	 \<reservationsource>xml\</reservationsource> 	 \<reservationstatus>normal\</reservationstatus> 	 \<cancellationinfo> 	 \<cancellationno/> 	 \<cancellationfee/> 	 \<cancellationtimestamp/> 	 \</cancellationinfo> 	 \<confirmationtype>con\</confirmationtype> 	 \<reservationtimestamp>2017 01 19t03 53 43+00 00\</reservationtimestamp> 	 \<modificaitontimestamp/> 	 \<checkin>22 apr 2017\</checkin> 	 \<checkout>24 apr 2017\</checkout> 	 \<noofrooms>2\</noofrooms> 	 \<noofnights>2\</noofnights> 	 \<totalnoofadults>1\</totalnoofadults> 	 \<totalnoofchildren>1\</totalnoofchildren> 	 \<total currency="usd">1274 88\</total> 	 \<totaltax currency="usd">0 00\</totaltax> 	 \<roomdata> 	 \<roomno>1\</roomno> 	 \<roomresno>57467147\</roomresno> 	 \<roomcode>5943\</roomcode> 	 \<roomtype>deluxe king\</roomtype> 	 \<roomtypecode>74\</roomtypecode> 	 \<bedtype>double\</bedtype> 	 \<bedtypecode>10\</bedtypecode> 	 \<rateplan>room only\</rateplan> 	 \<rateplancode>1\</rateplancode> 	 \<noofadults>1\</noofadults> 	 \<noofchildren>1\</noofchildren> 	 \<childages> 	 \<childage>4\</childage> 	 \</childages> 	 \<occupancy> 	 \<guest> 	 \<title>mr\</title> 	 \<firstname>testfirst1n\</firstname> 	 \<lastname>testlast1n\</lastname> 	 \</guest> 	 \<guest> 	 \<title>mr \</title> 	 \<firstname>testfirst2n\</firstname> 	 \<lastname>testlast2n\</lastname> 	 \</guest> 	 \</occupancy> 	 \<roombookingpolicy> 	 \<policyfrom>2008 04 01\</policyfrom> 	 \<policyto>2018 12 29\</policyto> 	 \<amendmenttype>cancel\</amendmenttype> 	 \<policybasedon>percentage\</policybasedon> 	 \<policybasedonvalue>100\</policybasedonvalue> 	 \<cancellationtype>normal\</cancellationtype> 	 \<staydaterequirement>n\</staydaterequirement> 	 \<arrivalrange>less than\</arrivalrange> 	 \<arrivalrangevalue>4\</arrivalrangevalue> 	 \<policyfee>$1175 52\</policyfee> 	 \<noshowbasedon>percentage\</noshowbasedon> 	 \<noshowbasedonvalue>100\</noshowbasedonvalue> 	 \<noshowpolicyfee>$1175 52\</noshowpolicyfee> 	 \</roombookingpolicy> 	 \<hotelfees> 	 \<hotelfee> 	 \<feetype>resort\</feetype> 	 \<feemethod>exclusive\</feemethod> 	 \<requiredfee>yes\</requiredfee> 	 \<feeassign>per room\</feeassign> 	 \<feefrequency>per night\</feefrequency> 	 \<feebasedon>val\</feebasedon> 	 \<feebasedonvalue>39 0\</feebasedonvalue> 	 \<salestax>13 38\</salestax> 	 \<conditions/> 	 \<feetotal>309 53\</feetotal> 	 \</hotelfee> 	 \</hotelfees> 	 \</roomdata> 	 \<comment> 	 \<customer>ground floor, non smoking\</customer> 	 \</comment> 	\</reservationdetails> \</lookupreservationresponse> response codes true false 60false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type