EnhancedHotelBook (XML)
API情報
当該機能は、ホテルセグメントを予約するAPIです。
ホテルAPIの各種ワークフローは こちらをご確認ください。
Service Action Code | :EnhancedHotelBookRQ |
最新バージョン | :2.2.0 |
プロトコル | :XML |
更新履歴
EnhancedHotelBookRQ v2.2.0 on April 18, 2022
- Version2.2.0をリリースいたしました。
EnhancedHotelBookRQ v2.0.0 on January 31, 2020
- Version2.0.0をリリースいたしました。
リクエストサンプル
選択<EnhancedHotelBookRQ xmlns="http://services.sabre.com/sp/enhanced/hotel/book/v2_2" version="2.2.0">
<BookingInfo>
<BookingKey>9fe96669-4cae-4562-bcb7-ae389b0163f2</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>4111111111111111</CardNumber>
<ExpiryMonth>12</ExpiryMonth>
<ExpiryYear>2023</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_2">
<ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" xmlns:ns2="http://services.sabre.com/essm/diagnostic/v1" xmlns:ns3="http://services.sabre.com/essm/core/v1" xmlns:ns4="http://opentravel.org/common/v02" xmlns:ns5="http://opentravel.org/common/message/v02" xmlns:ns6="http://services.sabre.com/STL_Payload/v02_02" xmlns:ns7="http://services.sabre.com/sp/ssp/v1" xmlns:ns8="http://services.sabre.com/STL_Header/v02_02" xmlns:ns9="http://services.sabre.com/STL_Header/v120" xmlns:ns10="http://services.sabre.com/essm/session/v1" xmlns:ns11="http://services.sabre.com/STL_Header/v02_01" xmlns:ns12="http://webservices.sabre.com/servicesplatform/eiapi/1.0.0" xmlns:ns13="http://services.sabre.com/essm/sharedcache/v1" xmlns:ns14="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" xmlns:ns15="http://services.sabre.com/sp/preferences/v1" xmlns:ns16="http://services.sabre.com/STL/v01" xmlns:ns17="http://services.sabre.com/ssse/trace/v01" status="Complete">
<Success timeStamp="2022-02-22T00:54:22.654-06:00"/>
</ApplicationResults>
<TravelItineraryRead>
<TravelItinerary>
<CustomerInfo>
<PersonName elementId="pnr-3.1" NameNumber="01.01" WithInfant="false" RPH="1">
<GivenName>TOMOKOMS</GivenName>
<Surname>YAMADA</Surname>
</PersonName>
</CustomerInfo>
<ItineraryInfo>
<ReservationItems>
<Item RPH="1">
<Hotel SegmentNumber="0001" Status="HK" IsPast="false" Type="HHL" DayOfWeekInd="3" NumberOfUnits="1" NumberInParty="01" Id="21">
<BasicPropertyInfo HotelCode="30812" ChainCode="HH" HotelName="HILTON MILLENIUM" HotelCityCode="LGA">
<Address>
<AddressLine>55 CHURCH STREET</AddressLine>
<CountryCode>US</CountryCode>
</Address>
<CancelPenalty PolicyCode="02D"/>
<ConfirmationNumber>3181806783-</ConfirmationNumber>
<DirectConnect>DCHH</DirectConnect>
<ContactNumbers>
<ContactNumber Phone="1-212-693-2001" Fax="1-212-571-2316"/>
</ContactNumbers>
</BasicPropertyInfo>
<Customer>
<ReserveUnderName>YAMADA TOMOKOMS</ReserveUnderName>
</Customer>
<Guarantee>VI4XXXXXXXXXXX1111EXP 12 23-YAMADA</Guarantee>
<POS>
<Source>
<RequestorID>99999999</RequestorID>
</Source>
</POS>
<RoomRates>
<Commission NonCommission="false" Percent="10.00">AGENT COMMISSION 10.00 PERCENT</Commission>
<Rate CurrencyCode="USD" Amount="219.84" RoomTypeCode="A00HWA">
<HotelTotalPricing>
<TotalTax Amount="35.93"/>
<ApproximateTotal AmountAndCurrency="255.77 USD"/>
</HotelTotalPricing>
<RateAccessCodeBooked>
<RateAccessCode>RAC</RateAccessCode>
<CategoryTypeCode>R</CategoryTypeCode>
</RateAccessCodeBooked>
</Rate>
</RoomRates>
<TimeSpan Start="06-01" Duration="001" End="06-02"/>
</Hotel>
<Product>
<ProductBase>
<SegmentReference>21</SegmentReference>
</ProductBase>
<ProductDetails endPoint="LGA" startDateTime="2022-06-01T00:00:00" startPoint="LGA" endDateTime="2022-06-02T00:00:00" productType="HHL" productCategory="AGTLCSSEGMENT" vendorCode="HH" statusCode="HK">
<ProductName type="HHL">Lodging</ProductName>
<Lodging>
<ResGlobalInfo>
<BookingInfo Status="39" InfoSource="100" RateKey="tB2Y3t23/78ByBAmBUdJKns5D2JPFURzzgJvgJJRu0ifKq9SW0AKTxpAZQQRbYlX7oUcToZqZw1aNo8Hr1qXDK/5LN9rjXgMCl4GbmFa/nlaYMgY5Q+ZrXs0SmDItQS4UQZoxq5t/6uJEPESVRvBiTaWd+qZ1YOQENDF4RwRo6cVAMQKbiuVFO+MCNdIO7Z3vwAWyd1r0rVp9KoLf/7DbEB8nTNH8cYSjTBYCGytAf1iGTrt1IRDcaj9MW3tp1oIEjWnyXbEJCOYSG8uAfWoVOIRcDmh/R9cDXJYhDysJz1hyJBU/54tFBFbluCQnd1LVKyVOdakriSBnvL7do7at3V7NR+X5BsD7icnJEsJWYpXDsKOLM4Xk61xEyy+AjeOQ4bVW/aakP1wVbzErgqo9V3ioqtxpa6HF5AyElF0kIrfUetzZvHCHbO5MRJnl1Fz" TransactionId="16d6093b3fc30CTS1">
<BookingKey>9fe96669-4cae-4562-bcb7-ae389b0163f2</BookingKey>
<HotelReservationIds>
<HotelReservation Type="40" Id="3181806783"/>
<HotelReservation Type="24" Id="CKJGPY"/>
<HotelReservation Type="5" Id="99999999"/>
</HotelReservationIds>
</BookingInfo>
<HotelInfo BrandName="undefined" SourceHotelCode="30812" HotelCode="100058238" GlobalChainCode="HH" ChainName="Hilton Hotels" SupplierChainCode="HH" CodeContext="GLOBAL" SabreRating="4.0" BrandCode="10000" HotelName="HILTON MILLENIUM">
<LocationInfo Latitude="40.71129" Longitude="-74.01064">
<Address>
<AddressLine1>55 Church Street</AddressLine1>
<CityName CityCode="LGA">New York</CityName>
<StateProv StateCode="NY"/>
<PostalCode>10007</PostalCode>
<CountryName Code="US">United States of America</CountryName>
</Address>
<Contact Phone="1-212-693-2001" Fax="1-212-571-2316"/>
</LocationInfo>
<Amenities>
<Amenity Description="Wheelchair access" Code="101"/>
<Amenity Description="Non-smoking rooms (generic)" Code="198"/>
<Amenity Description="Eco Friendly" Code="2001"/>
<Amenity Description="Stay Safe" Code="2002"/>
<Amenity Description="Local Calls" Code="2004" ComplimentaryInd="false"/>
<Amenity Description="Family Room" Code="2014"/>
<Amenity Description="Rollaway adult" Code="2016"/>
<Amenity Description="Crib charge" Code="2017"/>
<Amenity Description="Extra person" Code="2018"/>
<Amenity Description="Pets allowed" Code="224"/>
<Amenity Description="Business center" Code="228"/>
<Amenity Description="Conference facilities" Code="24"/>
<Amenity Description="Data port" Code="255"/>
<Amenity Description="High speed internet access" Code="259" ComplimentaryInd="false"/>
<Amenity Description="Interior corridors" Code="260"/>
<Amenity Description="Game room" Code="44"/>
<Amenity Description="Health club" Code="48"/>
<Amenity Description="Indoor pool" Code="54"/>
<Amenity Description="Pool" Code="71"/>
<Amenity Description="Room service" Code="77" ComplimentaryInd="false"/>
<Amenity Description="Dry cleaning" Code="96"/>
</Amenities>
</HotelInfo>
<StayDateRange StartDate="2022-06-01" EndDate="2022-06-02"/>
<Total CurrencyCode="USD" AmountAfterTax="255.77" Changed="false" SupplierChangedAmount="219.84"/>
<AdditionalDetails>
<AdditionalDetail Code="14">
<Text>30812 ARR01JUN CREDIT CARD GUARANTEE</Text>
<Text>30812 ARR01JUN CXL 3 DAYS PRIOR TO ARRIVAL</Text>
<Text>30812 ARR01JUN CXL 3 DAYS PRIOR TO ARRIVAL</Text>
<Text>30812 ARR01JUN CREDIT CARD GUARANTEE</Text>
<Text>HILTON HOTELS SETTING THE STAGE FOR</Text>
<Text>EVERY TRAVEL OCCASION</Text>
</AdditionalDetail>
<AdditionalDetail Code="2101">
<Text>30812 ARR01JUN CXL 3 DAYS PRIOR TO ARRIVAL</Text>
<Text>30812 ARR01JUN CREDIT CARD GUARANTEE</Text>
</AdditionalDetail>
</AdditionalDetails>
<Commission Type="Percentage" Percent="10.00" CommissionIndicator="true">
<CommissionDescription>
<Text>AGENT COMMISSION 10.00 PERCENT</Text>
</CommissionDescription>
</Commission>
</ResGlobalInfo>
<Rooms NumberOfRooms="1">
<Room SegmentNumber="1" RoomType="Deluxe Room" GuestRoomInfo="77" InvBlockCode="A00HWA" RoomIndex="1">
<Guests Count="1">
<Guest Type="10" FirstName="TOMOKOMS" Index="1" LeadGuest="true" LastName="YAMADA">
<Contact Mobile="123456789"/>
</Guest>
</Guests>
<RoomDescription Name="SEMI-FLEX">
<Text>1 KING BED ROOM 42 IN PLASMA TV-HI SPEED 12.95/ DAY-MP3 CLOCK SERENITY BED-LUXURY LINENS-DELUXE AMENITIES ROOM ONLY, STRICTER THAN STANDARD CXL POLICY. SEE TERMS AND CONDITIONS FOR CXL POLICY. 219.84 PER NIGHT STARTING 01JUN22 TAXES AND SERVICE CHARGES NOT INCLUDED</Text>
</RoomDescription>
<RatePlan RatePlanType="13" SupplierRatePlanCode="RAC" RatePlanName="SEMI-FLEX" PrepaidIndicator="false">
<RatePlanDescription/>
<MealsIncluded>
<MealIncluded Breakfast="false" Dinner="false" MealPlanCode="14" Lunch="false"/>
</MealsIncluded>
<RateInfo CurrencyCode="USD" AmountAfterTax="255.77" AdditionalFeesInclusive="true" AmountBeforeTax="219.84" IncidentalsInclusive="false" NightlyRate="219.84" TaxInclusive="true">
<AdditionalDetails>
<AdditionalDetail Code="32">
<Text>INCLUDES TAXES AND SURCHARGES</Text>
<Text>EXCLUDES INCIDENTALS</Text>
</AdditionalDetail>
<AdditionalDetail Code="7">
<Text>12AM 30MAY22</Text>
</AdditionalDetail>
<AdditionalDetail Code="14">
<Text>CREDIT CARD GUARANTEE</Text>
<Text>TAX 14.75 PCT PER ROOM PER NIGHT</Text>
<Text>TAX 2.00 CHARGE PER ROOM PER NIGHT</Text>
<Text>TAX 1.50 CHARGE PER ROOM PER NIGHT</Text>
<Text>NONSMOKING REQ-ENTER NS IN SI FIELD</Text>
<Text>A CLEANER STAY HILTONCLEANSTAY.COM</Text>
</AdditionalDetail>
</AdditionalDetails>
<Taxes CurrencyCode="USD" Amount="35.93"/>
<CancelPenalties>
<CancelPenalty Refundable="true">
<Deadline OffsetDropTime="BeforeArrival" OffsetTimeUnit="Day" OffsetUnitMultiplier="2"/>
</CancelPenalty>
</CancelPenalties>
<Guarantee GuaranteeType="GUAR">
<GuaranteesAccepted>
<GuaranteeAccepted GuaranteeTypeCode="5">
<PaymentCards>
<PaymentCard CardCode="VI">VISA</PaymentCard>
<PaymentCard CardCode="XS">ACCESS CARD</PaymentCard>
<PaymentCard CardCode="AX">AMERICAN EXPRESS</PaymentCard>
<PaymentCard CardCode="CA">MASTERCARD</PaymentCard>
<PaymentCard CardCode="DC">DINERS CLUB CARD</PaymentCard>
<PaymentCard CardCode="DS">DISCOVER CARD</PaymentCard>
<PaymentCard CardCode="EC">EUROCARD</PaymentCard>
<PaymentCard CardCode="IK">MASTER CARD</PaymentCard>
<PaymentCard CardCode="MC">MASTER CARD</PaymentCard>
</PaymentCards>
</GuaranteeAccepted>
<GuaranteeAccepted GuaranteeTypeCode="19"/>
<GuaranteeAccepted GuaranteeTypeCode="30"/>
</GuaranteesAccepted>
</Guarantee>
<Commission Type="Percentage" Percent="10.00" CommissionIndicator="true">
<CommissionDescription>
<Text>AGENT COMMISSION 10.00 PERCENT</Text>
</CommissionDescription>
</Commission>
</RateInfo>
</RatePlan>
</Room>
</Rooms>
<PaymentInformation Type="GUARANTEE">
<FormOfPaymentReference newRef="1"/>
</PaymentInformation>
<POS>
<Source AgencyName="INFINI" ISOCountryCode="JP" PseudoCityCode="1FQ6">
<RequestorID Type="5" Id="16322224" IdContext="IATA"/>
<AgencyAddress>
<AddressLine1>Akasaka, Minato, Tokyo</AddressLine1>
<CountryName Code="JP">Japan</CountryName>
</AgencyAddress>
</Source>
</POS>
</Lodging>
</ProductDetails>
</Product>
</Item>
</ReservationItems>
</ItineraryInfo>
<ItineraryRef PrimeHostID="1F" InhibitCode="U" AirExtras="false" PartitionID="AA">
<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="1FQ6"/>
</ItineraryRef>
<AssociationMatrices>
<AssociationMatrix>
<Name>PssIDType</Name>
<Parent ref="pnr-21"/>
<Child ref="pnr-12"/>
<Child ref="pnr-13"/>
<Child ref="pnr-14"/>
<Child ref="pnr-15"/>
<Child ref="pnr-16"/>
<Child ref="pnr-17"/>
<Child ref="pnr-18"/>
<Child ref="pnr-19"/>
<Child ref="pnr-20"/>
<Child ref="pnr-or-3"/>
</AssociationMatrix>
</AssociationMatrices>
</TravelItinerary>
</TravelItineraryRead>
</EnhancedHotelBookRS>
XMLタグ定義書
-
- リクエスト (2022/04/18更新)
-
- レスポンス (2022/04/18更新)
-
- リクエスト(Ver.2.0.0)
-
- レスポンス(Ver.2.0.0)
XMLスキーマ
【注意点】
各種XMLスキーマは、Sabre社提供のオリジナル版となるため、「XMLタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「XMLタグ定義書」にてご確認ください。
※弊社にて「XMLタグ定義書」を作成する際、各タグの利用可否確認を行っております。
各種XMLスキーマは、Sabre社提供のオリジナル版となるため、「XMLタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「XMLタグ定義書」にてご確認ください。
※弊社にて「XMLタグ定義書」を作成する際、各タグの利用可否確認を行っております。
-
- スキーマ
-
- スキーマ(Ver.2.0.0)