Skip to content

Basic package catalog

This method allows us to obtain the minimum and essential information about the different packages. It can be used, for example, to create an initial search page.

The result will be a matrix of the different activities (PrePackageIds) and the accommodations available for each of those activities.

Activities may have no accommodation restrictions, one accommodation restriction, or several accommodation restrictions configured internally, such as only being allowed to be packaged with a specific accommodation or a maximum distance restriction to the venue. These restrictions can cause accommodations not to appear in the package result list (Packages) even if there are accommodations available in the selected area or radius.

POST /Package/BasicCatalog

  • 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.
  • Accomodation: (object) Required. Information about the accommodations to retrieve.

    • AccommodationIds: (list) Optional. List that allows retrieving packages only from a specific set of accommodations.
      • (string): Optional. Accommodation identifier.
    • Destination: (object) Required. Geolocation used to search for accommodations. See SuggestedLocation.
      • Latitude: (decimal) Required. Geolocation latitude.
      • Longitude: (decimal) Required. Geolocation longitude.
    • 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.
  • Filter: (list) Optional. Filters used to narrow the result set. Different filters are combined as a logical AND.

    • AccommodationBoards: (list) Optional. List of desired accommodation board types.

      • (int): Optional. Board type.

    • AccommodationCategories: (list) Optional. List of desired accommodation categories.

      • (int): Optional. Accommodation category type.

    • AccommodationRateClasses: (list) Optional. List of refundable or non-refundable accommodations.

      • (int): Optional. Indicates whether refundable rates are desired.

    • AccommodationTypes: (list) Optional. List of accommodation types.

      • (int): Optional. Accommodation type.

    • Cities: (list) Optional. List of cities.

      • (string): Optional. City name.
    • PriceRange: Optional. Package price range. If more than one value is specified, they behave as a logical OR.

      • Min: (int) Optional. Minimum price.
      • Max: (int) Optional. Maximum price.
    • DistanceRanges: (list) Optional. List of distance ranges with respect to the activity. If more than one value is specified, they behave as a logical OR.

      • DistanceRange: (object) Optional. Distance range from the activity in meters.
        • Min: (int) Optional. Minimum distance.
        • Max: (int) Optional. Maximum distance.
  • Sort: (object) Optional. Result ordering.

    • Criteria: (int) Optional. Sort type.

  • Paging: (object) Optional. Pagination information.

    • Number: (int) Optional. Requested page number.
    • Size: (int) Optional. Number of items per page.
  • TotalPages: (int). Total number of pages.

  • Packages: (list). List of packages based on the search criteria: Activity/Activities, Accommodation(s), and Filters.

    • Package: (object). Package information.
      • Accommodation: (object). Accommodation information.

        • MainImageUrl: (string). Main accommodation image URL.

        • Name: (string). Accommodation name.

        • Description: (string). Accommodation description.

        • Address: (string). Accommodation address.

        • City: (string). City where the accommodation is located.

        • PostalCode: (string). Accommodation postal code.

        • Country: (string). Country where the accommodation is located.

        • Type: (string). Accommodation type.

        • Category: (string). Accommodation category.

        • DistanceToActivity: (decimal). Distance, in meters, from the accommodation to the starting point of the activity.

      • PriceFrom: (decimal). Lowest combination price available for the package.

      • MaxPriceFrom: (decimal). Counterpart of PriceFrom with the most expensive rates, so that it can be shown struck through next to PriceFrom: for each requested room, the price of the package that gives the “from” price with the most expensive rate in the group (same board type and rate type) of its room, added up. Only the room changes; the activities are the same. If those groups have a single rate, it is equal to PriceFrom. It is null, and therefore not included in the response, when the accommodation provider does not report it yet.

  • AvailableFilters: (list). Provides information about the filters available according to the search criteria, for example to refine future searches using the Filter request parameter. In all cases, an array of objects is returned with Value (matching the values defined in Filter) and Count indicating how many matches exist for each filter. Information is returned for the following filters (see the Filter request parameter definition):

    • AccommodationBoards: (list)
    • AccommodationCategories: (list)
    • AccommodationCities: (list)
    • AccommodationRateClasses: (list)
    • AccommodationTypes: (list)
  • 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.