Reference data transactions
Brand information
Summary and examples
Information about brands/chains can be obtained use the BrandInformation transaction. Apart from returning information such as the name, email address and logo, it is also useful to determine whether the chain supports session control and booking modifications.
A message requesting information for 3 brands is shown below:
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process Function="TI_BrandInformationV1_1" DataPath="/HotelML/Form/BrandInformation"/>
<Route Source="01" Destination="00"/>
</Head>
<Form>
<BrandInformation>
<Brand Code="GT"/>
<Brand Code="MC"/>
<Brand Code="BW"/>
</BrandInformation>
</Form>
</HotelML>
The corresponding response is below:
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Route Destination="01" Source="00">
<Operation Action="Create" App="TIDispatcher" AppVer="1.12.40.2.8.1.20.4.2.7.12.1.12.2.2.1.8.1.2.6" DataPath="/HotelML" StartTime="2011-06-
08T13:21:54.504+00:00" Success="true" TotalProcessTime="126"/>
</Route>
</Head>
<Brand Code="GT" Name="Golden Tulip" Token="994950137106" Type="Chain" ModifyReservation="true" SessionControl="true">
<Email Address="
[email protected]
"/>
<Media Link="
images.pegs.com/brands/gt/graphics/sm_GT_logo.jpg
" MIME="image/jpeg" Type="Logo"/>
</Brand>
<Brand Code="MC" Name="Marriott Hotels, Resorts, and Suites" Token="994950137106" Type="Chain" ModifyReservation="false" SessionControl="false">
<Email Address="
[email protected]
"/>
<Media Link="
images.pegs.com/brands/mc/graphics/sm_mclogo.jpg
" MIME="image/jpeg" Type="Logo"/>
</Brand>
<Brand Code="BW" Name="Best Western International" Token="994950137106" Type="Chain" ModifyReservation="false" SessionControl="false">
<Email Address="
[email protected]
[email protected]
"/>
<Media Link="
images.pegs.com/brands/bw/graphics/sm_bwlogo.gif
" MIME="image/gif"
Type="Logo"/>
</Brand>
</HotelML>
It is possible to request details of all brands by sending an empty BrandInformation element, as shown below:
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process Function="TI_BrandInformationV1_1" DataPath="/HotelML/Form/BrandInformation" Token="994950137106"/>
<Route Source="01" Destination="00"/>
</Head>
<Form>
<BrandInformation/>
</Form>
</HotelML>
Last updated