v1

latestSwagger 2.02026-07-14214688.6 KB
Hotels

Get a list of all the hotels of a chain your application has access to.

Load the details about all the hotels your application has access to.

get/api/hotel/v0/hotels

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Response

A list of hotels.

citystring

The city the hotel is located in

codestring

The code of the hotel

countrystring

The country the hotel is located. The country code is in ISO 3166-1 alpha-2 format (see: <a href="http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm" onfocus="this.blur()" target="_blank">http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm</a>)

createdstring date-time

Timestamp the hotel was created

current_business_daystring date-time

Return the current business day of the hotel in the ISO-8601 format "YYYY-MM-DD"

descstring

The descriptive text for the the hotel

emailstring

The email address of the hotel

faxstring

The fax number of the hotel

hotel_idinteger

The id of the hotel

latitudenumber double

The latitude for the geolocation of the hotel. This allows you to show the hotel on a map

longitudenumber double

The longitude for the geolocation of the hotel. This allows you to show the hotel on a map

namestring

The name of the hotel

phonestring

The main phone number to call the hotel

postal_codestring

The postal code of the hotel

statestring

The state the hotel is located in

streetstring

The street address of the hotel

updatedstring date-time

Timestamp of when the hotel was changed the last time

urlstring

The homepage URL of the hotel

utc_offsetstring

The current time offset of the hotel to UTC. This is taking into account daylight saving times and shows the offset for the time the request is handled. The response will be in the format of "UTC±hh:mm". If there is no offset to UTC it will be shown as "UTC+00:00"

All 21 operations