The retrieval of rooms and rates will be conducted using the PhoenixHotelConfigurationRequest message sent from Hotetec to the client. 

The client is required to respond with a PhoenixHotelConfigurationResponse message. 



PhoenixHotelConfigurationRequest  


It is used to retrieve the hotel rooms and rates. 


Element

M

Type

Restrictions

Description

credentials

Y

ComplexElement

See definition

Acces credentials

hotelCode

String

Hotel code




Example PhoenixHotelConfigurationRequest  


<PhoenixHotelConfigurationRequest>

        <credentials>

                <system>PHX</system>

                <vendorCode>CONNECT</vendorCode>

                <user>USERTEST</user>

                <password>USERPASSWORD</password>

        </credentials>

        <hotelCode>52778</hotelCode>

</PhoenixHotelConfigurationRequest>




PhoenixHotelConfigurationResponse


It is the response message for retrieving the hotel's rooms and rates:



Element

M

Type

Restrictions

Description

hotelConfig

Y

ComplexElement

See definition

Hotel definition

error

ComplexElement

See definition

Error element



Example  PhoenixHotelConfigurationResponse


<PhoenixHotelConfigurationResponse>

            <hotelConfig code="52778” name="Hotel Test”>

                    <roomConfig code="2542” name="Doble Vista Mar”>

                    <occupationConfig adults="2” children="0” babies="0”/>

                    <occupationConfig adults="2” children="1” babies="0”/>

                    <rateConfig code="1234”name="Hotel Test”>

                                <mealPlanConfig code="RO” name="Solo Alojamiento”/>

                                <mealPlanConfig code="AI” name="Todo Incluido”/>

                                <property code="NRE”>

                                <property code="RES”>

                    </rateConfig>

                    </roomConfig>

        </hotelConfig>

</PhoenixHotelConfigurationResponse>