Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Modification Confirmation Request confirms all requested changes on Modification Initiate stage.

It has the same structure as Modification Initiate Request, but the @ResStatus attribute must always be "Modify":

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

OTA_HotelResModifyRQ*

ResStatus*

string ("Modify")

Status of the current modification. Must be always “Modify” for that step.

1...1

Expand
titleModification Confirmation Request Sample XML
Code Block
languagexml
<OTA_HotelResModifyRQ ResStatus="Modify" TransactionIdentifier="12232" EchoToken="tok1EchoToken" PrimaryLangID="en" Version="2">
   <POS>
      <Source>
         <RequestorID ID="client" MessagePassword="pwd" Type="22"/>
         <BookingChannel Type="7" PriceDomain="1"/>
      </Source>
   </POS>
   <HotelResModifies>
      <HotelResModify>
         <RoomStays>
            <RoomStay>
               <RoomRates>
                  <RoomRate InvBlockCode="1" NumberOfUnits="1"/>
               </RoomRates>
               <TimeSpan Start="2020-07-18" End="2020-07-23"/>
            </RoomStay>
         </RoomStays>
         <ResGuests>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="1" Type="1"/>
                     <Profile>
                        <Customer>
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>Oleg</GivenName>
                              <Surname>Ivanov</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="2" Type="1"/>
                     <Profile>
                        <Customer>
                           <PersonName>
                              <NamePrefix>Mrs</NamePrefix>
                              <GivenName>Olga</GivenName>
                              <Surname>Ivanova</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="3" Type="1"/>
                     <Profile>
                        <Customer BirthDate="2014-07-18">
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>Alexey</GivenName>
                              <Surname>Ivanov</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
         </ResGuests>
         <ResGlobalInfo>
            <Comments>
               <Comment>
                  <Text>non-smoking room requested;king bed</Text>
               </Comment>
            </Comments>
            <HotelReservationIDs>
               <HotelReservationID ResID_Source="client" ResID_Value="264888"/>
            </HotelReservationIDs>
         </ResGlobalInfo>
      </HotelResModify>
   </HotelResModifies>
</OTA_HotelResModifyRQ>
Expand
titleMultibooking Modification Confirmation Request Sample XML
Code Block
languagexml
<OTA_HotelResModifyRSHotelResModifyRQ ResStatus="Modify" EchoToken="tok1EchoToken" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/><POS>
      <Source>
 <Warnings>       <Warning Code="568" DocURL="http://generation-p.com/gphub/errors568" Language="en" RecordID="tourico" ShortText="Unable to identify timezone." Status="SENT" Type="3">Unable to identify timezone. Periods of penalties (dates and time) have timezone where hotel is located.</Warning><RequestorID ID="client" MessagePassword="pwd" Type="22"/>
         <BookingChannel Type="7"/>
      </Source>
   </Warnings>POS>
   <HotelResModifies ResStatus="Reserved"><HotelResModifies>
       <HotelResModify ResStatus="Reserved"><HotelResModify>
         <RoomStays>
            <RoomStay>
               <RoomTypes><RoomRates>
                  <RoomType<RoomRate RoomTypeCodeInvBlockCode="15163842-1" SupplierRoomCategoryCodeNumberOfUnits="17-1" SupplierRoomTypeCode="3"/>
               </RoomRates>
     <RoomDescription Name="Standard| Standard| One Bed Requested">     </RoomStay>
         </RoomStays>
         <Text>Standard|<ResGuests>
Standard| One Bed Requested</Text>         <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
          </RoomDescription>     <Profiles>
             </RoomType>     <ProfileInfo>
          </RoomTypes>           <UniqueID ID="1" Type="1"/>
  <RatePlans>                   <RatePlan RatePlanCode="4-0"><Profile>
                      <RatePlanDescription>  <Customer BirthDate="1980-07-18">
                     <Text>Breakfast Buffet</Text>     <PersonName>
                </RatePlanDescription>              <NamePrefix>Mr</NamePrefix>
       <MealsIncluded Breakfast="true" Dinner="false" Lunch="false" MealPlanCodes="4"/>                   <<GivenName>Max</RatePlan>GivenName>
                 </RatePlans>             <Surname>Ivanov</Surname>
  <RoomRates>                   <RoomRate InvBlockCode="1" NumberOfUnits="1" RatePlanCode="4-0" RoomTypeCode="15163842-1">  </PersonName>
                   <Rates>     </Customer>
                   <Rate AgeQualifyingCode="10" RateSource="Calculated"> </Profile>
                  </ProfileInfo>
        <Total AmountAfterTax="342.10" CurrencyCode="EUR"/>            </Profiles>
            </Rate>ResGuest>
                        <Rate <ResGuest AgeQualifyingCode="10" RateSourceResGuestRPH="Calculated1">
               <Profiles>
            <Total AmountAfterTax="342.10" CurrencyCode="EUR"/>    <ProfileInfo>
                    </Rate> <UniqueID ID="2" Type="1"/>
                  </Rates>   <Profile>
                  <Total AmountAfterTax="684.20" CurrencyCode="EUR"/>    <Customer>
              </RoomRate>                </RoomRates>
               <TimeSpan End="2012-01-07" Start="2012-01-03"/>
               <CancelPenalties>
                  <CancelPenalty End="2012-01-05T15:00:00" Start="2012-01-02T15:00:00">
                     <AmountPercent Amount="92.65" CurrencyCode="EUR"/>
                     <PenaltyDescription Language="en">
                        <Text>Periods of penalties (dates and time) have timezone where hotel is located.</Text>
                     </PenaltyDescription>
                  </CancelPenalty>
                  <CancelPenalty End="2012-01-07T00:00:00" PolicyCode="NoShow" Start="2012-01-05T15:00:00">
                     <AmountPercent Amount="92.65" CurrencyCode="EUR"/>
                     <PenaltyDescription Language="en">
                        <Text>Periods of penalties (dates and time) have timezone where hotel is located.</Text>
                     </PenaltyDescription>
                  </CancelPenalty>
               </CancelPenalties>
               <Total AmountAfterTax="684.20" CurrencyCode="EUR"/>
               <BasicPropertyInfo HotelCityCode="5981" HotelCode="1205222" HotelCodeContext="supplierCode" HotelDistrictCode="12080" HotelDistrictName="Bayswater-Paddington" HotelName="Carlton's Hotel - Demo">
                  <CategoryCodes>
                     <HotelCategory Code="3" CodeDetail="3" GroupCode="Category"/>
                     <HotelCategory Code="20" CodeDetail="Hotel" GroupCode="Type"/>
                  </CategoryCodes>
                  <Award Provider="Hotel" Rating="3"/>
               </BasicPropertyInfo>
            </RoomStay>
         </RoomStays>
         <ResGuests>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="1" Type="1"/>
                     <Profile>
                        <Customer BirthDate="1980-07-18">
                           <PersonName>
                              <NamePrefix>Mr</NamePrefix>
                              <GivenName>Max</GivenName>
                              <Surname>Ivanov</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
            <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
               <Profiles>
                  <ProfileInfo>
                     <UniqueID ID="2" Type="1"/>
                     <Profile>
                        <Customer>
                           <PersonName>
                              <NamePrefix>Mrs</NamePrefix>
                              <GivenName>Maria</GivenName>
                              <Surname>Ivanova</Surname>
                           </PersonName>
                        </Customer>
                     </Profile>
                  </ProfileInfo>
               </Profiles>
            </ResGuest>
         </ResGuests>
         <ResGlobalInfo>
            <DepositPayments>
               <GuaranteePayment Type="AcceptedPaymentForms">
                  <AcceptedPayments>
                     <AcceptedPayment CostCenterID="EUR"/>
                  </AcceptedPayments>
               </GuaranteePayment>
            </DepositPayments>
            <HotelReservationIDs>
               <HotelReservationID ResID_Source="agent" ResID_Value="qwerty251"/>
               <HotelReservationID ResID_Source="client" ResID_Value="qwerty251"/>
               <HotelReservationID ResID_Source="supplier" ResID_SourceContext="supplierCode" ResID_Value="14319215"/>
            </HotelReservationIDs>
         </ResGlobalInfo>
         <TPA_Extensions>
            <VoucherProperties>
               <Property Name="ReservationId" Value="14822735"/>
               <Property Name="Latitude" Value="51.513600908938"/>
               <Property Name="Longitude" Value="-0.1915588051113"/>
            </VoucherProperties>
         </TPA_Extensions>
      </HotelResModify>
      <HotelResModify ResStatus="Reserved">
         <RoomStays>
            <RoomStay>
               <RoomTypes>
                  <RoomType RoomTypeCode="15163842-1" SupplierRoomCategoryCode="17-1" SupplierRoomTypeCode="3">
                     <RoomDescription Name="Standard| Standard| One Bed Requested">
                        <Text>Standard| Standard| One Bed Requested</Text>
                     </RoomDescription>
                  </RoomType>
               </RoomTypes>
               <RatePlans>
                  <RatePlan RatePlanCode="4-0">
                     <RatePlanDescription>
                        <Text>Breakfast Buffet</Text>
                     </RatePlanDescription>
                     <MealsIncluded Breakfast="true" Dinner="false" Lunch="false" MealPlanCodes="4"/>
                  </RatePlan>
               </RatePlans>
               <RoomRates>
                  <RoomRate InvBlockCode="2" NumberOfUnits="1" RatePlanCode="4-0" RoomTypeCode="15163842-1">
                     <Rates>
                        <Rate AgeQualifyingCode="10" RateSource="Calculated">
                           <Total AmountAfterTax="684.20" CurrencyCode="EUR"/>
                        </Rate>
                     </Rates>
                     <Total AmountAfterTax="684.20" CurrencyCode="EUR"/>
                  </RoomRate>
               </RoomRates>
               <TimeSpan End="2012-01-07" Start="2012-01-03"/>
               <CancelPenalties>
                  <CancelPenalty End="2012-01-03T15:00:00" Start="2011-12-31T15:00:00">
                     <AmountPercent Amount="92.65" CurrencyCode="EUR"/>
                     <PenaltyDescription Language="en">
                        <Text>Periods of penalties (dates and time) have timezone where hotel is located.</Text>
                     </PenaltyDescription>
                  </CancelPenalty>
                  <CancelPenalty End="2012-01-07T00:00:00" PolicyCode="NoShow" Start="2012-01-03T15:00:00">
<PersonName>
                       <AmountPercent Amount="92.65" CurrencyCode="EUR"/>         <NamePrefix>Mrs</NamePrefix>
            <PenaltyDescription Language="en">                 <GivenName>Maria</GivenName>
       <Text>Periods of penalties (dates and time) have timezone where hotel is located.</Text>                      </PenaltyDescription>
     <Surname>Ivanova</Surname>
            </CancelPenalty>                </CancelPenalties>PersonName>
                <Total AmountAfterTax="684.20" CurrencyCode="EUR"/>      </Customer>
         <BasicPropertyInfo HotelCityCode="5981" HotelCode="1205222" HotelCodeContext="supplierCode" HotelDistrictCode="12080" HotelDistrictName="Bayswater-Paddington" HotelName="Carlton's Hotel - Demo">   </Profile>
               <Award Provider="Hotel" Rating="3"/>  </ProfileInfo>
               </BasicPropertyInfo>Profiles>
            </RoomStay>ResGuest>
         </RoomStays>ResGuests>
         <ResGuests><ResGlobalInfo>
            <ResGuest<Comments>
AgeQualifyingCode="10" ResGuestRPH="2">              <Comment>
 <Profiles>                 <Text>non smoking <ProfileInfo>room</Text>
               </Comment>
     <UniqueID ID="1" Type="1"/>     </Comments>
            <HotelReservationIDs>
   <Profile>            <HotelReservationID     ResID_Source="client" ResID_Value="qwerty251"/>
       <Customer>     </HotelReservationIDs>
         </ResGlobalInfo>
      </HotelResModify>
     <PersonName> <HotelResModify>
         <RoomStays>
            <RoomStay>
      <NamePrefix>Mr</NamePrefix>         <RoomRates>
                  <RoomRate   <GivenName>Oleg</GivenName>InvBlockCode="2" NumberOfUnits="1"/>
               </RoomRates>
              <Surname>Ivanov<</Surname>RoomStay>
         </RoomStays>
         <ResGuests>
       </PersonName>     <ResGuest AgeQualifyingCode="10" ResGuestRPH="2">
               <Profiles>
 </Customer>                 <ProfileInfo>
    </Profile>                   </ProfileInfo>  <UniqueID ID="1" Type="1"/>
           </Profiles>          <Profile>
  </ResGuest>          </ResGuests>          <ResGlobalInfo>  <Customer>
          <DepositPayments>                <GuaranteePayment Type="AcceptedPaymentForms"> <PersonName>
                  <AcceptedPayments>           <NamePrefix>Mr</NamePrefix>
          <AcceptedPayment CostCenterID="EUR"/>                   <<GivenName>Oleg</AcceptedPayments>GivenName>
                 </GuaranteePayment>             <<Surname>Ivanov</DepositPayments>Surname>
            <HotelReservationIDs>               </PersonName>
<HotelReservationID ResID_Source="agent" ResID_Value="qwerty252"/>                     <HotelReservationID ResID_Source="client" ResID_Value="qwerty252"/> </Customer>
               <HotelReservationID ResID_Source="supplier" ResID_SourceContext="supplierCode" ResID_Value="14319215"/>    </Profile>
        </HotelReservationIDs>          </ResGlobalInfo>ProfileInfo>
           <TPA_Extensions>    </Profiles>
        <VoucherProperties>    </ResGuest>
         </ResGuests>
  <Property Name="ReservationId" Value="14822736"/>     <ResGlobalInfo>
          <Property Name="Latitude" Value="51.513600908938"/> <HotelReservationIDs>
               <Property<HotelReservationID NameResID_Source="Longitudeclient" ResID_Value="-0.1915588051113qwerty252"/>
            </VoucherProperties>HotelReservationIDs>
         </TPA_Extensions>ResGlobalInfo>
      </HotelResModify>
      <Total
AmountAfterTax="1368.40" CurrencyCode="EUR"/>       <HotelReservationIDs>
         <HotelReservationID ResID_Source="basket" ResID_Value="basket1"/>
      </HotelReservationIDs>
   </HotelResModifies>
</OTA_HotelResModifyRS>HotelResModifyRQ>