Skip to main content

List OTA Property Types - Pull_ListOTAPropTypes

This method returns the list of available property types as classified by Open Travel Alliance Standard

Use Cases​

  • Map DH properties to OTA-specific categories
  • Display property types using OTA terminology
  • Filter search results by OTA property types
  • Ensure compatibility with OTA platforms

Best Practices​

  • Cache Indefinitely: OTA types rarely change - cache permanently
  • Load on Startup: Fetch once when application starts
  • Map to Internal Types: Create mapping between DH and OTA types
  • Display Correctly: Use OTA terminology in user-facing content

Request​

XML request​

<Pull_ListOTAPropTypes_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
</Pull_ListOTAPropTypes_RQ>

Request fields​

XML PathData TypeTypeDescription
Pull_ListOTAPropTypes_RQCRoot element
Pull_ListOTAPropTypes_RQ/AuthenticationC, MAuthentication details
Pull_ListOTAPropTypes_RQ/Authentication/AccessKeyString(100)MAccess key
Pull_ListOTAPropTypes_RQ/Authentication/SecretKeyString(100)MSecret key

Response​

XML response​

<Pull_ListOTAPropTypes_RS>
<Status ID="0">Success</Status>
<ResponseID>5aa853ab207e4d829312046dc5d7dc66</ResponseID>
<PropertyTypes>
<PropertyType PropertyTypeID="1" OTACode="1">All suite</PropertyType>
<PropertyType PropertyTypeID="2" OTACode="2">All-Inclusive resort</PropertyType>
<PropertyType PropertyTypeID="3" OTACode="3">Apartment</PropertyType>
<PropertyType PropertyTypeID="4" OTACode="4">Bed and breakfast</PropertyType>
<PropertyType PropertyTypeID="7" OTACode="7">Chalet</PropertyType>
<PropertyType PropertyTypeID="16" OTACode="16">Guest house</PropertyType>
<PropertyType PropertyTypeID="20" OTACode="20">Hotel</PropertyType>
<PropertyType PropertyTypeID="22" OTACode="22">Lodge</PropertyType>
<PropertyType PropertyTypeID="30" OTACode="30">Resort</PropertyType>
<PropertyType PropertyTypeID="35" OTACode="35">Villa</PropertyType>
<PropertyType PropertyTypeID="37" OTACode="37">Castle</PropertyType>
<PropertyType PropertyTypeID="63" OTACode="3">Aparthotel</PropertyType>
<PropertyType PropertyTypeID="64" OTACode="31">Boat</PropertyType>
<PropertyType PropertyTypeID="65" OTACode="5">Cottage</PropertyType>
<PropertyType PropertyTypeID="66" OTACode="25">Camping</PropertyType>
<PropertyType PropertyTypeID="67" OTACode="34">House</PropertyType>
</PropertyTypes>
</Pull_ListOTAPropTypes_RS>

Response fields​

XML PathData TypeTypeDescription
Pull_ListOTAPropTypes_RSCRoot element
Pull_ListOTAPropTypes_RS/StatusString (100)MSee ListStatuses
Pull_ListOTAPropTypes_RS/Status@IDIntegerMSee ListStatuses
Pull_ListOTAPropTypes_RS/ResponseIDString(32)MUnique response ID
Pull_ListOTAPropTypes_RS/PropertyTypesC, MA collection of property types
Pull_ListOTAPropTypes_RS/PropertyTypes/PropertyTypes/PropertyTypeString (50)MDescription of a property type
Pull_ListOTAPropTypes_RS/PropertyTypes/PropertyTypes@PropertyTypeIDIntegerMUnique OTA property type ID
Pull_ListOTAPropTypes_RS/PropertyTypes/PropertyTypes@OTACodeIntegerMProperty Type Code according to Open Travel Alliance standard