1. Schemas
YGO Client API
v1
  • v2
  • v1
  • Default Module
    • Overview
    • Core Concepts
    • Authentication
    • Quickstart Guide
    • AI Search & Trip Planning
    • Booking Flow
    • Environments
    • General
      • Check API health status
      • Get current API key context
    • AI Search & Trip Planning
      • Send message to YGO AI
    • Product Search (Deprecated)
      • Search for hotel & package offers
      • Get transfers for booking
      • Get package price calendar
    • Bookings
      • Get or create open booking
      • Check offer availability
      • Update open booking
      • Update booking status and trigger workflows
      • List bookings
      • Get booking
    • Schemas
      • Schemas
        • PackageSearchRequest
        • GetPackageCalendarRequest
        • GetBookingRequest
        • ListBookingsRequest
        • SaveBookingStatusRequest
        • SaveOpenBookingRequest
        • GetOpenBookingRequest
        • GetTransfersRequest
        • Product
        • Booking
        • TransferOptionsResponse
        • PackageCalendarResponse
        • ProductTexts
        • BookingDetails
        • TripReference
        • TransferOption
        • PackageCalendarDate
        • LocaleContent
        • BookingItemInput
        • Trip
        • ProductImage
        • TransferImage
        • BookingItem
        • Traveller
        • PickupInformation
        • ProductDetails
        • PackageOffer
        • PickupLocation
        • Image
        • Pickup
        • TourOperator
        • CheckPickup
        • Accommodation
        • TransferRemark
        • Room
        • CancellationPolicy
        • Transport
        • Flight
        • Airport
        • Price
        • PriceByPax
        • SuccessResponse
        • ErrorResponse
        • Hotel
        • HotelFeatures
        • FeatureState
        • RoomFeatures
        • RoomContent
        • Facility
      • Response
        • Unauthorized
  1. Schemas

Hotel

Complete hotel details including facilities, rooms, features, and enriched metadata from Hotelbeds

{
    "HotelbedsCode": 0,
    "LocalizedRooms": {
        "en": [
            {
                "RoomCode": "DBL.ST",
                "Description": "Double Standard Room",
                "MinPax": 1,
                "MaxPax": 2
            }
        ]
    },
    "LocalizedFacilities": {
        "en": [
            {
                "FacilityCode": 10,
                "Description": {
                    "Content": "Swimming Pool"
                }
            }
        ]
    },
    "RoomImages": {
        "DBL.ST": [
            {
                "URL": "https://cdn.ygo.ai/hotels/12345/rooms/dbl-st-1.jpg",
                "Width": 1920,
                "Height": 1080,
                "Type": "room"
            }
        ]
    },
    "RoomFeatures": {
        "DBL.ST": {
            "SquareMeters": 28,
            "HasBalcony": true,
            "HasWifi": true
        }
    },
    "Stars": 4.5,
    "Exists": true,
    "PetsAllowed": true,
    "HasPool": true,
    "HasSauna": true,
    "HasSpa": true,
    "HasFitness": true,
    "HasGym": true,
    "HasBalcony": true,
    "Has24hReception": true,
    "HasWifi": true,
    "HasBar": true,
    "HasRestaurant": true,
    "HasElevator": true,
    "HasAirCondition": true,
    "HasBreakfast": true,
    "HasParking": true,
    "WheelchairAccessible": true,
    "Features": {
        "Pool": "yes",
        "Wifi": "yes",
        "Parking": "yes",
        "PetsAllowed": "no",
        "Spa": "unknown"
    }
}
Built with