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 | Acces credentials | |
hotelCode | Y | 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
Element | M | Type | Restrictions | Description |
hotelConfig | Y | ComplexElement | Hotel definition | |
error | Y | ComplexElement | 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>