Retrieve property attributes

Use /ota/OTA_HotelSearch to retrieve the attributes of one or more Property.


HTTP request


Request body

Provide an OTA_HotelSearchRQ object in the request body. Example:

<OTA_HotelSearchRQ xmlns="" Version="2.001">
      <!-- Replace the {PlaceHolder} in the following line! -->
      <HotelRef HotelCode="{PropertyID}"/>

Alternatively, omit Criteria to retrieve the statuses of all properties that are assigned to the used machine account.


The response contains an OTA_HotelSearchRS object:

    xmlns:xsi="" xsi:schemaLocation=" OTA_HotelSearchRS.xsd" TimeStamp="2015-12-02T15:07:34-00:00" Target="Production" Version="3.000">
    <Properties LastChange="2015-12-01 12:00:00">
        <Property HotelCode="{PropertyID}" HotelName="The Best Hotel" CurrencyCode="EUR">
            <TPA_Extensions HotelStatus="XML: Being built" Created="2015-11-19 07:13:06" LastChange="2015-12-01 16:41:53" ContentScore="67" ConnectionStatus="Pending Property"/>

ContentScore is calculated periodically. It may take a while for your changes to reflect on the score.

Next steps