Reservation Mod Notif
The Hotel Reservation Modification Notification provides a request/response pair of messages to support the functionality of updating other systems with modified reservation data. The message set assumes a push model, with the sending system pushing the data to another system.
The message is a notification of a modification or cancellation to an existing reservation, and does not require the receiving system to confirm the modification, only the receipt of the message. The responding system may add its own data (such as its own confirmation ID) and include that data in the response message.
The sending system will send a report using the OTA_HotelResModifyNotifRQ message. The receiving system will acknowledge its receipt of that report using the OTA_HotelResModifyNotifRS message.
- OTA_HotelResModifyNotifRQ – Sends a modification of a reservation to another system. All the elements and attributes are optional, unless otherwise stated as required. Refer to OTA_HotelResNotifRQ for details
- OTA_HotelResModifyNotifRS – Returns acknowledgement that the modification to the reservation has been successfully received or includes warnings from business processing rules or errors if the request did not succeed. It may optionally include the updated reservation data.
Direction
- 3rd Party can send request to Levart and expect a response.
Request
<OTA_HotelResModifyNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelResModifyNotifRQ.xsd"
TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0" ResStatus="Modify" EchoToken="12345">
<HotelResModifies>
<HotelResModify CreateDateTime="2018-07-04T17:53:32+12:00" LastModifyDateTime="2020-06-19T22:21:23+08:00" RoomStayReservation="true" CreatorID="Channel">
<UniqueID Type="14" ID="1111111123" ID_Context="CrsConfirmNumber" />
<UniqueID Type="14" ID="9642384" ID_Context="PmsConfirmNumber" />
<RoomStays>
<RoomStay MarketCode="MKT" SourceOfBusiness="13">
<RoomTypes>
<RoomType IsRoom="true" RoomTypeCode="STD" NumberOfUnits="1">
<RoomDescription Name="Standard Room">
<Text></Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="BAR" EffectiveDate="2019-02-06" ExpireDate="2019-02-12">
<RatePlanDescription Name="BAR Rate">
<Text>BAR Rate</Text>
</RatePlanDescription>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate EffectiveDate="2019-02-06" ExpireDate="2019-02-13" RoomTypeCode="STD" RatePlanCode="BAR" NumberOfUnits="1">
<Rates>
<Rate RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2019-02-06" ExpireDate="2019-02-07">
<Base AmountAfterTax="500.00" CurrencyCode="AUD" DecimalPlaces="2"/>
<Total AmountAfterTax="500.00" CurrencyCode="AUD" DecimalPlaces="2"/>
</Rate>
<Rate RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2019-02-07" ExpireDate="2019-02-08">
<Base AmountAfterTax="600.00" CurrencyCode="AUD" DecimalPlaces="2"/>
<Total AmountAfterTax="600.00" CurrencyCode="AUD" DecimalPlaces="2"/>
</Rate>
<Rate RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2019-02-08" ExpireDate="2019-02-12">
<Base AmountAfterTax="700.00" CurrencyCode="AUD" DecimalPlaces="2"/>
<Total AmountAfterTax="700.00" CurrencyCode="AUD" DecimalPlaces="2"/>
</Rate>
</Rates>
</RoomRate>
</RoomRates>
<GuestCounts IsPerRoom="true">
<GuestCount AgeQualifyingCode="10" Count="2" />
<GuestCount AgeQualifyingCode="8" Count="1" />
</GuestCounts>
<TimeSpan Start="2019-02-06" End="2019-02-12" Duration="P6N" />
<Total AmountAfterTax="3900.00" CurrencyCode="AUD" DecimalPlaces="2" />
<BasicPropertyInfo HotelCode="504" HotelName="Test Hotel"/>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<UniqueID Type="1" ID="911bcfce96694f40803821559423d9ea" ID_Context="ProfileID"/>
<Profile ProfileType="1">
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>James</GivenName>
<MiddleName>P</MiddleName>
<Surname>Simmonds</Surname>
</PersonName>
<Telephone PhoneTechType="1" PhoneNumber="08 9382 8001" />
<Telephone PhoneTechType="3" PhoneNumber="08 9382 8003" />
<Telephone PhoneTechType="5" PhoneNumber="0444 444 444" />
<Email>jammes@levart.com.au</Email>
<Address>
<AddressLine>Unit 2</AddressLine>
<AddressLine>39 Chapel Street</AddressLine>
<CityName>Melbourne</CityName>
<PostalCode>3000</PostalCode>
<StateProv>NSW</StateProv>
<CountryName Code="AU">Australia</CountryName>
</Address>
</Customer>
<Affiliations>
<TravelArranger TravelSector="3" CompanyShortName="Super Travel Co" Code="0123456" CodeContext="IATA" />
</Affiliations>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<Services>
<Service Quantity="1">
<Price>
<Total AmountAfterTax="100.00" CurrencyCode="AUD"/>
</Price>
<ServiceDetails>
<ServiceDescription Name="Town Tour"/>
</ServiceDetails>
</Service>
<Service Quantity="1">
<Price>
<Total AmountAfterTax="50.00" CurrencyCode="AUD"/>
</Price>
<ServiceDetails>
<ServiceDescription Name="Champagne"/>
</ServiceDetails>
</Service>
</Services>
<ResGlobalInfo>
<Comments>
<Comment>
<Text>Test Comment</Text>
</Comment>
</Comments>
<Guarantee>
<GuaranteesAccepted>
<GuaranteeAccepted PaymentTransactionTypeCode="charge">
<PaymentCard SeriesCode="456" CardType="1" CardCode="VI" CardNumber="4111111111111111" ExpireDate="0308">
<CardHolderName>James Test Card</CardHolderName>
</PaymentCard>
</GuaranteeAccepted>
</GuaranteesAccepted>
</Guarantee>
<Total AmountAfterTax="4050.00" CurrencyCode="AUD" DecimalPlaces="2"/>
<HotelReservationIDs>
<HotelReservationID ResID_Type="14" ResID_Value="1111111123" ResID_Source="CRS" ResID_SourceContext="CrsConfirmNumber" />
</HotelReservationIDs>
<Profiles>
<ProfileInfo>
<UniqueID Type="5" ID="0123456" ID_Context="IATA"/>
<Profile ProfileType="4">
<CompanyInfo>
<CompanyName CodeContext="IATA" CompanyShortName="Super Travel Co" TravelSector="3" Code="0123456" />
<AddressInfo></AddressInfo>
<TelephoneInfo PhoneTechType="1" PhoneNumber="08 9444 4444" />
<TelephoneInfo PhoneTechType="3" PhoneNumber="08 9382 8003" />
<TelephoneInfo PhoneTechType="5" PhoneNumber="0444 444 444" />
<Email>agent@levart.com.au</Email>
<BusinessLocale Type="2">
<AddressLine>Floor 2</AddressLine>
<AddressLine>44 William Street</AddressLine>
<CityName>Perth</CityName>
<PostalCode>6000</PostalCode>
<StateProv>WA</StateProv>
<CountryName Code="AU">Australia</CountryName>
</BusinessLocale>
</CompanyInfo>
</Profile>
</ProfileInfo>
</Profiles>
</ResGlobalInfo>
</HotelResModify>
</HotelResModifies>
</OTA_HotelResModifyNotifRQ>
Response (Success)
<OTA_HotelResModifyNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelResModifyNotifRS.xsd"
TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0" EchoToken="12345">
<--Booking 1111111123 was modified-->
<Success />
<HotelResModifies>
<HotelResModify RoomStayReservation="true" CreateDateTime="2018-07-04T17:58:32+12:00">
<UniqueID Type="14" ID="1111111123" ID_Context="CrsConfirmNumber" />
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Type="14" ResID_Value="9656209" ResID_SourceContext="PmsConfirmNumber" />
</HotelReservationIDs>
</ResGlobalInfo>
</HotelResModify>
</HotelResModifies>
</OTA_HotelResModifyNotifRS>
Response (Error)
<OTA_HotelResModifyNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 https://secure.levartdistributionsystems.com.au/html/schema/OTA/2015B/OTA_HotelResModifyNotifRS.xsd"
TimeStamp="2020-06-19T22:21:23+08:00" Target="Production" Version="1.0" EchoToken="12345">
<Warnings>
<Warning Type='1'>Error [OTA_Response::removeBooking(): Could not modify: Reservation '13353000007' exists but PmsConfirmNumber does not match current (you gave: 104, we need: 120)]</Warning>
</Warnings>
<HotelResModifies>
<HotelResModify>
<UniqueID Type="14" ID="13353000007" ID_Context="CrsConfirmNumber" />
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Type="14" ResID_SourceContext="PmsConfirmNumber" ResID_Value="" />
</HotelReservationIDs>
</ResGlobalInfo>
</HotelResModify>
</HotelResModifies>
</OTA_HotelResModifyNotifRS>