This message returns all the information relating to the establishments to which the user has access.

The request can be made by filtering by a specific establishment or by a set of establishments, as well as a general request which will return all of the hotels.

 

The information of this message corresponds to the general data obtained in the listHotels message as well as detailed information on rooms, services, photographs, etc.


Endpointhttps://hotel.new.hotetec.com/webservice/integrations/pull/hotelInformation 


 

hotelInformation Request message

 

The message has the following elements:

 

Element

Mandatory

Values/Format

Description

sessionId

S

Alphanumeric

Generated session’s ID

languageCode

N

DE, EN, ES, FR, IT, NL, PT

Language in which we want to receive the response. If not indicated, the value that Hotetec has by default for the user will be returned.

 

ISO 639-1 codes are used. Right know only the codes indicated in values are accepted.

currency

N

EUR, USD, GBP, EGP, MXN, CHF, CUP

Currency in which we want to receive the prices of the request. If not indicated, the value that Hotetec has by default for the user will be returned.

 

ISO 639-1 codes are used. Right know only the codes indicated in values are accepted.

hotelCode

S

Alphanumeric

Single’s hotel/establishment code

vendorCode

N

Alphanumeric

Company code of a hotel/establishment set

 

Example message (JSON):

{

    "sessionId"" HPH#20077#682164202862402",

    "languageCode""ES",

    "currency""EUR",

    "hotelCode": ["45501"],

    "vendorCode": ["DEMOHTT"]

}

 


hotelInformation Response message

 

The message has the following elements:


Element

Description

sessionId

Generated session’s ID

notification

Type of notification.

Error: it’s important to check it immediately in order to solve the issue that is being indicated by the system.

Warning

Information

notificationDetail

Notification’s description

vendorCode

Company code of a hotel/establishment set

 

Hotel

code

Single’s hotel/establishment code

name

Establishment’s full name

chain

Chain to which the establishment belongs

 

establishmentType

code

Establishment’s type code. (Example: HOTL)

name

Establishment’s type description. (Example: Hotel)

 

Category

code

Category’s code (Example: 5*)

name

Category's description. (Example: Five Stars)

 

address – country

code

Country’s code (Example: ES)

name

Country’s description. (Example: España – Spain)

state

Additional typing of the destination tree

county

Establishment’s city

province

Additional typing of the destination tree

 

address – location

code

Geographical area’s code

name

Geographical area’s description

postalCode

Establishment’s postcode

adressText

Establishment’s postal address

 

address – gps

latitude

Latitude

longitude

Longitude

 

contact

Establishment’s contact details

description

Establishment’s general description

photoUrl

URLs of the establishment's images

 

roomType

Establishment’s rooms list

code

Internal room’s code. Internal use.

name

Room’s commercial name

description

Room’s description

photoUrl

URLs of room’s images

facility

Room’s services/facilities

code: facility’s code

name: facility’s name/description

 

facility

Establishment’s services

code

Facility’s code

name

Facility’s name/description

 

thematic

Establishment’s-related thematic

code

Thematic code

name

Thematic name/description

 

rate

Establishment’s rates list

Example message (JSON):

{

    "sessionId""HPH#20077#652627707000703",

    "notification"null,

    "notificationDetail"null,

    "hotel": {

        "code""45501",

        "name""Hotetec Playa",

        "chain"null,

        "establishmentType": {

            "code""HOTL",

            "name""Hotel"

        },

        "category": {

            "code""5*",

            "name""Cinco estrellas"

        },

        "address": {

            "country": {

                "code""ES",

                "name""ESPAÑA"

            },

            "state"null,

            "county""Palma de Mallorca",

            "province"null,

            "location": {

                "code""ES-46393",

                "name""Palma de Mallorca"

            },

            "postalCode""07001",

            "addressText""PS Marítimo, 35",

            "gps": {

                "latitude"39.7644,

                "longitude"3.1615

            }

        },

        "contact"null,

        "description""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

        "photoUrl": [

            "https://hotel.new.hotetec.com/static/images/hotel.multimedia/DEMOHTT/52774/Hotel/sm/CQQEtSTR3fe21Hu0.jpg",

        ],

        "roomType": [

            {

                "code""SGL#STD",

                "name""Standard Single room",

                "description""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",

                "photoUrl"null,

                "facility": [

                    {

                        "code""SATELITE",

                        "name"" Satellite channel"

                    },

                    {

                        "code""DUCHA",

                        "name"" Shower"

                    }

                ]

            },

            {

        "facility": [

            {

                "code""TE_CAFE",

                "name"" Accessories tea / coffee"

            },

            {

                "code""RENTBICI",

                "name"" Bicycle rental"

            },

            {

                "code""INTERNET",

                "name"" Internet access"

            }

        ],

        "thematic": [

            {

                "code""ONLYADULTS",

                "name""Only Adults"

            }

        ],

        "rate"null

}