From 4789be86f9034460d1fb4f11d0cea8d91e757f6f Mon Sep 17 00:00:00 2001 From: Fabio Krein Date: Fri, 10 Apr 2026 14:41:53 -0300 Subject: [PATCH] feat: add new recommendation reason --- src/api-explorer/v4-0/HotelService.swagger2.json | 5 ++++- .../direct-connects/hotel-service-4/v4.schemas.markdown | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/api-explorer/v4-0/HotelService.swagger2.json b/src/api-explorer/v4-0/HotelService.swagger2.json index 3c8b0beb5e..77bbb06aa2 100644 --- a/src/api-explorer/v4-0/HotelService.swagger2.json +++ b/src/api-explorer/v4-0/HotelService.swagger2.json @@ -2019,7 +2019,10 @@ "BOOKED_PREVIOUSLY_BY_OTHER_EMPLOYEES", "PERSONA_BASED_RECOMMENDATION", "LOYALTY_MEMBER", - "CLOSEST_TO_COMPANY_LOCATION" + "CLOSEST_TO_COMPANY_LOCATION", + "MOST_BOOKED_HOTEL", + "MOST_BOOKED_BY_YOUR_COMPANY", + "SIMILAR_HOTEL_TYPE_AND_LOCATION_TO_THE_MOST_BOOKED_PROPERTY" ], "example": "MOST_BOOKED_BY_COMPANY", "type": "string" diff --git a/src/api-reference/direct-connects/hotel-service-4/v4.schemas.markdown b/src/api-reference/direct-connects/hotel-service-4/v4.schemas.markdown index 91b1e8f079..b52c6a762a 100644 --- a/src/api-reference/direct-connects/hotel-service-4/v4.schemas.markdown +++ b/src/api-reference/direct-connects/hotel-service-4/v4.schemas.markdown @@ -130,7 +130,7 @@ Hotel property object returned by hotel search. `safetyScore`|[`SafetyScore`](#schemasafetyscore)|-|Hotel Safety Score information.| `acceptedPayments`|[`AcceptedPayments`](#schemaacceptedpayments)|-|Supported values: `AMERICAN_AIRLINES`, `ALASKA_BARTER`, `AMEX`, `AWARD_CREDIT`, `CANADIAN`, `CARTE_BLANCHE`, `CHINA_UNION_PAY`, `CONFERMA`, `DELTA`, `DINERS_CLUB`, `DISCOVER`, `ENROUTE`, `EURO_CARD`, `JCB`, `MC`, `NORTHWEST`, `TWA`, `UATP`, `UNITED_TRAVEL`, `UNITED_CREDIT`, `VENDOR_PROVIDED`,`VISA`| `propertyTypeCode`|`integer`|-|Code identifying the type of property (hotel, apartment, etc.) using OTA Property Class Type (PCT)| -`recommendationReasons`|`Array of recommendationReasons`|-|Optional array of enum values indicating why this hotel is recommended. Hotel connectors can populate this field with up to three values representing the reasons why a specific property is recommended. These values can be applied to a maximum of three properties. Supported values: `MOST_BOOKED_BY_TRAVELER`, `MOST_BOOKED_BY_COMPANY`, `MOST_BOOKED_OVERALL`, `EQUIVALENT_PROPERTY`, `BOOKED_PREVIOUSLY_BY_TRAVELER`, `BOOKED_PREVIOUSLY_BY_OTHER_EMPLOYEES`, `PERSONA_BASED_RECOMMENDATION`, `LOYALTY_MEMBER`, `CLOSEST_TO_COMPANY_LOCATION`| +`recommendationReasons`|`Array of recommendationReasons`|-|Optional array of enum values indicating why this hotel is recommended. Hotel connectors can populate this field with up to three values representing the reasons why a specific property is recommended. These values can be applied to a maximum of three properties. Supported values: `MOST_BOOKED_BY_TRAVELER`, `MOST_BOOKED_BY_COMPANY`, `MOST_BOOKED_OVERALL`, `EQUIVALENT_PROPERTY`, `BOOKED_PREVIOUSLY_BY_TRAVELER`, `BOOKED_PREVIOUSLY_BY_OTHER_EMPLOYEES`, `PERSONA_BASED_RECOMMENDATION`, `LOYALTY_MEMBER`, `CLOSEST_TO_COMPANY_LOCATION`, `MOST_BOOKED_HOTEL`, `MOST_BOOKED_BY_YOUR_COMPANY`, `SIMILAR_HOTEL_TYPE_AND_LOCATION_TO_THE_MOST_BOOKED_PROPERTY`| ## HotelRating