Skip to content

Full catalog of accommodation packages

With this method we request the complete information about the packages (activity + accommodation) available for a specific accommodation. It includes information about the rates of the different rooms available for the accommodation.

POST /Package/FullCatalog

  • People: (list) Required. List of people included in the package. The order in which people are added to this list later determines the index to use in the Room property.

    • Person: (object) Required. Person information.
      • Type: (int) Required. Person type.

      • Age: (int) Optional. Person age. Required only if the person is a child or a baby (types 1 and 2).

  • Activity: (object) Required. Activity information.

    • FromDate: (date) Required. Activity start date. ISO 8601 format (yyyy-MM-dd).
    • ToDate: (date) Required. Activity end date. ISO 8601 format (yyyy-MM-dd).
    • PrePackageIds: (list) Required. List of activity prepackage identifiers.
      • (string): Required. Prepackage identifier.
  • Accommodation: (object) Required. Accommodation information.

    • AccommodationId: (string) Required. Accommodation identifier.
    • CheckIn: (date) Required. Accommodation check-in date. ISO 8601 format (yyyy-MM-dd).
    • CheckOut: (date) Required. Accommodation check-out date. ISO 8601 format (yyyy-MM-dd).
    • RoomDistribution: (list) Required. List of rooms that will make up the package.
      • Room: (list) Required. Information about the people who make up this room.
        • (int): Required. Index corresponding to the position of the person in the People list.
  • Echotoken: (string). Token needed for subsequent requests: request prices, add items to the cart, etc.

  • Activities: (object). Property that contains the definition of the activities catalog. All activities available for the requested prepackage are listed here.

  • Accommodation: (object). Information about the package accommodation indicated in the request.

    • Id: (string). Accommodation identifier.

    • Name: (string). Accommodation name.

    • Description: (string). Accommodation description.

    • Address: (string). Accommodation address.

    • City: (string). Accommodation city.

    • Type: (int). Accommodation type.

    • Category: (int). Category type.

    • CategoryName: (string). Category name.

    • TypeName: (string). Accommodation type name.

    • Location: (object). Exact accommodation location.

      • Latitude: (decimal). Geolocation latitude.
      • Longitude: (decimal). Geolocation longitude.
    • Distances: (list). List of distances to the different package activities.

      • Distance: (object). Information about the distance to the package activity.
        • ActivityProviderId: (string). Activity provider identifier. See ProviderId in the activities catalog.
        • Distance: (decimal). Distance between the accommodation and the activity in meters.
    • AccommodationServices: (list). List of services available in the accommodation.

    • AccommodationService: (object). Information about the service available in the accommodation.

      • Name: (string). Service name.
      • IsFree: (string). Indicates whether it is included in the price.
    • AccommodationImages: (list). List of accommodation images.

      • Description: (string). Image description.
      • Order: (int). Display order.
      • Url: (string). Image URL address.
    • AccommodationRooms: (list). List with the different accommodation rooms.

      • AccommodationRoom: (object). Accommodation room information.
        • RoomRequestNumber: (string). Identifier of the requested distribution according to the room.

        • TypeId: (string). Room type identifier. It identifies the type, not the requested room: it is repeated in every RoomRequestNumber that offers the same type and does not change between requests or languages. It is null, and therefore not included in the response, when the room has no synchronized details; in that case AccommodationRoomImages and Description are not included either.

        • TypeName: (string). Room type name.

        • AccommodationRoomImages: (list). List of room type images, sorted by Order.

          • Description: (string). Image description.
          • Order: (int). Display order.
          • Url: (string). Image URL address.
        • Description: (string). Room type description, as sanitized HTML in the language of the request. It is null, and therefore not included in the response, when the room type has no description.

        • AccommodationRoomRates: (list). Array list with the rates of the accommodation rooms.

          • AccommodationRoomRate: (list). Information about the accommodation room rate.
            • Id: (string). Room identifier.

            • BoardCode: (int) board type code.

            • BoardName: (string). Board type name.

            • Adults: (int). Number of adults.

            • Children: (int). Number of children.

            • RateClass: (int). Rate type.

  • Flags: (list). List with additional information.

    • IncludesTickets: (boolean). Indicates whether tickets are included.
    • Promoted: (boolean). Indicates whether it is promoted.
  • PrePackages: (list). List of available prepackages. This value matches the prepackages requested in the call (PrePackageIds).

    • Id: (string). Prepackage identifier.
    • Name: (string). Prepackage name.
  • ActivityPackages: (list). List of package activities.

    • ActivityPackage: (object). Package activity information.
      • Id: (string). Activity package identifier.
      • Activities: (list). List of activities included in the package.
        • Activities: (object). Information about the activity included in the package.
          • ActivityId: (string). Activity identifier.
          • Quantity: (int). Quantity included.
  • Packages: (list) List of packages. This list is the union between the requested prepackages, the accommodation, and the activities.

    • Package: (list) Package information.
      • Id: (string). Package identifier.

      • PrePackageId: (string). Prepackage identifier.

      • AccommodationRateId: (string). Accommodation rate identifier.

      • AccommodationId: (string). Accommodation identifier.

      • ActivityPackageId: (string). Activity package identifier.

      • Price: (decimal). Package price.

      • MaxPrice: (decimal). Price of the same package with the most expensive rate in the group (same board type and rate type) of its room, so that it can be shown struck through next to Price. Only the room changes; the activities are the same, so the difference with Price is the difference between the two rates. If the group has a single rate, it is equal to Price. It is null, and therefore not included in the response, when the accommodation provider does not report it yet.

      • CancellationPolicy: (object). Cancellation policies.

        • IsRefundable: (boolean). Indicates whether the package is refundable at any point.
        • Rules: (list). Rules that define the cancellation policies.
          • Rule: (object). Rule that defines this cancellation policy.
            • HoursInAdvanceOfAccess: (int). Hours in advance with respect to the access date to which this rule applies.
            • Percentage: (decimal). Penalty percentage with respect to the price.
  • Success: (boolean). Value that indicates whether the call was processed correctly or not.

  • Errors: (list). Array of errors.

    • Error: (object).
      • ErrorMessage: (string). Error message explaining why the request was not successful. If it was correct, it will return null.
      • ErrorCode: (int). Code that identifies the error.
  • ErrorEntityBreakDown (list): list that contains objects with the name and ID in case of error.

    • Id (string): identifier
    • Name (string): related name of the identifier.