Getting Hotels

To get hotels connected with one user send following XML request to API base url.

<?xml version="1.0" encoding="UTF-8"?><request apiKey="your_api_key" userName="your_property_username" password="your_property_password">
<getHotels/>
</request>

If request was successfull you should retrive XML like this

<?xml version="1.0" encoding="UTF-8"?>
<Response><hotel id="111" description="Bellevue Hotel"/><hotel id="112" description="Bellevue Residence"/></Response>

 

Previous Article

Introduction

Next Article

Getting Rooms