인벤토리 추가 및 업데이트

<Result> 요소를 거래 메시지를 객실 가격을 설정 또는 업데이트하고 사용 가능한 인벤토리를 정의합니다. 이러한 요소는 를 사용하여 객실 및 객실 패키지 설명을 위해 사전 정의된 데이터를 참조할 수 있습니다. 별도의 '거래' 메시지에 정의되는 메타데이터입니다. 업데이트 중 인벤토리의 종류에 따라 전송 모드와 선호 주파수

다음 예에서는 인벤토리를 정의하는 <Result> 요소를 보여줍니다. 객실 2개 가격:

<?xml version="1.0" encoding="UTF-8"?>
<Transaction timestamp="2023-04-24T16:20:00-04:00" id="42">
  <Result>
    <Property>060773</Property>
    <RoomID>RoomType101</RoomID>
    <Checkin>2023-04-10</Checkin>
    <Nights>2</Nights>
    <Baserate currency="USD">278.33</Baserate>
    <Tax currency="USD">25.12</Tax>
    <OtherFees currency="USD">2.00</OtherFees>
    <AllowablePointsOfSale>
      <PointOfSale id="site1"/>
    </AllowablePointsOfSale>
  </Result>
  <Result>
    <Property>052213</Property>
    <RoomID>RoomType101</RoomID>
    <Checkin>2023-04-17</Checkin>
    <Nights>2</Nights>
    <Baserate currency="USD">299.98</Baserate>
    <Tax currency="USD">26.42</Tax>
    <OtherFees currency="USD">2.00</OtherFees>
    <AllowablePointsOfSale>
      <PointOfSale id="otto"/>
      <PointOfSale id="simon"/>
    </AllowablePointsOfSale>
  </Result>
</Transaction>

위의 예에는 설명, 사진 URL과 설명, 방 이름 또는 수용 인원 등이 있습니다. 이러한 해당 정보는 초기 거래 메시지를 통해 Google에 전송될 수 있으며, 이후의 모든 가격 책정 및 인벤토리 업데이트에서 RoomID에서 참조됩니다. 자세한 내용은 객실 및 패키지 정의하기를 참고하세요. 메타데이터를 참고하세요.

운항 일정의 가격을 정의하는 것 외에도 <Result>를 사용할 수도 있습니다. 요소를 사용하여 다음 작업을 수행합니다.