Versions Compared

Key

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

...

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>
    <!--DETAILS OMITTED -->
    <ResGuestRPHs>
      <ResGuestRPH RPH="1"/>
      <ResGuestRPH RPH="2"/>
    </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>
            <!--DETAILS OMITTED -->
          </Customer>
        </Profile>
      </ProfileInfo>
    </Profiles>
  </ResGuest>
  <ResGuest ResGuestRPH="2" ArrivalTime="10:30:00">
    <Profiles>
      <ProfileInfo>
        <Profile ProfileType="1">
          <Customer>
            <PersonName>
              <GivenName>Honey</GivenName>
              <Surname>Rider</Surname>
            </PersonName>
            <!--DETAILS OMITTED -->
          </Customer>
        </Profile>
      </ProfileInfo>
    </Profiles>
  </ResGuest>
</ResGuests>