Cancellation
6min
request the table below describes the elements present in a request along with details around their implementation please take special note of required fields endpoint {{endpoint cancel}} element group element name type req element description cancellationrequest cancellationrequest group yes cancellationrequest timestamp attribute yes the current timestamp (yyyymmddthh\ mm\ ss) cancellationrequest control group yes control username element yes the user identifier assigned this is the unique id given to you by bonotel control password element yes the password assigned this is the unique password given to you by bonotel cancellationrequest supplierreferenceno element internal reference no sent by bonotel at the time of booking cancellationrequest cancellationreason element no cancellationrequest cancellationnotes element no response element group element name type req element description cancellationresponse cancellationresponse group yes cancellationresponse status attribute yes status of the cancellation valid values are y – cancellation was successful n – cancellation was unsuccessful cancellationresponse errors group no errors code element no an internal error code provided by bonotel errors description element no a message describing the error cancellationrequest touroperatorordernumber element yes reference number of the tour operator booking cancellationresponse cancellationno element yes your confirmation number for the cancellation transaction cancellationresponse canellationfee element no the charge for the cancellation if any yes, there is a spelling error in the element name code example request {{endpoint cancel}} \<?xml version="1 0" encoding="utf 8" ?> \<cancellationrequest timestamp="20150325t00 00 00"> 	\<control> 	 \<username>{{username}}\</username> 	 \<password>{{password}}\</password> 	\</control> 	\<supplierreferenceno>prgfouscg\</supplierreferenceno> 	\<cancellationreason/> 	\<cancellationnotes>selected a different hotel \</cancellationnotes> \</cancellationrequest> response \<?xml version="1 0" encoding="utf 8" ?> \<cancellationresponse status="y"> 	\<touroperatorordernumber>123456\</touroperatorordernumber> 	\<cancellationno>c4759068\</cancellationno> 	\<canellationfee>0\</canellationfee> \</cancellationresponse> response codes code description c1 unspecified error please contact customer support c2 user id not supplied or not valid c3 reservation already cancelled c4 reservation number not provided c5 reservation no not found or reservation no not belongs to this user c6 no xml input detected c7 erroneous or incomplete data in cancellation request c8 request ip address not matched for the user c9 past date reservations cannot be canceled c10 (deprecated) c11 cancellation failed at the supplier end