The price and inventory update will be carried out using the PhoenixRoomRateUpdateRequest message sent from Hotetec to the client. The client must respond with a PhoenixRoomRateUpdateResponse message.



PhoenixRoomRateUpdateRequest  


It is used to publish hotel prices and inventory:

Element

M

Type

Restrictions

Description

credentials

Y

ComplexElement

See definition

Access credentials

hotelCode

String

Hotel code


rateY

ComplexElement

[1...N]

See definition

Rate Information



Example PhoenixRoomRateUpdateRequest  


<PhoenixRoomRateUpdateRequest>

        <credentials>

                <system>PHX</system>

                <vendorCode>CONNECT</vendorCode>

                <user>USERTEST</user>

                <password>USERPASSWORD</password>

        </credentials>

        <hotelCode>52778</hotelCode>

        <rate code="BAR">

                    <room code="DBL#STD">

                            <applicableDates dateFrom="01/03/2020" dateTo="08/03/2020">

                                    <availableQuota>150</availableQuota>

                                    <release>10</release>

                                    <minimumStay>3</minimumStay>

                                    <maximumStay>20</maximumStay>

                                    <checkinRestriction>Open</checkinRestriction>

                                    <checkoutRestriction>Open</checkoutRestriction>

                                    <mealPlan code="RO">

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

                                    </mealPlan>

                        </applicableDates>

                </room>

        </rate>

</PhoenixRoomRateUpdateRequest>




PhoenixRoomRateUpdateResponse


It is the response message to the publication of hotel prices and inventory :


Element

M

Type

Restrictions

Description

status

Y

String

KO, OK

Indicates whether the request has been processed successfully (OK) or if an error has occurred (KO) 


error

ComplexElement

See definition

Error element



Example PhoenixRoomRateUpdateResponse


<PhoenixRoomRateUpdateResponse>

            <status>KO</status>

            <error code="PHX-3" message="Error durante la actualización de la tarifa"/>

</PhoenixRoomRateUpdateResponse>