The message that Smarthotel will send to partners to notify them about a deposit that has been made on a reservation.
<?xml version="1.0" encoding="utf-8"?>
<OTA_HotelResModifyRQ EchoToken="Example123" TimeStamp="2018-07-29T07:38:54.729Z" Version="1.0" ResStatus="Modify">
<POS>
<Source>
<RequestorID ID="APIKEY" MessagePassword="APIPASSWORD"/>
</Source>
</POS>
<HotelResModifies>
<HotelResModify>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Type="14" ResID_Value="123456" />
<HotelReservationID ResID_Type="5" ResID_Value="7890" />
</HotelReservationIDs>
<DepositPayments>
<GuaranteePayment GuaranteeCode="1111" PaymentCode="Deposit" >
<AmountPercent Amount="15000" CurrencyCode="EUR" DecimalPlaces="2" />
<Description>
<Text>Payment method</Text>
</Description>
</GuaranteePayment>
</DepositPayments>
<BasicPropertyInfo HotelCode="12345" />
</ResGlobalInfo>
</HotelResModify>
</HotelResModifies>
</OTA_HotelResModifyRQ>
| Element / @Attribute | Parent | Info | Values | Occurrence |
|---|---|---|---|---|
| HotelResModifies | OTA_HotelResModifyRQ | A collection of reservations to be modified. Full structure of a hotel reservation modification. | 1 | |
| HotelResModify | HotelResModifies | The reservation to commit. | 1 | |
| UniqueID | HotelResModify | An identifier used to uniquely reference an object in a system. | 1 | |
| @ID | UniqueID | The ID of the confirmation. | 1 | |
| @Type | UniqueID | Defines the type of UniqueID. | 14 = Reservation |
1 |
| ResGlobalInfo | HotelResModify | ResGlobalInfo is a container for various information that affects the Reservation as a whole. These include global comments, counts, reservation IDs, loyalty programs, and payment methods. | 1 | |
| HotelReservationIDs | ResGlobalInfo | A Collection of HotelReservationID objects for a given reservation. | 1 | |
| HotelReservationID | HotelReservationIDs | The HotelReservationID object contains various unique (ReservationID) identifiers that the trading partners associate with a given reservation. | 2 | |
| @ResID_Value | HotelReservationID | The ID of the confirmation. | 1 | |
| @ResID_Type | HotelReservationID | Defines the type of Reservation ID. | 5 = Travel agent14 = Reservation |
1 |
| DepositPayments | ResGlobalInfo | A collection of deposit and/or payments.A collection of required payments. | 1 | |
| GuaranteePayment | DepositPayments | Used to define the deposit policy, guarantees policy, and/or accepted forms of payment. | 1 | |
| @GuaranteeCode | GuaranteePayment | The code of the guarantee. | 1 | |
| @PaymentCode | GuaranteePayment | The code of the payment. | Deposit |
1 |
| AmountPercent | GuaranteePayment | The deposit expressed as a fixed amount. | 1 | |
| @Amount | AmountPercent | The deposit amount. | 1 | |
| @CurrencyCode | AmountPercent | EUR, GBP, USD, ... |
Refer to ISO 4217 | 1 |
| @DecimalPlaces | AmountPercent | The ISO 4217 standard "minor unit" for the number of decimal places for a particular currency. | 2 |
1 |
| Description | GuaranteePayment | Text description of the payment. | 1 | |
| Text | Description | The text content. | 1 | |
| BasicPropertyInfo | ResGlobalInfo | Property information for the reservation. An abbreviated short summary of hotel descriptive information. | 1 | |
| @HotelCode | BasicPropertyInfo | The ID of the hotel. | 1 |