Versions Compared

Key

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

...

  1. Split stay, one guest staying in the same room type, but for non continuous intervals. For example mon-wed and fri-sun.
  2. One reservation with multiple room types (hence multiple RoomStays) with only one ResGuest provided.

Example

NOTE: Some of the sections are left out for clarity, as they don't impact on this example. Follow on from the example in the OTA_ResRetrieveRS to fill in the missing bits

Code Block
xml
xml

<RoomStays>
    <RoomStay>

        <-- ROOM STAY DETAILS OMITTED -->
     
        <TimeSpan Start="2008-11-08" End="2008-11-09"/>  
        <ResGuestRPHs>
            <ResGuestRPH RPH="1"/>      
        </ResGuestRPHs>
    </RoomStay>
    <RoomStay>

        <-- ROOM STAY DETAILS OMITTED -->       
      
        <TimeSpan Start="2008-11-12" End="2008-11-15"/>
        <ResGuestRPHs>
            <ResGuestRPH RPH="1"/>     
        </ResGuestRPHs>
    </RoomStay>
</RoomStays>
<ResGuests>
    <ResGuest ResGuestRPH="1" ArrivalTime="10:30:00">
        <Profiles>
            <ProfileInfo>
                <Profile ProfileType="1">
                    <Customer>
                        <PersonName>
                            <GivenName>James</GivenName>
                            <Surname>Bond</Surname>
                        </PersonName>
                  
                        <-- PERSONAL DETAILS OMITTED -->

                    </Customer>
                </Profile>
            </ProfileInfo>
        </Profiles>
    </ResGuest>
</ResGuests>