Skip to main content

HotelsChangedSinceResponse

hotelsobject[]
countinteger

Number of hotels in this page.

cursorstring

Pass back to get the next page. Absent means the feed is caught up as of checkpointAt.

checkpointAtstring<date-time>

Change instant of the last hotel inspected. Store it and use it as since next time.

warningsstring[]

Non-fatal notes. WARN_UNMAPPED_SKIPPED means some changed hotels have no base code yet and were left out of this page.

deleted object[]

Provider hotels soft-deleted after since. Absent when parts was set and did not include deleted.

  • Array [
  • providerstring

    ContentDB provider code as stored, not a mapping alias.

    providerCodestring

    Provider-native hotel code.

    baseCodestring

    Bundleport base code when mapping still has it; omitted if unmapped.

    deletedAtstring<date-time>

    Instant hotels.deleted_at was set.

  • ]
  • deletedCountinteger

    Number of removals in this page.

    deletedCursorstring

    Pass back as deletedCursor to get the next removals page. Absent when that page is complete.

    HotelsChangedSinceResponse
    {
    "hotels": [
    {
    "baseCode": "string",
    "primary": {
    "code": "string",
    "hotelName": "string",
    "descriptions": [
    {
    "text": "string",
    "language": "string"
    }
    ],
    "category": "string",
    "propertyType": "string",
    "chainCode": "string",
    "boardCodes": [
    "string"
    ],
    "mandatoryFee": [
    {
    "name": "string",
    "text": "string",
    "price": 0,
    "included": true
    }
    ],
    "rooms": [
    {
    "code": "string",
    "roomCode": "string",
    "maxOccupancy": 0,
    "bundleportRoomCode": "string",
    "contentSource": "string",
    "texts": [
    {
    "type": "string",
    "languageCode": "string",
    "text": "string"
    }
    ],
    "images": [
    {
    "code": "string",
    "url": "string",
    "order": 0,
    "mediaType": "string",
    "caption": "string"
    }
    ],
    "beds": [
    {
    "type": "string",
    "count": 0
    }
    ]
    }
    ],
    "amenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "topAmenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "media": [
    {
    "url": "string",
    "orderIndex": 0,
    "isPrimary": true
    }
    ],
    "location": {
    "address": "string",
    "line2": "string",
    "city": "string",
    "state": "string",
    "countryCode": "string",
    "countryName": "string",
    "postalCode": "string",
    "latitude": 0,
    "longitude": 0
    },
    "contact": {
    "phone": "string",
    "email": "string",
    "website": "string",
    "fax": "string"
    },
    "providerCode": "string",
    "connectionCodes": [
    "string"
    ],
    "imageBaseUrl": "string",
    "imageURL": "string",
    "providerHotelCode": "string",
    "exclusiveDeal": true,
    "starRating": 0,
    "starRatingSource": "string",
    "destinationCode": "string",
    "closestDestinations": [
    {
    "destinationCode": "string",
    "destinationName": "string"
    }
    ],
    "ranking": 0,
    "reviewScore": 0,
    "reviewCount": 0,
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z",
    "city": "string",
    "countryCode": "string",
    "countryName": "string",
    "canonicalCityPlaceId": "string",
    "cityGeonameId": "string",
    "distanceToCenterKm": 0,
    "region": "string",
    "regionPlaceId": "string",
    "regionGeonameId": "string",
    "cityTimezone": "string",
    "distanceToBeachKm": 0,
    "distanceToAirportKm": 0,
    "distanceToTrainStationKm": 0,
    "nearestAirportIata": "string",
    "nearestBeachPlaceId": "string",
    "nearestAirportPlaceId": "string",
    "nearestTrainStationPlaceId": "string",
    "cityPois": [
    {
    "placeId": "string",
    "type": "string",
    "name": "string",
    "distanceKm": 0,
    "iata": "string"
    }
    ],
    "locationPath": "string",
    "externalIds": {
    "bundleportBaseCode": "string",
    "providerPropertyIds": {
    "example": "129046618"
    }
    }
    },
    "sources": [
    {
    "provider": "string",
    "providerCode": "string",
    "hotel": {
    "code": "string",
    "hotelName": "string",
    "descriptions": [
    {
    "text": "string",
    "language": "string"
    }
    ],
    "category": "string",
    "propertyType": "string",
    "chainCode": "string",
    "boardCodes": [
    "string"
    ],
    "mandatoryFee": [
    {
    "name": "string",
    "text": "string",
    "price": 0,
    "included": true
    }
    ],
    "rooms": [
    {
    "code": "string",
    "roomCode": "string",
    "maxOccupancy": 0,
    "bundleportRoomCode": "string",
    "contentSource": "string",
    "texts": [
    {
    "type": "string",
    "languageCode": "string",
    "text": "string"
    }
    ],
    "images": [
    {
    "code": "string",
    "url": "string",
    "order": 0,
    "mediaType": "string",
    "caption": "string"
    }
    ],
    "beds": [
    {
    "type": "string",
    "count": 0
    }
    ]
    }
    ],
    "amenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "topAmenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "media": [
    {
    "url": "string",
    "orderIndex": 0,
    "isPrimary": true
    }
    ],
    "location": {
    "address": "string",
    "line2": "string",
    "city": "string",
    "state": "string",
    "countryCode": "string",
    "countryName": "string",
    "postalCode": "string",
    "latitude": 0,
    "longitude": 0
    },
    "contact": {
    "phone": "string",
    "email": "string",
    "website": "string",
    "fax": "string"
    },
    "providerCode": "string",
    "connectionCodes": [
    "string"
    ],
    "imageBaseUrl": "string",
    "imageURL": "string",
    "providerHotelCode": "string",
    "exclusiveDeal": true,
    "starRating": 0,
    "starRatingSource": "string",
    "destinationCode": "string",
    "closestDestinations": [
    {
    "destinationCode": "string",
    "destinationName": "string"
    }
    ],
    "ranking": 0,
    "reviewScore": 0,
    "reviewCount": 0,
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z",
    "city": "string",
    "countryCode": "string",
    "countryName": "string",
    "canonicalCityPlaceId": "string",
    "cityGeonameId": "string",
    "distanceToCenterKm": 0,
    "region": "string",
    "regionPlaceId": "string",
    "regionGeonameId": "string",
    "cityTimezone": "string",
    "distanceToBeachKm": 0,
    "distanceToAirportKm": 0,
    "distanceToTrainStationKm": 0,
    "nearestAirportIata": "string",
    "nearestBeachPlaceId": "string",
    "nearestAirportPlaceId": "string",
    "nearestTrainStationPlaceId": "string",
    "cityPois": [
    {
    "placeId": "string",
    "type": "string",
    "name": "string",
    "distanceKm": 0,
    "iata": "string"
    }
    ],
    "locationPath": "string",
    "externalIds": {
    "bundleportBaseCode": "string",
    "providerPropertyIds": {
    "example": "129046618"
    }
    }
    }
    }
    ],
    "memberCount": 0,
    "descriptionSource": "string",
    "mediaSource": "string",
    "amenitiesSource": "string",
    "contactSource": "string",
    "chainSource": "string",
    "changedAt": "2024-07-29T15:51:28.071Z",
    "changedParts": [
    "hotel"
    ],
    "changedProviders": [
    {
    "provider": "string",
    "providerCode": "string",
    "changedAt": "2024-07-29T15:51:28.071Z",
    "changedParts": [
    "hotel"
    ]
    }
    ]
    }
    ],
    "count": 0,
    "cursor": "string",
    "checkpointAt": "2024-07-29T15:51:28.071Z",
    "warnings": [
    "string"
    ],
    "deleted": [
    {
    "provider": "string",
    "providerCode": "string",
    "baseCode": "string",
    "deletedAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "deletedCount": 0,
    "deletedCursor": "string"
    }