Skip to content

Full accommodation catalog

With this method we request the full information of an accommodation. It includes information about the rates of the different available rooms.

POST /Accommodation/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).

  • 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 such as requesting prices, adding items to the cart, etc.

  • Accommodations: (list). Information about the accommodation specified in the request.

    • Id: (string). Accommodation identifier.

    • Name: (string). Accommodation name.

    • Description: (string). Accommodation description.

    • Address: (string). Accommodation address.

    • PostalCode: (string). Accommodation postal code.

    • City: (string). Accommodation city.

    • Country: (string). Accommodation country.

    • Type: (int). Accommodation type.

    • Category: (int). Category type.

    • Location: (object). Exact accommodation location.

      • Latitude: (decimal). Location latitude.
      • Longitude: (decimal). Location longitude.
    • AccommodationImages: (list). List of accommodation images.

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

      • AccommodationRoom: (object). Information about the accommodation room.
        • RoomRequestNumber: (string). Requested distribution identifier 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.
        • 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 with the accommodation room rates.

          • AccommodationRoomRate: (list). Information about the 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.

            • Price: (decimal). Rate price.

            • MaxPrice: (decimal). Price of the most expensive rate in the same group as this one (same board type and rate type), so that it can be shown struck through next to Price. The rate offered is always the cheapest one, the one in Price. It is calculated like Price: same markup, commission and PriceMode. 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.

            • PriceMode: (int). Price type.

            • Commission: (object). Commission information.

              • Type: (int). Commission type.

              • Value: (decimal). Commission value.

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

    • IncludesTickets: (boolean). Indicates whether tickets are included.
    • Promoted: (boolean). Indicates whether it is promoted.
  • 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.