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

PackageOffer

Complete package offer including accommodation, transport, and pricing

{
    "TourOperator": {
        "Code": "string",
        "Name": "string"
    },
    "Accommodation": {
        "Code": "string",
        "LengthOfStay": 0,
        "ArrivalDate": "2019-08-24",
        "Rooms": [
            {
                "Description": "string",
                "Code": "string",
                "Board": "string",
                "BoardCode": "string"
            }
        ]
    },
    "Transport": {
        "Departure": {
            "TransportType": "FLIGHT",
            "DepartureAirport": {
                "Code": "string",
                "Name": "string"
            },
            "ArrivalAirport": {
                "Code": "string",
                "Name": "string"
            },
            "DepartureDateTime": "2019-08-24T14:15:22.123Z",
            "ArrivalDateTime": "2019-08-24T14:15:22.123Z",
            "FlightNumber": "string",
            "Airline": {
                "Code": "string",
                "Name": "string"
            },
            "Duration": 0,
            "StopOver": 0
        },
        "Return": {
            "TransportType": "FLIGHT",
            "DepartureAirport": {
                "Code": "string",
                "Name": "string"
            },
            "ArrivalAirport": {
                "Code": "string",
                "Name": "string"
            },
            "DepartureDateTime": "2019-08-24T14:15:22.123Z",
            "ArrivalDateTime": "2019-08-24T14:15:22.123Z",
            "FlightNumber": "string",
            "Airline": {
                "Code": "string",
                "Name": "string"
            },
            "Duration": 0,
            "StopOver": 0
        }
    },
    "Price": {
        "Amount": 850,
        "Currency": "EUR"
    },
    "PricePerNight": {
        "Amount": 850,
        "Currency": "EUR"
    },
    "PricePerPerson": {
        "Amount": 850,
        "Currency": "EUR"
    },
    "PricePerPersonPerNight": {
        "Amount": 850,
        "Currency": "EUR"
    },
    "Brand": "string",
    "Status": "string",
    "SubStatus": "string"
}
Built with