---
title: "Request for fetching hotel content."
method: POST
path: "/api/content/HotelContent/getHotelContent"
tags: ["HotelContent"]
---

# Request for fetching hotel content.

`POST /api/content/HotelContent/getHotelContent`

Request for fetching hotel content.

## Headers

- `accountId` string, required
- `apiKey` string, required

## Request body

- HotelContentContractsGetHotelsReq
  - `channelId` string, nullable
  - `culture` string, nullable
  - `filterBy` HotelContentContractsFilterBy
    - `ratings` HotelContentContractsRatings
      - `min` number, float
      - `max` number, float
    - `facilities` string[], nullable
    - `category` HotelContentContractsFilterCategory
      - `name` string, nullable
      - `include` boolean
    - `location` HotelContentContractsLocation
      - `state` string, nullable
      - `country` string, nullable
  - `contentFields` HotelContentContractsContentField[], nullable
  - `providerPrefs` string[], nullable
  - `distanceFrom` HotelContentContractsGeoLocation
    - `lat` number, double
    - `long` number, double
  - `circularRegion` HotelContentContractsCircularRegion
    - `centerLat` number, double
    - `centerLong` number, double
    - `radiusInKM` integer
  - `rectangularRegion` HotelContentContractsRectangularRegion
    - `topLeftLat` number, double
    - `topLeftLong` number, double
    - `bottomRightLat` number, double
    - `bottomRightLong` number, double
  - `polygonalRegion` HotelContentContractsPolygonalRegion
    - `coordinates` HotelContentContractsGeoCode[], nullable
      - `lat` number, double
      - `long` number, double
  - `multiPolygonalRegion` HotelContentContractsMultiPolygonalRegion
    - `polygons` HotelContentContractsPolygonalRegion[], nullable
      - `coordinates` HotelContentContractsGeoCode[], nullable
        - `lat` number, double
        - `long` number, double
  - `hotelIds` string[], nullable
  - `useIcePortalImages` boolean
  - `useLeonardoImages` boolean
  - `useTrustYouReview` boolean
  - `opinionatedContent` boolean
  - `userInfo` HotelContentContractsUserInfo
    - `email` string, nullable
    - `role` string, nullable
    - `agencyId` string, nullable
    - `grandParentId` string, nullable

## Response `200`

Success

- HotelContentContractsGetHotelsRes
  - `hotels` HotelContentContractsHotel[], nullable
    - `id` string, nullable
    - `name` string, nullable
    - `relevanceScore` number, double
    - `providerId` string, nullable
    - `providerHotelId` string, nullable
    - `providerName` string, nullable
    - `language` string, nullable
    - `geoCode` HotelContentContractsGeoCode
      - `lat` number, double
      - `long` number, double
    - `neighbourhoods` string[], nullable
    - `contact` HotelContentContractsContact
      - `address` HotelContentContractsAddress
        - `line1` string, nullable
        - `line2` string, nullable
        - `city` HotelContentContractsNameCode
          - `code` string, nullable
          - `name` string, nullable
        - `state` HotelContentContractsNameCode
          - `code` string, nullable
          - `name` string, nullable
        - `country` HotelContentContractsNameCode
          - `code` string, nullable
          - `name` string, nullable
        - `postalCode` string, nullable
        - `destinationCode` string, nullable
      - `phones` string[], nullable
      - `fax` string[], nullable
      - `emails` string[], nullable
    - `chainCode` string, nullable
    - `chainName` string, nullable
    - `type` string, nullable
    - `website` string, nullable
    - `descriptions` HotelContentContractsDescription[], nullable
      - `type` string, nullable
      - `text` string, nullable
    - `category` string, nullable
    - `starRating` number, double
    - `facilities` HotelContentContractsFacility[], nullable
      - `id` integer
      - `groupId` integer
      - `name` string, nullable
    - `facilityGroups` HotelContentContractsFacilityGroup[], nullable
      - `id` integer
      - `name` string, nullable
      - `culture` string, nullable
      - `type` string, nullable
    - `nearByAttractions` HotelContentContractsNearByAttraction[], nullable
      - `name` string, nullable
      - `distance` string, nullable
      - `unit` 'Km' | 'Miles' | 'Meters'
      - `description` string, nullable
      - `type` string, nullable
    - `images` HotelContentContractsImage[], nullable
      - `links` HotelContentContractsLink[], nullable
        - `size` string, nullable
        - `url` string, nullable
      - `caption` string, nullable
      - `category` string, nullable
      - `type` string, nullable
      - `roomCodes` string[], nullable
    - `policies` HotelContentContractsPolicy[], nullable
      - `type` string, nullable
      - `text` string, nullable
    - `fees` HotelContentContractsFee[], nullable
      - `feeType` string, nullable
      - `text` string, nullable
    - `reviews` HotelContentContractsReview[], nullable
      - `provider` string, nullable
      - `count` integer
      - `rating` number, double
      - `url` string, nullable
      - `categoryratings` HotelContentContractsCategoryRating[], nullable
        - `category` string, nullable
        - `rating` number, double
      - `guestreviews` HotelContentContractsGuestReview[], nullable
        - `ReviewerName` string, nullable
        - `Source` string, nullable
        - `Title` string, nullable
        - `Text` string, nullable
        - `Rating` string, nullable
        - `TravelCompanion` string, nullable
    - `checkinInfo` HotelContentContractsCheckinInfo
      - `beginTime` string, nullable
      - `endTime` string, nullable
      - `instructions` string[], nullable
      - `specialInstructions` string[], nullable
      - `minAge` integer
    - `checkoutInfo` HotelContentContractsCheckoutInfo
      - `time` string, nullable
    - `heroImage` string, nullable
    - `distance` number, double
    - `attributes` HotelContentContractsAttributes[], nullable
      - `key` string, nullable
      - `value` string, nullable
      - `desc` string, nullable
    - `ratePlanTypes` string[], nullable
    - `imageCount` integer
    - `rooms` HotelContentContractsRoom[], nullable
      - `roomId` string, nullable
      - `type` string, nullable
      - `description` unknown
      - `roomDescription` string, nullable
      - `facilities` HotelContentContractsFacility[], nullable
        - `id` integer
        - `groupId` integer
        - `name` string, nullable
      - `beds` HotelContentContractsBed[], nullable
        - `ProviderBedId` string, nullable
        - `Type` string, nullable
        - `Description` string, nullable
        - `Size` string, nullable
        - `Count` integer
      - `area` HotelContentContractsArea
        - `squareMeters` string, nullable
        - `squareFeet` string, nullable
        - `text` string, nullable
      - `image` HotelContentContractsImage[], nullable
        - `links` HotelContentContractsLink[], nullable
          - `size` string, nullable
          - `url` string, nullable
        - `caption` string, nullable
        - `category` string, nullable
        - `type` string, nullable
        - `roomCodes` string[], nullable
      - `views` string[], nullable
      - `maxGuestAllowed` integer, nullable
      - `maxAdultAllowed` integer, nullable
      - `maxChildrenAllowed` integer, nullable
    - `licenseNumber` string, nullable
    - `availableSuppliers` string[], nullable
  - `neighbourhoods` HotelContentContractsNeighbourhood[], nullable
    - `id` string, nullable
    - `name` string, nullable
    - `type` string, nullable
  - `hotelMappings` HotelContentContractsHotelMapping[], nullable
    - `id` string, nullable
    - `data` HotelContentContractsProviderData[], nullable
      - `phi` string, nullable
      - `pm` string, nullable
      - `pf` string, nullable
      - `cn` string, nullable
      - `cc` string, nullable
      - `chn` string, nullable
      - `sr` number, double
      - `d` number, double
      - `chc` string, nullable
      - `sn` string, nullable
      - `sc` string, nullable
      - `dc` string, nullable
      - `score` number, double, nullable
      - `apiOutProviderData` HotelContentContractsProviderData[], nullable
    - `geoCode` HotelContentContractsGeoCodes
      - `lat` number, double
      - `lon` number, double
    - `relevanceScore` number, double, nullable
  - `curatedHotelIds` string[], nullable
  - `curatedHotels` HotelContentContractsCuratedHotel[], nullable
    - `Id` string, nullable
    - `Name` string, nullable
    - `Ratings` string, nullable
    - `AddressLine1` string, nullable
    - `AddressLine2` string, nullable
    - `CityName` string, nullable
    - `StateName` string, nullable
    - `StateCode` string, nullable
    - `CountryName` string, nullable
    - `CountryCode` string, nullable
    - `PostalCode` string, nullable
    - `Latitude` number, double
    - `Longitude` number, double
    - `Phones` string[], nullable
    - `WebSite` string, nullable
    - `Emails` string[], nullable
    - `Fax` string, nullable
    - `PropertyType` string, nullable
    - `Images` HotelContentContractsImage[], nullable
      - `links` HotelContentContractsLink[], nullable
        - `size` string, nullable
        - `url` string, nullable
      - `caption` string, nullable
      - `category` string, nullable
      - `type` string, nullable
      - `roomCodes` string[], nullable
    - `ChainName` string, nullable
    - `BrandName` string, nullable
    - `Facilities` HotelContentContractsFacility[], nullable
      - `id` integer
      - `groupId` integer
      - `name` string, nullable
    - `CityLocationId` string, nullable
    - `MasterCityLocationName` string, nullable
    - `Airports` HotelContentContractsAirport[], nullable
      - `LocationId` integer, nullable
      - `Code` string, nullable
      - `Name` string, nullable
    - `TrainStations` HotelContentContractsAirport[], nullable
      - `LocationId` integer, nullable
      - `Code` string, nullable
      - `Name` string, nullable
    - `PointOfInterests` HotelContentContractsAirport[], nullable
      - `LocationId` integer, nullable
      - `Code` string, nullable
      - `Name` string, nullable
    - `ConnectedLocations` HotelContentContractsAirport[], nullable
      - `LocationId` integer, nullable
      - `Code` string, nullable
      - `Name` string, nullable
    - `Neighbourhoods` HotelContentContractsAirport[], nullable
      - `LocationId` integer, nullable
      - `Code` string, nullable
      - `Name` string, nullable
    - `Stadiums` HotelContentContractsAirport[], nullable
      - `LocationId` integer, nullable
      - `Code` string, nullable
      - `Name` string, nullable
    - `Rooms` HotelContentContractsRoom[], nullable
      - `roomId` string, nullable
      - `type` string, nullable
      - `description` unknown
      - `roomDescription` string, nullable
      - `facilities` HotelContentContractsFacility[], nullable
        - `id` integer
        - `groupId` integer
        - `name` string, nullable
      - `beds` HotelContentContractsBed[], nullable
        - `ProviderBedId` string, nullable
        - `Type` string, nullable
        - `Description` string, nullable
        - `Size` string, nullable
        - `Count` integer
      - `area` HotelContentContractsArea
        - `squareMeters` string, nullable
        - `squareFeet` string, nullable
        - `text` string, nullable
      - `image` HotelContentContractsImage[], nullable
        - `links` HotelContentContractsLink[], nullable
          - `size` string, nullable
          - `url` string, nullable
        - `caption` string, nullable
        - `category` string, nullable
        - `type` string, nullable
        - `roomCodes` string[], nullable
      - `views` string[], nullable
      - `maxGuestAllowed` integer, nullable
      - `maxAdultAllowed` integer, nullable
      - `maxChildrenAllowed` integer, nullable
    - `GooglePlusCode` string, nullable

## Other responses

- `204` — NoContent
- `400` — ClientSideError

---

[API](https://skmtc.net/zentrumhub/apis/hotelcontent-api.md) · [All operations](https://skmtc.net/zentrumhub/apis/hotelcontent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zentrumhub/hotelcontent-api/revisions/9fa4830db488/schema)
