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.
Access method
Section titled “Access method”POST /Accommodation/FullCatalog
Request structure
Section titled “Request structure”-
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 theRoomproperty.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 (types1and2).
-
-
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.
Request example
Section titled “Request example”Response structure
Section titled “Response structure”-
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 everyRoomRequestNumberthat offers the same type and does not change between requests or languages. It isnull, and therefore not included in the response, when the room has no synchronized details; in that caseAccommodationRoomImagesandDescriptionare not included either. -
TypeName: (string). Room type name. -
AccommodationRoomImages: (list). List of room type images, sorted byOrder.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 isnull, 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 toPrice. The rate offered is always the cheapest one, the one inPrice. It is calculated likePrice: same markup, commission andPriceMode. If the group has a single rate, it is equal toPrice. It isnull, 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 returnnull.ErrorCode: (int). Code that identifies the error.
-
ErrorEntityBreakDown(list): list that contains objects with the name and ID in case of error.Id(string): identifierName(string): related name of the identifier.