Get All Hotel Details by Hotel Ids

This API retrieves detailed information for one or more hotels using their unique hotel IDs.
The Get All Hotel Details by HotelIds API retrieves complete information for one or more specific hotels.
It takes HotelIds as input and returns detailed hotel data such as Name, Address, Region, Contact Details, Ratings, Latitude/Longitude
Some additional fields may also be available from the XML response.
This API is mainly used to fetch full hotel details for booking, display, or reporting purposes.It supports both XML and JSON formats and returns complete hotel information,including name, address, star rating, coordinates, and region details.

GetAllHotelsDetailsByHotelIds Request Syntax

Request Header

HTTP Method : [POST]
Content-Type : [application/xml or application/json]
Accept : [application/xml or application/json]
Authentication : [Based on Org, User, and Password in the request body.]

Request Parameters

Field Type Required Description

Org

string Yes

Organization code used for authentication

User

string Yes

Username used for authentication

Password

string Yes

Password used for authentication

Language

string Yes

Language preference (e.g., “en”)

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

Describes the result of the request (e.g., “Hotel details fetched successfully”).

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

Int

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).

Description

Object

Hotel description (if available).

Rating

Object

Rating details (system and score).

Region Object

Field Type Description

CityId

Int

Unique identifier of the city.

Id

Int

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 .

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).

Test

String

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

Response Samples

Samples

Copy
<HotelSearch xmlns="http://www.reservwire.com/namespace/WebServices/Xml"> <Authority> <Org>TestOrg</Org> <User>TestUser</User> <Password>TestPassword</Password> <Language>en</Language> </Authority> <HotelIds> <HotelId>123</HotelId> <HotelId>456</HotelId> <HotelId>789</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 successfully</Message> <Data> <HotelSearchResult> <HotelElement> <Id>123</Id> <Name>Hotel Kalemi</Name> <Region> <CityId>123</CityId> <Id>456</Id> <Name>Gjirokaster</Name> </Region> <Address> <Address1>Bashkim Kokona 14</Address1> <Address2 xsi:type="xsd:string"></Address2> <Address3 xsi:type="xsd:string"></Address3> <City>Gjirokaster</City> <State /> <Zip xsi:type="xsd:string"></Zip> <Country>Albania</Country> <Tel xsi:type="xsd:string">00355 84 26 37 24</Tel> </Address> <Stars>3</Stars> <GeneralInfo> <Latitude>40.074507</Latitude> <Longitude>20.13459</Longitude> </GeneralInfo> <Photo /> <Description /> <Rating> <System>Stars</System> <Score>3</Score> </Rating> </HotelElement> <Xsd>http://www.w3.org/2001/XMLSchema</Xsd> <Xsi>http://www.w3.org/2001/XMLSchema-instance</Xsi> </HotelSearchResult> </Data> </StaticAPIResponseOfListOfHotelSearchResult>
Copy
{ "Authority": { "Org": "TestOrg", "User": "TestUser", "Password": "TestPassword", "Language": "en" }, "HotelIds": ["123", "456", "789"] }
{ "Success": true, "Message": "Hotel details fetched successfully", "Data": [ { "HotelElement": { "Id": "123", "Name": "Hotel Kalemi", "Region": { "CityId": "123", "Id": "123", "Name": "Gjirokaster" }, "Address": { "Address1": "Bashkim Kokona 14", "Address2": "", "Address3": "", "City": "Gjirokaster", "State": "", "Zip": "", "Country": "Albania", "Tel": "00355 84 26 37 24", }, "Stars": 3, "GeneralInfo": { "Latitude": "40.074507", "Longitude": "20.13459" }, "Photo": "", "Description": "", "Rating": { "System": "Stars", "Score": 3 }, }, "Xsd": "http://www.w3.org/2001/XMLSchema", "Xsi": "http://www.w3.org/2001/XMLSchema-instance" } ] }