Static Content API

ZentrumHub's Static Content API delivers comprehensive static content details about hotel properties, enabling users to easily access essential information. This API provides data on hotel names, facilities, images, star ratings, review ratings, addresses, and contact information, among other details. Furthermore, it supports advanced geographical search options, including polygon, circular region, and multi-polygon searches, allowing for precise location-based queries. Users can also search using specific hotel IDs, facilitating quick access to detailed information about particular properties. This rich and varied content ensures that users have all the necessary information at their fingertips, making the Static Content API an invaluable resource for applications requiring detailed hotel property data.

Static Content API Details:
HTTP: POST
Endpoint:{baseEndpoint}/api/content/hotelcontent/getHotelContent

FAQs

Hotel content request - in the contentFields, are there options in addition to below pasted from the request sample? What does "basic" include?

Below are the details provided under basic:

Category
ChainCode
ChainName
Contact
Distance
GeoCode
HeroImage
Id
Language
Name
ProviderHotelId
ProviderId
ProviderName
RelevanceScore
Website
Type
StarRating
ImageCount
RatePlanTypes
Attributes

Hotel static content - is there an option to download static content on a regular basis, or does it have to be retrieved via the Get Hotel Content API as part of the booking workflow? There is some basic content that we need locally based on the way our product is architected today, including hotel id, hotel name, hotel address, star rating, latitude/longitude, phone number.
We don't have any API on our end to allow downloading static content.
You will need to use the getHotelContent API to fetch hotel content details.
You will find all the basic details of the hotels in the response.

Does the API support the biasing of search results?
Yes, the Content API returns a relevance score for each hotel based on pre-configured biasing rules. These rules can be set up in the hotel's static content fields. The results can be sorted based on the relevance score. The hotels with the highest relevance score can be displayed at the top of the list.

If the same hotel is available from multiple suppliers, how can I display the static content for that hotel?
The API returns static content from a single supplier. The supplier is decided based on the pre-configured supplier preferencing for static content. Alternatively, you can also provide the supplier preferences in the request in the providerPrefs field.

Error Codes

Error CodeError Message
4001Invalid data in request - Please refer to the fields[] for more details.
5000Your request failed due to an unknown system error. Please contact support team with the correlationId.