Below is a breakdown of the data returned in the response.
| Name |
Example |
Type |
Options |
| id |
The ATS Travel Id for the hotel |
INTEGER |
|
| name |
The name of the Accommodation |
DATE |
|
| latitude |
The Latiduinal position of the hotel |
FLOAT |
|
| longitude |
The Longitudinal position of the hotel |
FLOAT |
|
| starRating |
A Value for the Star Rating of the Hotel |
INTEGER |
|
| tripAdvisorId |
If available a Trip Advisor Id will be provided combined with the following code provides a Trip Advisor widget that links through to the hotel\s page on Trip Advisor |
ARRAY |
<div id="TA_cdsratingsonlynarrow418" class="TA_cdsratingsonlynarrow" style="text-align:center">
<ul id="NqLRkeD" class="TA_links KJxvpPsAz" stlye="text-align:center;margin:0 auto">
<li id="rVyvHH" class="mQkDCSv52">
<a target="_blank" href="https://www.tripadvisor.co.uk/">
<img src="https://www.tripadvisor.co.uk/img/cdsi/img2/branding/tripadvisor_logo_transp_340x80-18034-2.png" style="width:100%" alt="TripAdvisor"/></a>
</li>
</ul>
</div>
<script src="https://www.jscache.com/wejs?wtype=cdsratingsonlynarrow&uniq=418&locationId=XXXXX&lang=en_UK&border=true&display_version=2"></script>
|
| mainPhoto |
See example. This is an array of information to do with the main photo for the accommodation |
ARRAY |
|
| streetview_main |
If available the URL provided will be a Google StreetView link to the hotel. |
URL |
|
| shortDescription |
A short description about the accommodation - See example |
VARCHAR |
|
| stayTypes |
- SC - Self-Catering
- FB - Full Board
- HB - Half Board
- BB - Bed & Breakfast
- RO - Room Only
|
VARCHAR (2) |
|
| accommodationRates |
- PU - Price Per Unit
- PP - Price Per Person
|
VARCHAR (2) |
|
| skiAreaLabel |
The name of the ski area |
VARCHAR |
|
| skiAreaId |
The id of the ski area |
INTEGER |
|
| resortLabel |
The name of the resort |
VARCHAR |
|
| resortId |
The id of the resort |
INTEGER |
|
| lowestPrice |
The lowest available price of a room at the accommodation using specified request data provided in the requests. |
FLOAT |
|
| roomsAvailable |
The number of rooms available at this accommodation |
INTEGER |
|
| accommodationType |
The type of accommodation. |
INTEGER |
- 1 - Apartment
- 2 - Bungalow
- 3 - Hotel
- 4 - Chalet
- 5 - Apartment
|
| accommodationTypeLabel |
The type of accommodation is useable text form. |
VARCHAR |
|