PhoenixHotelConfiguration


Let's suppose the Hotel Playa del Mar with code 555. 

This hotel has 3 rooms

  • Single (code INV)
  • Double (code DBL)
  • Triple (code TPL)



The rooms have the following occupancies:

  • Single room: 1 Adult. 
  • Double room: 1 Adult + 1 Child, 2 Adults, and 2 Adults + 1 Child. 
  • Triple room: 1 Adult, 1 Adult + 1 Child, 2 Adults, 2 Adults + 1 Child, 2 Adults + 2 Children, and 3 Adults. 


The rates for this hotel are 2: 

  • Standard rate (code STD) 
  • Offer rate (code OFE) 


The Standard rate applies to all rooms, while the Premium rate applies only to the Double room. 


Concerning mealplans:

  • The Standard rate has available the meal plans of Room Only (code RO), Bed and Breakfast (code BB), and All Inclusive (code AI). 
  • Meanwhile, the Offer rate is only available with the All-Inclusive plan (AI). This rate is Non-refundable. 


Then, the hotel configuration response message would be as follows:


<PhoenixHotelConfigurationResponse>

    <hotelConfig code="555" name="Playa del Mar">

        <roomConfig code="INV" name="Individual">

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

            <rateConfig code="STD" name="Tarifa Estandard">

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

                <mealPlanConfig code="BB" name="Bed and breakfast"/>

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

            </rateConfig>

        </roomConfig>

        <roomConfig code="DBL" name="Doble">

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

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

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

            <rateConfig code="STD" name="Tarifa Estandard">

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

                <mealPlanConfig code="BB" name="Bed and breakfast"/>

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

            </rateConfig>

            <rateConfig code="OFE" name="Tarifa Oferta">

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

                <property code="NRE"/>

            </rateConfig>

        </roomConfig>

        <roomConfig code="TPL" name="Triple">

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

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

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

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

            <occupationConfig adults="3" children="0" babies="0"/>

            <rateConfig code="STD" name="Tarifa Estandard">

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

                <mealPlanConfig code="BB" name="Bed and breakfast"/>

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

            </rateConfig>

        </roomConfig>

    </hotelConfig>

</PhoenixHotelConfigurationResponse>



PhoenixRoomRateUpdateRequest

Based on the previous configuration, let's update the Standard rate (code STD) for the Double room (code DBL).

For the first week of January, it will have 10 units of available rooms, with a release period of 2 days. 

There is a minimum of 2 nights and a maximum stay of 21.

There are no restrictions on check-in or check-out.

The prices for the occupancies are as follows in the Room Only meal plan (code RO):

  • 150€ for 1 adult
  • 175€ for 2 adults
  • 185€for 2 adults + 1 child 


Here is the XML request message to update this information:


<PhoenixRoomRateUpdateRequest>

    <credentials>

        <system>PHX</system>

        <vendorCode>CONNECT</vendorCode>

        <user>YOUR_CHANNEL_USER</user>

        <password>YOUR_CHANNEL_PASSWORD</password>

    </credentials>

    <hotelCode>555</hotelCode>

    <rate code="STD">

        <room code="DBL">

            <applicableDates dateFrom="01/01/2025" dateTo="07/01/2025">

                <availableQuota>10</availableQuota>

                <release>2</release>

                <minimumStay>2</minimumStay>

                <maximumStay>21</maximumStay>

                <checkinRestriction>Open</checkinRestriction>

                <checkoutRestriction>Open</checkoutRestriction>

                <mealPlan code="RO">

                    <occupation adults="1" children="0" babies="0" status="Open" amount="150.0"/>

                </mealPlan>

            </applicableDates>

        </room>

        <room code="DBL">

            <applicableDates dateFrom="01/01/2025" dateTo="07/01/2025">

                <availableQuota>10</availableQuota>

                <release>2</release>

                <minimumStay>2</minimumStay>

                <maximumStay>21</maximumStay>

                <checkinRestriction>Open</checkinRestriction>

                <checkoutRestriction>Open</checkoutRestriction>

                <mealPlan code="RO">

                    <occupation adults="2" children="0" babies="0" status="Open" amount="175.0"/>

                </mealPlan>

            </applicableDates>

        </room>

        <room code="DBL">

            <applicableDates dateFrom="01/01/2025" dateTo="07/01/2025">

                <availableQuota>10</availableQuota>

                <release>2</release>

                <minimumStay>2</minimumStay>

                <maximumStay>21</maximumStay>

                <checkinRestriction>Open</checkinRestriction>

                <checkoutRestriction>Open</checkoutRestriction>

                <mealPlan code="RO">

                    <occupation adults="2" children="1" babies="0" status="Open" amount="185.0"/>

                </mealPlan>

            </applicableDates>

        </room>

    </rate>

</PhoenixRoomRateUpdateRequest> 



BookingNotificationRequest


To make a reservation for a Double room (code DBL) occupied by 2 adults and 1 child in the hotel Playa del Mar (code 555), we'll create the following XML request message. This reservation will include all necessary details such as check-in, check-out, guest information, and pricing.


Here is the example XML request message for the reservation:


<PhoenixBookingNotificationRequest>

    <booking>

        <reference>A001231769</reference>

        <createDateTime>01/08/2024 12:00:00</createDateTime>

        <checkinDate>01/01/2025</checkinDate>

        <checkoutDate>05/01/2025</checkoutDate>

        <agencyCode>TST</agencyCode>

        <hotelCode>555</hotelCode>

        <amount>700.00</amount>

        <currencyCode>EUR</currencyCode>

        <contactPerson name="JOHN" surname="SMITH" email="[email protected]" telephone="600600600" country="UK"/>

        <bookingRoom id="1">

            <status>Confirmed</status>

        <checkinDate>01/01/2025</checkinDate>

        <checkoutDate>05/01/2025</checkoutDate>

            <roomCode>DBL</roomCode>

            <mealPlan>RO</mealPlan>

            <amount>700.00</amount>

            <currencyCode>EUR</currencyCode>

            <rateDay day="01/01/2025" rateCode="STD" amount="175.00"/>

            <rateDay day="02/01/2025" rateCode="STD" amount="175.00"/>

            <rateDay day="03/01/2025" rateCode="STD" amount="175.00"/>

            <rateDay day="04/01/2025" rateCode="STD" amount="175.00"/>

            <guest id="1" name="John Smith" amount="350.00" age="33" birthDate="01/04/1987"/>

            <guest id="2" name="Jane Doe" amount="350.00" age="35" birthDate="01/04/1985"/>

            <guest id="3" name="Janet Smith" amount="0.00" age="10" birthDate="01/04/2021"/>

            <arrivalFlight dateTime="01/01/2025 09:40:00" flightNumber="abc1234"/>

            <departureFlight dateTime="05/01/2025 22:15:00" flightNumber="xyz9876"/>

            <remark text=" Non smoking room please"/>

        </bookingRoom>

        <remark text="Nice room please"/>

        <paymentCardDetail holder="John Smith" number="4111111111111111" expiryDate="01/04/2029" securityCode="123"/>

    </booking>

</PhoenixBookingNotificationRequest>