Skip to main content
POST
/
bookmodify
OTA Booking Modify Request
curl --request POST \
  --url https://ota-int.axisdata.net:9443/bookmodify \
  --header 'Content-Type: application/xml' \
  --data '<OTA_HotelResModifyRQ xmlns="http://www.opentravel.org/OTA/2003/05" ResStatus="Quote" Version="2008.1" PrimaryLangID="EN">
    <POS>
        <Source>
            <RequestorID ID_Context="AxisData" Type="22" ID="TST1"/>
        </Source>
        <Source>
            <RequestorID Type="88" ID="TST1" MessagePassword="TST1password?"/>
        </Source>
    </POS>
    <HotelReservations>
        <HotelReservation>
            <RoomStays>
                <RoomStay RPH="1">
                    <RoomTypes>
                        <RoomType RoomTypeCode="RMSD000000"/>
                    </RoomTypes>
                    <TimeSpan Start="2026-07-17" End="2026-07-24"/>
                    <BasicPropertyInfo HotelCode="AMTSES08UI"/>
                    <ResGuestRPHs>
                        <ResGuestRPH RPH="1"/>
                        <ResGuestRPH RPH="2"/>
                    </ResGuestRPHs>
                    <ServiceRPHs>
                        <ServiceRPH RPH="1"/>
                    </ServiceRPHs>
                </RoomStay>
            </RoomStays>
            <Services>
                <Service ServiceInventoryCode="SC" ServiceRPH="1"/>
            </Services>
            <ResGuests>
                <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
                    <Profiles>
                        <ProfileInfo>
                            <Profile>
                                <Customer BirthDate="1996-09-04">
                                    <PersonName>
                                        <NamePrefix>Mr</NamePrefix>
                                        <GivenName>Bender</GivenName>
                                        <Surname>Bending</Surname>
                                    </PersonName>
                                </Customer>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                    <GuestCounts>
                        <GuestCount Count="1" Age="27"/>
                    </GuestCounts>
                </ResGuest>
                <ResGuest AgeQualifyingCode="10" ResGuestRPH="2">
                    <Profiles>
                        <ProfileInfo>
                            <Profile>
                                <Customer BirthDate="1996-09-05">
                                    <PersonName>
                                        <NamePrefix>Mrs</NamePrefix>
                                        <GivenName>Angelina</GivenName>
                                        <Surname>Bending</Surname>
                                    </PersonName>
                                </Customer>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                    <GuestCounts>
                        <GuestCount Count="1" Age="27"/>
                    </GuestCounts>
                </ResGuest>
            </ResGuests>
        </HotelReservation>
    </HotelReservations>
</OTA_HotelResModifyRQ>'
"<string>"
Use this message to modify an existing hotel booking. Use ReadRQ first.
Find all the necessary information regarding the request message here

Body

application/xml · string<xml>

The body is of type string<xml>.

Response

200 - application/xml

Success

The response is of type string.