API solution no longer usable

Retrieving and sending licence requirements for a property using the OTA_HotelDescriptiveInfo, OTA_HotelInvNotif or OTA_HotelDescriptiveContentNotif endpoint has been sunset since April 1, 2022 and is no longer usable. To know more about all the features that were sunset, see the deprecation policy documentation.

This documentation section contains an API solution that is no longer usable. It will be removed on June 1, 2022. Until then, you can still access the topic by clicking the expand icon.

LicenseInfos

Fields

Field Description Type Min/max Notes
TPA_Extensions/
LicenseInfos
Property licence information. array of LicenseInfo 0..1 This element is used only for properties in France. See also Licence requirements per region.
LicenseInfos/
LicenseInfo
Property licence details. object 1..1 -

XML

<OTA_HotelInvNotifRQ ...>
  <SellableProducts ...>
    <SellableProduct>
      <GuestRoom>
        ...
        <TPA_Extensions>
          <LicenseInfos>
            <LicenseInfo PropertyLicenseNumber="1234567890123">
              <PropertyManagedBy OrganizationType="private_person" />
              <TypeOfResidence Type="primary" />
            </LicenseInfo>
          </LicenseInfos>
        </TPA_Extensions>
      </GuestRoom>
    </SellableProduct>
  </SellableProducts>
</OTA_HotelInvNotifRQ>

In accordance with the French law, if you don't include these elements when creating a Vacation Rental-type property in France, you'll get this error message:

Mandatory attribute LicenseInfos\@LicenseInfo is missing