Connection and Authentication
5min
connection protocol communication with the bonotel api is performed through secured hypertext transfer protocol (https) connections the api is written to receive requests and generate responses in xml headers request method post content type application/xml all customers are required to use gzip compression to effectively manage the size and speed of responses utilize the following header to accomplish this request header name request header value accept encoding gzip,deflate,compress;q=0 9 urls url category url / path uat base https //rps uat svc ops bonotel com production base https //rps svc bonotel com api path /bonotelapps/bonotel/reservation methods action name endpoint notes availability (shopping) /getavailability do initial shopping action return results and select a reservation candidate pre book /prebookcheck do request with a specific reservation candidate to confirm non cached availability reservation /getreservation do request with a specific reservation candidate to confirm a reservation cancel /getcancellation do cancel a specific confirmed reservation report /xmlreservationreport do request with parameters a report of recorded reservations (confirmed, canceled, or both) lookup /lookupreservation do lookup details of a specific reservation (confirmed, canceled, or either) authentication authentication is handled by passing in a username and password combination in the xml body of each request method \<control> 	\<username>{{username}}\</username> 	\<password>{{password}}\</password> \</control>