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="EchoToken" 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>

...