Types Request

These operations retrieve the different master lists needed to use with the ContentAPI response.

There are several operations, all of which have the following common request parameters:

Parameter

Type

Description

fields

String

The list of fields to be received in the response. If nothing is specified, the accommodation type code is returned. To retrieve all the fields use ‘all’. See the complete list of available fields in the response.

lastUpdateTime

String

Specifying this parameter limits the results to those modified or added after the date specified. The required format is YYYY-MM-DD.

language

String

The language code for the language in which you want the descriptions to be returned. If the language is not specified, English is the default language.

from

String

The number of the initial record to receive. If nothing is specified, 1 is the default value.

to

String

The number of the final record to receive. If nothing is indicated, 100 is the default value.

useSecondaryLanguage

String

Specify "True" if you want to receive the descriptions in English if the description is not available in the language requested. Specify "False" (default value) if you do not want to receive the description in English if the language requested is not available. 

Accommodations

Returns the list of available accommodation types.

Examples: 

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/accommodations?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/accommodations?lastUpdateTime=2015-09-10&fields=all&language=ENG

 

Boards

Returns the list of available board types. 

Examples: 

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/boards?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/boards?lastUpdateTime=2015-09-10&fields=all&language=ENG

 

Categories

Returns the list of available categories. 

Examples: 

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/categories?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/categories?lastUpdateTime=2015-09-10&fields=all&language=ENG

Chains

Returns the list of available chains. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/chains?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/chains?lastUpdateTime=2015-09-10&fields=all&language=ENG

Currencies

Returns the list of available currencies. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/currencies?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/currencies?lastUpdateTime=2015-09-10&fields=all&language=ENG

Facilities

Returns the list of available facilities. 

Examples: 

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/facilities?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/facilities?lastUpdateTime=2015-09-10&fields=all&language=ENG

Facility groups

Returns the list of available facility groups. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/facilitygroups?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/facilitygroups?lastUpdateTime=2015-09-10&fields=all&language=ENG

 

Facility typologies

Returns the list of available facility typologies.

Remarks: Since all fields are returned by default, there won't be any field to filter.

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/facilitytypologies?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/facilitytypologies?lastUpdateTime=20150910010000&fields=all&language=ENG

Issues

Returns the list of available issues.

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/issues?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/issues?lastUpdateTime=2015-09-10&fields=all&language=ENG

Languages

Returns the list of available languages. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/languages?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/languages?lastUpdateTime=2015-09-10&fields=all&language=ENG

Promotions

Returns the list of available promotions. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/promotions?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/promotions?lastUpdateTime=20150910010000&fields=all&language=ENG

Rooms

Returns the list of available rooms. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/rooms?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/rooms?lastUpdateTime=2015-09-10&fields=all&language=ENG

Segments

Returns the list of available segments 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/segments?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/segments?lastUpdateTime=2015-09-10&fields=all&language=ENG

Terminals

Returns the list of available terminals. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/terminals?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/terminals?lastUpdateTime=20150910010000&fields=all&language=ENG

Image types

Returns the descriptions of the different image types. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/imagetypes?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/imagetypes?lastUpdateTime=2015-09-10&fields=all&language=ENG

Group categories

Returns the descriptions of the different category groups. 

Examples:

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/groupcategories?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/groupcategories?lastUpdateTime=2015-09-10&fields=all&language=ENG

 

Rate comments

Returns the descriptions of the Rate Comments associated with the hotel that the hotelier wants the client to read before confirming the booking. You can check the use of Rate Comments here:

In addition to the common /types/ operation parameters on the top, it also has a code:

Parameter Type Description
Code String Rate comment code 

Examples: 

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/ratecomments?fields=all&language=ENG&from=1&to=100

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/ratecomments?lastUpdateTime=20150910010000&fields=all&language=ENG

 

Rate comment details

Returns the descriptions of the rate comments associated with the hotel that the hotelier wants the client to read before confirming the booking with the given date.

In addition to the common /types/ operation parameters on the top, it also has the following parameters:

Paramenter

Type

Mandatory

Description

code

Int

Y

Rate comment code

date

Date

Y

Check in date. Format: YYYY-MM-DD

Examples: 

https://api.test.hotelbeds.com/hotel-content-api/1.0/types/ratecommentdetails?code=79|51538|0&fields=all&date=2016-03-18&language=CAS&from=1&to=100

Docs Navigation