Get All Hotel Details by Hotel Ids

The Get All Hotel Details by HotelIds API provides comprehensive information for one or more hotels, identified by their unique HotelIds.

It accepts upto a maximum of 100 HotelIds as input and returns complete hotel details, including Name, Address, Region , CityID, Star Rating, Photos and Description and Latitude/Longitude. Additional data fields like SurroundingArea, RoomTypes, PropertyInformation, AreaActivities, PoliciesDisclaimers, DiningFacilities may also be included in the response, offering extended details where available.

This API is primarily used to retrieve full hotel information for purposes such as booking, display, or reporting. It supports both XML and JSON formats.

Including more than 100 HotelIDs in your request will result in a error response.

GetAllHotelsDetailsByHotelIds Request Syntax

Endpoint URL

https://{{URL}} /webapi/staticData/getAllHotelsDetailsByHotelIds

Request Header

HTTP Method : [POST]
Content-Type : [application/xml or application/json]
Accept : [application/xml or application/json]

Request Parameters

Field Type Required Description

Org

string Yes

The organisation short code identifying the agent responsible for the request (Agency ID).

User

string Yes

The user’s logon, unique within the given organisation (User Name).

Password

string Yes

Password used for authentication

HotelIds

array Yes

One or more hotel IDs to retrieve details for.

Response Parameters

Field Type Description

Success

Boolean

Indicates if the API call was successful (true / false).

Message

String

Descriptive message about the API result.

Data

Array of HotelSearchResult

Contains list of hotel search result objects.

HotelSearchResult Object

Field Type Description

HotelElement

Object

Contains full details of the hotel.

Xsd

String

XML schema definition reference URL.

Xsi

String

XML schema instance reference URL.

HotelElement Object

Field Type Description

Id

Integer

Unique identifier of the hotel.

Name

String

Name of the hotel.

Region

Object

Contains region and city information.

Address

Object

Full address details of the hotel.

Stars

Integer

Star rating of the hotel.

GeneralInfo

Object

Latitude and longitude details.

Photo

Object

URL or reference to hotel photos (if available).
Add “content.stuba.com” in URL as prefix to access the image.

Description

Object

Hotel description (if available).

Rating

Object

Rating details (system and score).

Region Object

Field Type Description

CityId

Integer

Unique identifier of the city.

Id

Integer

Region or city ID (same as CityId here).

Name

String

Name of the region or city.

Address Object

Field Type Description

Address1

String

Primary address line.

Address2

String

Secondary address line.

Address3

String

Additional address line.

City

String

City name.

State

String

State name (if available).

Zip

String

Postal or ZIP code.

Country

String

Country name.

Tel

String

Contact telephone number.

GeneralInfo Object

Field Type Description

Latitude

String

Latitude coordinate of the hotel.

Longitude

String

Longitude coordinate of the hotel.

Rating Object

Field Type Description

System

String

Rating system used (e.g., “Stars”).

Score

Integer

Rating score based on the system.

Photo Object

Field Type Description

Url

String

Path or URL of the image file. It points to the location where the photo is stored. Add “content.stuba.com” in URL as prefix to access the image.

Width

Integer

Width of the photo in pixels.

Height

Integer

Height of the photo in pixels.

Bytes

Integer

Size of the image file in bytes (0 if not provided).

Caption

String

Description or label of the photo

ThumbnailWidth

Integer

Width of the thumbnail version of the photo in pixels.

ThumbnailHeight

Integer

Height of the thumbnail version of the photo in pixels.

ThumbnailBytes

Integer

Size of the thumbnail image in bytes .

PhotoType

Integer

Numeric code representing the type or category of the photo .

Description Object

Field Type Description

Language

String

Specifies the language code of the description text (e.g., “en” for English).

Type

String

Indicates the description type (e.g., RoomTypes).

Text

String

Contains the actual descriptive content of the room, hotel, or facility.

Response Samples

Samples

Copy
{ "Authority": { "Org": "TestOrg", "User": "TestUser", "Password": "TestPassword", }, "HotelIds": [401116875] }
{ "Success": true, "Message": "Hotel details fetched successfully1", "Data": [ { "HotelElement": { "Id": 401116875, "Name": "Adagio Jeddah City Center", "Region": { "CityId": 18176, "Id": 18176, "Name": "Jeddah" }, "Address": { "Address1": "P O BOX 43356 MADINAH BRANCH ROAD AL ANDALUS 23326", "Address2": "", "Address3": "", "City": "JEDDAH", "State": "", "Zip": "23326", "Country": "Saudi Arabia", "Tel": "" }, "Stars": 4, "GeneralInfo": { "Latitude": 21.5529, "Longitude": 39.17387 }, "Photo": [ { "Url": "RXLImages/1163/401116875/401116875_img_5.jpg", "Pixels": "1000px", "Width": 1024, "Height": 680, "Bytes": 0, "Caption": "Indoor/outdoor pool", "ThumbnailUrl": null, "ThumbnailWidth": 80, "ThumbnailHeight": 60, "ThumbnailBytes": 0, "PhotoType": "30011" }, { "Url": "RXLImages/1163/401116875/401116875_img_6.jpg", "Pixels": "1000px", "Width": 1024, "Height": 680, "Bytes": 0, "Caption": "Game room", "ThumbnailUrl": null, "ThumbnailWidth": 80, "ThumbnailHeight": 60, "ThumbnailBytes": 0, "PhotoType": "71003" } ], "Description": [ { "Language": "en", "Type": "RXLContentId", "Text": "49166398" }, { "Language": "en", "Type": "SurroundingArea", "Text": "With a stay at Adagio Jeddah City Center in Jeddah (Al Andalus), you'll be a 4-minute walk from Thalia Street and a 4-minute drive from Jeddah Mall. This aparthotel is 3.9 mi (6.3 km) from Middle Corniche Park and 5.3 mi (8.6 km) from Baab Makkah." }, { "Language": "en", "Type": "RoomTypes", "Text": "Make yourself at home in one of the 188 guestrooms, featuring kitchens. LCD televisions with satellite programming provide entertainment, while complimentary wireless internet access keeps you connected. Conveniences include safes and desks, as well as phones with free local calls." }, { "Language": "en", "Type": "PropertyInformation", "Text": "Take advantage of recreational opportunities offered, including an outdoor pool, a fitness center, and bicycles to rent. Additional amenities at this aparthotel include complimentary wireless internet access, concierge services, and a banquet hall." }, { "Language": "en", "Type": "AreaActivities", "Text": "Distances are displayed to the nearest 0.1 mile and kilometer. <br /> <p>Thalia Street - 0.3 km / 0.2 mi <br /> Jeddah International Market - 0.8 km / 0.5 mi <br /> Saudi Center for Fine Art - 1.4 km / 0.9 mi <br /> Vox Cinemas Jeddah Park - 1.5 km / 0.9 mi <br /> Jeddah Mall - 1.5 km / 0.9 mi <br /> IN10SO - 1.7 km / 1.1 mi <br /> Serafi Megamall - 2 km / 1.2 mi <br /> Cenomi Jeddah Park - 2 km / 1.2 mi <br /> Al Khayyat Center - 2.9 km / 1.8 mi <br /> Jeddah Mall - 3.2 km / 2 mi <br /> Sari Street - 3.6 km / 2.2 mi <br /> Al Rahma Mosque - 3.6 km / 2.2 mi <br /> Shallaby Museum of Traditional Handicrafts & Hejazi Heritage - 3.7 km / 2.3 mi <br /> Old Coral Houses - 3.7 km / 2.3 mi <br /> King Faisal Specialist Hospital - 3.8 km / 2.4 mi <br /> </p><p>The nearest major airport is King Abdulaziz Intl. Airport (JED) - 16.2 km / 10 mi</p>" }, { "Language": "en", "Type": "PoliciesDisclaimers", "Text": "<ul> <li>Extra-person charges may apply and vary depending on property policy</li><li>Government-issued photo identification and a credit card, debit card, or cash deposit may be required at check-in for incidental charges</li><li>Special requests are subject to availability upon check-in and may incur additional charges; special requests cannot be guaranteed</li><li>This property accepts credit cards, debit cards, and cash</li><li>This property uses a grey water recycling system</li><li>Host has indicated there is a carbon monoxide detector on the property</li><li>Host has indicated there is a smoke detector on the property</li><li>Safety features at this property include a fire extinguisher, a security system, a first aid kit, and window guards</li><li>This property is professionally cleaned</li><li>Please note that cultural norms and guest policies may differ by country and by property; the policies listed are provided by the property</li> </ul> <ul> <li>Couples wishing to share a room must provide proof of marriage. </li><li>The property has connecting/adjoining rooms, which are subject to availability and can be requested by contacting the property using the number on the booking confirmation. </li><li>No pets and no service animals are allowed at this property. </li><li>The property is professionally cleaned.</li><li>Contactless check-in and contactless check-out are available.</li> </ul>" }, { "Language": "en", "Type": "DiningFacilities", "Text": "You can enjoy a meal at the restaurant serving the guests of Adagio Jeddah City Center, or stop in at the snack bar/deli. Continental breakfasts are available daily from 6:00 AM to 10:00 AM for a fee." } ], "Rating": { "System": "Stars", "Score": 4, "Description": null } }, "Xsd": "http://www.w3.org/2001/XMLSchema", "Xsi": "http://www.w3.org/2001/XMLSchema-instance" } ] }
Copy
<HotelSearch xmlns="http://www.reservwire.com/namespace/WebServices/Xml"> <Authority> <Org>TestOrg</Org> <User>TestUser</User> <Password>TestPassword</Password> </Authority> <HotelIds> <HotelId>401116875</HotelId> </HotelIds> </HotelSearch>
<StaticAPIResponseOfListOfHotelSearchResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Success>true</Success> <Message>Hotel details fetched successfully1</Message> <Data> <HotelSearchResult> <HotelElement> <Id>401116875</Id> <Name>Adagio Jeddah City Center</Name> <Region> <CityId>18176</CityId> <Id>18176</Id> <Name>Jeddah</Name> </Region> <Address> <Address1>P O BOX 43356 MADINAH BRANCH ROAD AL ANDALUS 23326</Address1> <Address2 xsi:type="xsd:string"></Address2> <Address3 xsi:type="xsd:string"></Address3> <City>JEDDAH</City> <State /> <Zip xsi:type="xsd:string">23326</Zip> <Country>Saudi Arabia</Country> <Tel xsi:type="xsd:string"></Tel> </Address> <Stars>4</Stars> <GeneralInfo> <Latitude>21.5529</Latitude> <Longitude>39.17387</Longitude> </GeneralInfo> <Photo> <Photo> <Url>RXLImages/1163/401116875/401116875_img_5.jpg</Url> <Width>1024</Width> <Height>680</Height> <Bytes>0</Bytes> <Caption>Indoor/outdoor pool</Caption> <ThumbnailWidth>80</ThumbnailWidth> <ThumbnailHeight>60</ThumbnailHeight> <ThumbnailBytes>0</ThumbnailBytes> <PhotoType>30011</PhotoType> </Photo> <Photo> <Url>RXLImages/1163/401116875/401116875_img_6.jpg</Url> <Width>1024</Width> <Height>680</Height> <Bytes>0</Bytes> <Caption>Game room</Caption> <ThumbnailWidth>80</ThumbnailWidth> <ThumbnailHeight>60</ThumbnailHeight> <ThumbnailBytes>0</ThumbnailBytes> <PhotoType>71003</PhotoType> </Photo> </Photo> <Description> <Description> <Language>en</Language> <Type>RXLContentId</Type> <Text>49166398</Text> </Description> <Description> <Language>en</Language> <Type>SurroundingArea</Type> <Text>With a stay at Adagio Jeddah City Center in Jeddah (Al Andalus), you'll be a 4-minute walk from Thalia Street and a 4-minute drive from Jeddah Mall. This aparthotel is 3.9 mi (6.3 km) from Middle Corniche Park and 5.3 mi (8.6 km) from Baab Makkah.</Text> </Description> <Description> <Language>en</Language> <Type>RoomTypes</Type> <Text>Make yourself at home in one of the 188 guestrooms, featuring kitchens. LCD televisions with satellite programming provide entertainment, while complimentary wireless internet access keeps you connected. Conveniences include safes and desks, as well as phones with free local calls.</Text> </Description> <Description> <Language>en</Language> <Type>PropertyInformation</Type> <Text>Take advantage of recreational opportunities offered, including an outdoor pool, a fitness center, and bicycles to rent. Additional amenities at this aparthotel include complimentary wireless internet access, concierge services, and a banquet hall.</Text> </Description> <Description> <Language>en</Language> <Type>AreaActivities</Type> <Text>Distances are displayed to the nearest 0.1 mile and kilometer. &lt;br /&gt; &lt;p&gt;Thalia Street - 0.3 km / 0.2 mi &lt;br /&gt; Jeddah International Market - 0.8 km / 0.5 mi &lt;br /&gt; Saudi Center for Fine Art - 1.4 km / 0.9 mi &lt;br /&gt; Vox Cinemas Jeddah Park - 1.5 km / 0.9 mi &lt;br /&gt; Jeddah Mall - 1.5 km / 0.9 mi &lt;br /&gt; IN10SO - 1.7 km / 1.1 mi &lt;br /&gt; Serafi Megamall - 2 km / 1.2 mi &lt;br /&gt; Cenomi Jeddah Park - 2 km / 1.2 mi &lt;br /&gt; Al Khayyat Center - 2.9 km / 1.8 mi &lt;br /&gt; Jeddah Mall - 3.2 km / 2 mi &lt;br /&gt; Sari Street - 3.6 km / 2.2 mi &lt;br /&gt; Al Rahma Mosque - 3.6 km / 2.2 mi &lt;br /&gt; Shallaby Museum of Traditional Handicrafts &amp; Hejazi Heritage - 3.7 km / 2.3 mi &lt;br /&gt; Old Coral Houses - 3.7 km / 2.3 mi &lt;br /&gt; King Faisal Specialist Hospital - 3.8 km / 2.4 mi &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The nearest major airport is King Abdulaziz Intl. Airport (JED) - 16.2 km / 10 mi&lt;/p&gt;</Text> </Description> <Description> <Language>en</Language> <Type>PoliciesDisclaimers</Type> <Text>&lt;ul&gt; &lt;li&gt;Extra-person charges may apply and vary depending on property policy&lt;/li&gt;&lt;li&gt;Government-issued photo identification and a credit card, debit card, or cash deposit may be required at check-in for incidental charges&lt;/li&gt;&lt;li&gt;Special requests are subject to availability upon check-in and may incur additional charges; special requests cannot be guaranteed&lt;/li&gt;&lt;li&gt;This property accepts credit cards, debit cards, and cash&lt;/li&gt;&lt;li&gt;This property uses a grey water recycling system&lt;/li&gt;&lt;li&gt;Host has indicated there is a carbon monoxide detector on the property&lt;/li&gt;&lt;li&gt;Host has indicated there is a smoke detector on the property&lt;/li&gt;&lt;li&gt;Safety features at this property include a fire extinguisher, a security system, a first aid kit, and window guards&lt;/li&gt;&lt;li&gt;This property is professionally cleaned&lt;/li&gt;&lt;li&gt;Please note that cultural norms and guest policies may differ by country and by property; the policies listed are provided by the property&lt;/li&gt; &lt;/ul&gt; &lt;ul&gt; &lt;li&gt;Couples wishing to share a room must provide proof of marriage. &lt;/li&gt;&lt;li&gt;The property has connecting/adjoining rooms, which are subject to availability and can be requested by contacting the property using the number on the booking confirmation. &lt;/li&gt;&lt;li&gt;No pets and no service animals are allowed at this property. &lt;/li&gt;&lt;li&gt;The property is professionally cleaned.&lt;/li&gt;&lt;li&gt;Contactless check-in and contactless check-out are available.&lt;/li&gt; &lt;/ul&gt;</Text> </Description> <Description> <Language>en</Language> <Type>DiningFacilities</Type> <Text>You can enjoy a meal at the restaurant serving the guests of Adagio Jeddah City Center, or stop in at the snack bar/deli. Continental breakfasts are available daily from 6:00 AM to 10:00 AM for a fee.</Text> </Description> </Description> <Rating> <System>Stars</System> <Score>4</Score> </Rating> </HotelElement> <Xsd>http://www.w3.org/2001/XMLSchema</Xsd> <Xsi>http://www.w3.org/2001/XMLSchema-instance</Xsi> </HotelSearchResult> </Data> </StaticAPIResponseOfListOfHotelSearchResult>