EnhancedHotelBook (XML)

EnhancedHotelBookRQは、ホテルセグメントを予約するAPIです。
予約の為には特定のワークフローが必要です。

ホテルAPIの各種ワークフローはこちらをご確認ください。

 

API情報

Service Action Code :EnhancedHotelBookRQ
最新バージョン :2.0.0
プロトコル :XML

更新履歴

EnhancedHotelBookRQ v2.0.0 on Jan 31, 2020
  • Version2.0.0をリリースいたしました。

XMLタグ定義書

XMLスキーマ

【注意点】
各種XMLスキーマは、Sabre社提供のオリジナル版となるため、「XMLタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「XMLタグ定義書」にてご確認ください。

※弊社にて「XMLタグ定義書」を作成する際、各タグの利用可否確認を行っております。

リクエストサンプル

 選択<EnhancedHotelBookRQ xmlns="http://services.sabre.com/sp/enhanced/hotel/book/v2" version="2.0.0">
	<BookingInfo>
		<BookingKey>aed041ab-350d-42a4-8f04-1775f0ccb4f5</BookingKey>
	</BookingInfo>
	<Rooms>
		<Room RoomIndex="1">
			<Guests>
				<Guest FirstName="TOMOKOMS" LastName="YAMADA" Type="10" Index="1" LeadGuest="true">
					<Contact Mobile="123456789" />
				</Guest>
			</Guests>
		</Room>
	</Rooms>
	<PaymentInformation Type="GUARANTEE">
		<FormOfPayment>
			<PaymentCard>
				<PaymentType>CC</PaymentType>
				<CardCode>VI</CardCode>
				<CardNumber>XXXXXXXXXXXXXXXX</CardNumber>
				<ExpiryMonth>12</ExpiryMonth>
				<ExpiryYear>2020</ExpiryYear>
				<FullCardHolderName>
					<FirstName>TOMOKOMS</FirstName>
					<LastName>YAMADA</LastName>
				</FullCardHolderName>
			</PaymentCard>
		</FormOfPayment>
	</PaymentInformation>
	<POS>
		<Source AgencyName="INFINI" ISOCountryCode="JP">
			<RequestorID Type="5" Id="99999999" IdContext="IATA" />
			<AgencyAddress>
				<AddressLine1>Akasaka, Minato, Tokyo</AddressLine1>
				<CountryName Code="JP">Japan</CountryName>
			</AgencyAddress>
		</Source>
	</POS>
</EnhancedHotelBookRQ>

レスポンスサンプル

 選択<EnhancedHotelBookRS xmlns="http://services.sabre.com/sp/enhanced/hotel/book/v2">
  <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" status="Complete">
    <Success timeStamp="2019-11-28T04:16:52.968-06:00" />
  </ApplicationResults>
  <TravelItineraryRead>
    <TravelItinerary>
      <CustomerInfo />
      <ItineraryInfo>
        <ReservationItems>
          <Item RPH="1">
            <Hotel DayOfWeekInd="6" NumberInParty="01" NumberOfUnits="1" SegmentNumber="0001" Status="HK" Type="HHL" IsPast="false" Id="13">
              <BasicPropertyInfo ChainCode="HY" HotelCityCode="DFW" HotelCode="65371" HotelName="GRAND HYATT DFW">
                <Address>
                  <AddressLine>2337 SOUTH INTERNATIONAL PKWY </AddressLine>
                  <CountryCode>US</CountryCode>
                </Address>
                <CancelPenalty PolicyCode="06P" />
                <ConfirmationNumber>HY0041848351-</ConfirmationNumber>
                <DirectConnect>DCHY</DirectConnect>
                <ContactNumbers>
                  <ContactNumber Fax="1-972-973-1299" Phone="1-972-973-1234" />
                </ContactNumbers>
              </BasicPropertyInfo>
              <Customer>
                <ReserveUnderName>YAMADA TOMOKOMS</ReserveUnderName>
              </Customer>
              <Guarantee>VI4XXXXXXXXXXX1111EXP 12 20-YAMADA</Guarantee>
              <POS>
                <Source>
                  <RequestorID>99999999</RequestorID>
                </Source>
              </POS>
              <RoomRates>
                <Commission NonCommission="false" Percent="10.000">10.000 PERCENT COMMISSION</Commission>
                <Rate Amount="289.00" CurrencyCode="USD" RoomTypeCode="AQTPKAW">
                  <HotelTotalPricing>
                    <TotalTax>
                      <Tax Id="TX1">17.34 STATE TAX</Tax>
                      <Tax Id="TX2">28.90 CITY TAX</Tax>
                      <Tax Id="TX3">28.90 RESORT FEES</Tax>
                    </TotalTax>
                    <TotalSurcharge Amount="0.00" />
                    <ApproximateTotal AmountAndCurrency="364.14 USD" />
                  </HotelTotalPricing>
                  <RateAccessCodeBooked>
                    <ClientIdentificationCode>   </ClientIdentificationCode>
                    <RateAccessCode>   </RateAccessCode>
                    <CategoryTypeCode>R</CategoryTypeCode>
                  </RateAccessCodeBooked>
                </Rate>
              </RoomRates>
              <TimeSpan Duration="001" End="06-21" Start="06-20" />
            </Hotel>
            <Product>
              <ProductBase>
                <SegmentReference>13</SegmentReference>
              </ProductBase>
              <ProductDetails productCategory="AGTLCSSEGMENT" productType="HHL" vendorCode="HY" statusCode="HK" startPoint="DFW" startDateTime="2020-06-20T00:00:00" endPoint="DFW" endDateTime="2020-06-21T00:00:00">
                <ProductName type="HHL">Lodging</ProductName>
                <Lodging>
                  <ResGlobalInfo>
                    <BookingInfo Status="39" InfoSource="100" RateKey="M7a/GF4b8GZKek+oaLQHZF0DB6XJrX/I39SZsi8NErDb1Y6zC5rrDaOaC04gzQu439o5MfgTH2W/b2sjYk74DpXJKsuHPcuFvLwAkn+FfUrDrSWvqT+PbtYreb1liOBqnpZMZj6x4LQcQ9WJ5abj0iMiENVu0/pfgHONlOAM0fhDY+pHUtNlwv/6NUAqEI6NkwLdal6PkeskGYKj2WbzomNVJegkQ7PO6gvQGVD4S9m3HhKPsRzYsGnnvhlhaS8ppYb3COu3ZZ1zV6Niv385tM048fioNmvOv/zLOz0hqkRddgRLUdCqn2MvLk5X9tBxIFzC5InRv4tMVxyCsJemQeyM0Cg+7UXAK4ho33LqcJKvxv0WAqeb+UhWXGax8RTN4cX2hxr0kmEuH2OvjDOhSxEXsOeuSpqaMi6D7mmUHYQ=" TransactionId="15db4c241db4-CTS3">
                      <BookingKey>aed041ab-350d-42a4-8f04-1775f0ccb4f5</BookingKey>
                      <HotelReservationIds>
                        <HotelReservation Id="HY0041848351" Type="40" />
                        <HotelReservation Id="DJFVRD" Type="24" />
                      </HotelReservationIds>
                    </BookingInfo>
                    <HotelInfo HotelCode="100123982" CodeContext="GLOBAL" GlobalChainCode="HY" HotelName="Grand Hyatt Dfw" BrandCode="10000" SabreRating="4.0" ChainName="Hyatt Hotels And Resorts" BrandName="undefined" SupplierChainCode="HY" SourceHotelCode="65371">
                      <LocationInfo Latitude="32.897506" Longitude="-97.043246">
                        <Address>
                          <AddressLine1>2337 South International Pkwy</AddressLine1>
                          <AddressLine2>P O Box 619045</AddressLine2>
                          <CityName CityCode="DFW">DALLAS</CityName>
                          <StateProv StateCode="TX" />
                          <PostalCode>75261-9045</PostalCode>
                          <CountryName Code="US">United States (the)</CountryName>
                        </Address>
                        <Contact Phone="1-972-973-1234" Fax="1-972-973-1299" />
                      </LocationInfo>
                      <Amenities>
                        <Amenity Code="101" Description="Wheelchair access" />
                        <Amenity Code="15" Description="Car rental desk" />
                        <Amenity Code="165" Description="Lounges/bars" />
                        <Amenity Code="168" Description="Onsite laundry" />
                        <Amenity Code="179" Description="Wireless internet connection in public areas" />
                        <Amenity Code="198" Description="Non-smoking rooms (generic)" />
                        <Amenity Code="2001" Description="Eco-friendly" />
                        <Amenity Code="2005" Description="Minibar" />
                        <Amenity Code="2007" Description="In Room Safe" />
                        <Amenity Code="22" Description="Concierge desk" />
                        <Amenity Code="236" Description="Golf" />
                        <Amenity Code="258" Description="Accessible rooms" />
                        <Amenity Code="259" Description="High speed internet access" />
                        <Amenity Code="261" Description="High speed wireless" />
                        <Amenity Code="289" Description="Children programs" />
                        <Amenity Code="310" Description="Hypoallergenic rooms" />
                        <Amenity Code="42" Description="Free parking" />
                        <Amenity Code="44" Description="Game room" />
                        <Amenity Code="77" Description="Room service" />
                        <Amenity Code="92" Description="Translation services" />
                        <Amenity Code="96" Description="Dry cleaning" />
                      </Amenities>
                      <PropertyTypeInfo>
                        <PropertyType Code="9" Description="Conference center" />
                      </PropertyTypeInfo>
                    </HotelInfo>
                    <StayDateRange StartDate="2020-06-20" EndDate="2020-06-21" />
                    <Total AmountAfterTax="364.14" CurrencyCode="USD" Changed="false" SupplierChangedAmount="289.00" />
                    <AdditionalDetails>
                      <AdditionalDetail Code="14">
                        <Text>THANK YOU FOR CHOOSING GRAND HYATT DFW</Text>
                        <Text>AQTPKAW  GTD-1PRS:   289.00 USD</Text>
                        <Text>CANCEL 72 H</Text>
                        <Text>CANCEL 72 H</Text>
                      </AdditionalDetail>
                      <AdditionalDetail Code="2101">
                        <Text>CANCEL 72 H</Text>
                      </AdditionalDetail>
                    </AdditionalDetails>
                    <Commission CommissionIndicator="true" Type="Percentage">
                      <CommissionDescription>
                        <Text>10.000 PERCENT COMMISSION</Text>
                      </CommissionDescription>
                    </Commission>
                  </ResGlobalInfo>
                  <Rooms>
                    <Room InvBlockCode="AQTPKAW" SegmentNumber="2" RoomIndex="1">
                      <Guests Count="1">
                        <Guest Type="10" Index="1" LeadGuest="true" FirstName="TOMOKOMS" LastName="YAMADA">
                          <Contact Mobile="123456789" />
                        </Guest>
                      </Guests>
                      <RoomDescription Name="BED AND BRKFST* ADA QUEEN TUB">
                        <Text>ADA 2 QUEEN TUB:MINI BAR: BREAKFAST DAILY FOR 2 IN ROOM OR RESTAURANT: 2PM LATE CHECKOUT SUBJECT TO AVAILABILITY: - BREAKFAST FOR TWO EACH MORNING IS VALID AT HOTEL RESTAURANT OR IN-ROOM DINING. - VALID 7 DAYS A WEEK - CREDIT CARD REQUIRED AT TIME OF BOOKING 289.00 PER NIGHT STARTING 20JUN FOR 1 NIGHT 289.00 TOTAL RATE STARTING 20JUN FOR 1 NIGHT</Text>
                      </RoomDescription>
                      <BookingStatus>null</BookingStatus>
                      <RatePlan RatePlanName="BED AND BRKFST* ADA QUEEN TUB" RatePlanType="24" PrepaidIndicator="false">
                        <RatePlanDescription />
                        <RatePlanInclusions />
                        <MealsIncluded>
                          <MealIncluded />
                        </MealsIncluded>
                        <RateInfo AmountBeforeTax="289.00" AmountAfterTax="364.14" CurrencyCode="USD" NightlyRate="289.00" AdditionalFeesInclusive="true" TaxInclusive="true">
                          <AdditionalDetails>
                            <AdditionalDetail Code="32">
                              <Text>INCLUDES TAXES AND SURCHARGES</Text>
                            </AdditionalDetail>
                          </AdditionalDetails>
                          <Fees Amount="0" />
                          <Taxes Amount="75.14" CurrencyCode="USD">
                            <Tax Code="53" Amount="17.34" CurrencyCode="USD">
                              <TaxDescription>
                                <Text>STATE TAX</Text>
                              </TaxDescription>
                            </Tax>
                            <Tax Code="3" Amount="28.90" CurrencyCode="USD">
                              <TaxDescription>
                                <Text>CITY TAX</Text>
                              </TaxDescription>
                            </Tax>
                            <Tax Code="27" Amount="28.90" CurrencyCode="USD">
                              <TaxDescription>
                                <Text>RESORT FEES</Text>
                              </TaxDescription>
                            </Tax>
                          </Taxes>
                          <CancelPenalties>
                            <CancelPenalty Refundable="true">
                              <Deadline AbsoluteDeadline="2020-06-20T18:00:00" />
                            </CancelPenalty>
                          </CancelPenalties>
                          <Guarantee GuaranteeType="GUAR">
                            <GuaranteesAccepted>
                              <GuaranteeAccepted GuaranteeTypeCode="5">
                                <PaymentCards>
                                  <PaymentCard CardCode="AX">AMERICAN EXPRESS</PaymentCard>
                                  <PaymentCard CardCode="CA">MASTERCARD</PaymentCard>
                                  <PaymentCard CardCode="CB">CARTE BLANCHE</PaymentCard>
                                  <PaymentCard CardCode="DC">DINERS CLUB CARD</PaymentCard>
                                  <PaymentCard CardCode="DS">DISCOVER CARD</PaymentCard>
                                  <PaymentCard CardCode="JC">JCB CREDIT CARD</PaymentCard>
                                  <PaymentCard CardCode="VI">VISA</PaymentCard>
                                </PaymentCards>
                              </GuaranteeAccepted>
                              <GuaranteeAccepted GuaranteeTypeCode="19" />
                            </GuaranteesAccepted>
                          </Guarantee>
                        </RateInfo>
                      </RatePlan>
                    </Room>
                  </Rooms>
                  <PaymentInformation Type="GUARANTEE" />
                  <POS>
                    <Source AgencyName="INFINI" ISOCountryCode="JP" PseudoCityCode="XXX6">
                      <RequestorID Type="5" Id="99999999" IdContext="IATA" />
                      <AgencyAddress>
                        <AddressLine1>Akasaka, Minato, Tokyo</AddressLine1>
                        <CountryName Code="JP">Japan</CountryName>
                      </AgencyAddress>
                    </Source>
                  </POS>
                </Lodging>
              </ProductDetails>
            </Product>
          </Item>
        </ReservationItems>
      </ItineraryInfo>
      <ItineraryRef AirExtras="false" InhibitCode="U" PartitionID="AA" PrimeHostID="1F">
        <Header>CURRENTLY DISPLAYING A PNR OWNED BY THE SABRE PRIME HOST</Header>
        <Header>RULES AND FUNCTIONALITY FOR THAT PRIME HOST WILL APPLY</Header>
        <Header>PRICE QUOTE RECORD - NOT PRICED</Header>
        <Source PseudoCityCode="XXX6" />
      </ItineraryRef>
      <OpenReservationElements>
        <OpenReservationElement id="4" elementId="pnr-or-4" />
      </OpenReservationElements>
      <AssociationMatrices>
        <AssociationMatrix>
          <Name>PssIDType</Name>
          <Parent ref="pnr-13" />
          <Child ref="pnr-2" />
          <Child ref="pnr-3" />
          <Child ref="pnr-4" />
          <Child ref="pnr-5" />
          <Child ref="pnr-6" />
          <Child ref="pnr-7" />
          <Child ref="pnr-8" />
          <Child ref="pnr-9" />
          <Child ref="pnr-10" />
          <Child ref="pnr-11" />
          <Child ref="pnr-12" />
          <Child ref="pnr-or-4" />
        </AssociationMatrix>
      </AssociationMatrices>
    </TravelItinerary>
  </TravelItineraryRead>
</EnhancedHotelBookRS>