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

Y

Alphanumeric

Generated session’s ID

languageCode

Y

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

Y

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

Y

Alphanumeric

Single’s hotel/establishment code

vendorCode

N

Alphanumeric

Company code of a hotel/establishment set

 

Example request:


{
    "sessionId": "TES#20727#404917811765185",
    "languageCode": "ES",
    "currency": "EUR",
    "hotelCode": "52767",
    "vendorCode": "CONNECT"
}


 


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 response:



{
    "sessionId": "TES#20727#404917811765185",
    "hotel": {
        "code": "52767",
        "name": "Hotetec PUSH",
        "establishmentType": {
            "code": "HOTL",
            "name": "Hotel"
        },
        "category": {
            "code": "4*",
            "name": "Cuatro estrellas"
        },
        "address": {
            "country": {
                "code": "ES",
                "name": "ESPAÑA"
            },
            "county": "Palma de Mallorca",
            "location": {
                "code": "ES-46393",
                "name": "Palma de Mallorca"
            },
            "parentLocation": {
                "code": "ESBAL03",
                "name": "MALLORCA"
           },
            "postalCode": "07121",
            "addressText": "CL Parc Bit, S/N",
            "gps": {
                "latitude": 39.6366,
                "longitude": 2.6322
            }
        },
        "contact": [
            {
                "type": "Business",
                "phone": "971439530",
                "email": "connectivity@hotetec.com",
                "web": "www.Hotetec.com"
            }
        ],
        "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. Duis 
              aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat 
              nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
  officia deserunt mollit anim id est laborum.",
        "photoUrl": [
            "https://web-resources.hotel.hotetec.com/static/images/hotel.multimedia/CONNECT/52767/
             Hotel/sm/l0gDZctGYSaC2iC7.jpg"
        ],
        "roomType": [
            {
                "code": "SGL#STD",
                "name": "Individual Estándar",
                "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": [
                    "https://web-resources.hotel.hotetec.com/static/images/hotel.multimedia/CONNECT
                    /52767/Room/sm/zBHgiLqzUU6EReOf.jpg"
                ]
            },
            {
                "code": "DBL#STD",
                "name": "Doble Estándar",
                "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": [
                    "https://web-resources.hotel.hotetec.com/static/images/hotel.multimedia/CONNECT
                    /52767/Room/sm/S4McySA8aAdquHRF.jpg" 
               ]
            },
            {
                "code": "APT#STD",
                "name": "Apartamento Estándar",
                "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": [
                    "https://web-resources.hotel.hotetec.com/static/images/hotel.multimedia/CONNECT
                    /52767/Room/sm/0fe8TibJSIyXpVh5.jpg"
                ]
            },
            {
                "code": "SUI#GDV",
                "name": "Suite Vista jardín",
                "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 commod
                     o consequat.",
                "photoUrl": [
                    "https://web-resources.hotel.hotetec.com/static/images/hotel.multimedia/CONNECT
                    /52767/Room/sm/IGbvf2uwxQ0vIyEg.jpg"
                ]
            },
            {
                "code": "DBL#SUP",
                "name": "Doble Superior",
                "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": [
                    "https://web-resources.hotel.hotetec.com/static/images/hotel.multimedia/CONNECT
                    /52767/Room/sm/LzMyIlPX9Hj4d091.jpg"
                ]
            },
            {
                "code": "FAM#STD",
                "name": "Familiar Estándar",
                "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": [
                    "https://web-resources.hotel.hotetec.com/static/images/hotel.multimedia/CONNECT
                    /52767/Room/sm/QEdD6aEnO3dz6nIf.jpg"
                ]
            }
        ],
        "rate": [
            {
                "code": "30448",
                "name": "Tarifa base US DOLAR",
                "systemCode": "TES",
                "forSale": false
            },
            {
                "code": "30447",
                "name": "Tarifa base EURO",
                "systemCode": "TES",
                "forSale": true
            },
            {
                "code": "30641",
                "name": "Tarifa NRF USD",
                "parentCode": "30448",
                "systemCode": "TES",
                "forSale": false
            }
        ]
    }
}