Hotel API · Content
HotelDetailRQ()
This function is dedicated to get the hotel's description details.
Request
<HotelDetailRQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<Ilng>?</Ilng>
<HotelID>?</HotelID>
<source>?</source>
<WithHotelMap>?</WithHotelMap>
<WithHotelAdvancedDetail>?</WithHotelAdvancedDetail>
<WithHotelSections>?</WithHotelSections>
<WithHotelReviews>?</WithHotelReviews>
<WithHotelImages>?</WithHotelImages>
<WithTravellersReviews>?</WithTravellersReviews>
</HotelDetailRQ>| Root | Sub Root | Description | Valeurs & Format | Tag |
|---|---|---|---|---|
| Credential | Mandatory | |||
| Login | Login | Text | ||
| Password | Password | Text | ||
| User | Current user ID | Numeric | Mandatory | |
| Ilng | Id of language | Numeric | Mandatory | |
| HotelID | Id of hotel | Text | Mandatory | |
| Source | ID Source | Numeric | ||
| WithHotelMap | Return hotel map or no | Boolean | ||
| WithHotelAdvancedDetail | Return hotel advanced detail or no | Boolean | ||
| WithHotelSections | Return hotel sections or no | Boolean | ||
| WithHotelReviews | Return hotel reviews or no | Boolean | ||
| WithHotelImages | Return hotel images or no | Boolean | ||
| WithTravellersReviews | Return travellers reviews or no | Boolean |
Response
<HotelDetailRS>
<Id>?</Id>
<Title>?</Title>
<ShowMap>?</ShowMap>
<ShowReview>?</ShowReview>
<Destination>?</Destination>
<City id="’?’">?</City>
<Category id="’?’">?</Category>
<FixedSalesDates>
<FixedSalesDate>
<FromDate>?</FromDate>
<ToDate>?</ToDate>
</FixedSalesDate>
<FixedSalesDate>
...
</FixedSalesDate>
</FixedSalesDates>
<Summary>?</Summary>
<Description>?</Description>
<ImageUrl>?</ImageUrl>
<PromotionTitle>?</PromotionTitle>
<ShowSection>?</ShowSection>
<ShowImage>?</ShowImage>
<Review count="?">?</Review>
<Address>?</Address>
<Email>?</Email>
<WebSite>?</WebSite>
<Fax>?</Fax>
<Phone>?</Phone>
<SectionList>
<Section id="’?’">?</Section>
</SectionList>
<HotelDescriptionList>
<DescriptionDetails id="’?’">
<Title>?</Title>
<description>?</description>
<Images>
<Image title="’?’">?</Image>
</Images>
</DescriptionDetails>
…
</HotelDescriptionList>
<HotelRoomsDescriptionList>
<DescriptionDetails id="’?’" idroom="’?’">
<Title>?</Title>
<description>?</description>
<Images>
<Image title="’?’">?</Image>
</Images>
</DescriptionDetails>
...
</HotelRoomsDescriptionList>
<HotelMap>
<Latitude>?</Latitude>
<Longitude>?</Longitude>
<Zoom>?</Zoom>
</HotelMap>
<HotelAdvancedDetail>
<Reductions>
<Reduction>?</Reduction>
</Reductions>
<Facilities>
<Facility>?</Facility>
</Facilities>
<Rooms>
<Room id="?">?</Room>
</Rooms>
<Options>
<Option id="?">?</Option>
</Options>
<Supplements>
<Supplement>?</Supplement>
</Supplements>
<Boards>
<Board>?</Board>
</Boards>
<Locations>
<Location>?</Location>
</Locations>
<Themes>
<Theme id="?">?</Theme>
</Themes>
</HotelAdvancedDetail>
<HotelReview>
<ReviewSatisfactionCriterias>
<SatisfactionCriterias>
<IdSatisfactionCriteria>?</IdSatisfactionCriteria>
<SatisfactionCriteria>?</SatisfactionCriteria>
<AverageMark>?</AverageMark>
</SatisfactionCriterias>
</ReviewSatisfactionCriterias>
<ReviewTravellerCategories>
<Traveller>
<IdTravellerCategory>?</IdTravellerCategory>
<TravellerCategory>?</TravellerCategory>
<ReviewsNumber>?</ReviewsNumber>
</Traveller>
</ReviewTravellerCategories>
</HotelReview>
<HotelImages>
<Image title="?">?</Image>
</HotelImages>
<TravellersReviews>
<TravellersReview>
<Name>?</Name>
<TravelerCategory id="?">?</TravelerCategory >
<FromDate>?</FromDate>
<ToDate>?</ToDate>
<SubmissionDate>?</SubmissionDate>
<Title>?</Title>
<Comment>?</Comment>
<Criterias>
<Criteria id="?" Title="?" Value="?" />
</Criterias>
</TravellersReview>
</TravellersReviews >
</HotelDetailRS>| Root | Sub Root | Description | Valeurs & Format | Tag |
|---|---|---|---|---|
| Id | Id of hotel | Text | ||
| Title | Title of hotel | Text | ||
| ShowMap | Return true if latitude and longitude are not empty | Boolean | ||
| ShowReview | Return true if number of reviews > 0 | Boolean | ||
| Destination | Title of destination | Text | ||
| City | Title of city | Text | ||
| City:@id | Id of city | Numeric | ||
| Category | Title of category | Text | ||
| Category:@id | Id of category | Numeric | ||
| FixedSalesDates | List of Sales Fixed Dates | Text | only for idCategory= FixedSalesDates | |
| FixedSalesDate | ||||
| FixedSalesDate:@FromDate @ToDate | Sales begin/end interval dates | Text | returns if idCategory= FixedSalesDates | |
| Summary | Summary of hotel | Text | ||
| Description | Description of hotel | Text | ||
| ImageUrl | Url of main image | Text | ||
| PromotionTitle | Title of promotion | Text | ||
| ShowSection | Return true if hotel has sections | Boolean | ||
| ShowImage | Return true if hotel has images | Boolean | ||
| Review | ||||
| Review:@Count | Count of reviews | Numeric | ||
| Adress | Adress of hotel | Text | ||
| Email of hotel | Text | |||
| WebSite | WebSite of hotel | Text | ||
| Fax | Fax of hotel | Numeric | ||
| Phone | Phone of hotel | Numeric | ||
| SectionList | ||||
| Section | Title of section | Text | ||
| Section:@id | Id of section | Numeric | ||
| HotelDescriptionList | ||||
| DescriptionDetails | ||||
| DescriptionDetails:@id | id of section | Numeric | ||
| DescriptionDetails:Title | Title of section | Text | ||
| DescriptionDetails:description | Description of section | Text | ||
| DescriptionDetails:Images | ||||
| DescriptionDetails:Images:Image | image Url | Text | ||
| Image:@title | title of image | Text | ||
| HotelRoomsDescriptionList | ||||
| DescriptionDetails | ||||
| DescriptionDetails:@id | id of section | Numeric | ||
| DescriptionDetails:@idroom | id of room for section | Numeric | obligatoir if type = room | |
| DescriptionDetails:Title | Title of section | Text | ||
| DescriptionDetails:description | Description of section | Text | ||
| DescriptionDetails:Images | ||||
| DescriptionDetails:Images:Image | image Url | Text | ||
| Image:@title | title of image | Text | ||
| HotelMap | Returned only if you specified WithHotelMap = true in request | |||
| Latitude | Latitude | Decimal | ||
| Longitude | Longitude | Decimal | ||
| Zoom | Zoom | Numeric | ||
| HotelAdvancedDetail | Reductions | Returned only if you specified WithHotelAdvancedDetail = true in request | ||
| Reductions : Reduction | Description of reduction | Text | ||
| Reduction : @id | Id of reduction | Numeric | ||
| Facilities | ||||
| Facilities: Facility | Title of facility | Text | ||
| Facilitiy: @id | Id of facility | Numeric | ||
| Rooms | ||||
| Rooms : Room | Title of room | Text | ||
| Room : @id | Id of room | Numeric | ||
| Options | ||||
| Options : Option | Title of option | Text | ||
| Option :@id | Id of option | Numeric | ||
| Supplements | ||||
| Supplements : Supplement | Title of supplement | Text | ||
| Supplement : @id | Id of supplement | Numeric | ||
| Boards | ||||
| Boards : Board | Title of board | Text | ||
| Board : @id | Id of board | Numeric | ||
| Locations | ||||
| Locations : Location | Title of location | Text | ||
| Location : @id | Id of location | Text | ||
| Themes | ||||
| Themes : Theme | Title of theme | Text | ||
| Theme : @id | Id of theme | Numeric | ||
| HotelReview | ReviewSatisfactionCriterias | Returned only if you specified WithHotelReviews = true in request | ||
| ReviewSatisfactionCriterias : SatisfactionCriterias | ||||
| SatisfactionCriterias : IdSatisfactionCriteria | Id of satisfaction criteria | Numeric | ||
| SatisfactionCriterias : SatisfactionCriteria | Title of satisfaction criteria | Text | ||
| SatisfactionCriterias : AverageMark | Average mark | Numeric | ||
| ReviewTravellerCategories | ||||
| ReviewTravellerCategories : Traveller | ||||
| Traveller : IdTravellerCategory | Id of traveller category | Numeric | ||
| Traveller : TravellerCategory | Title of traveller category | Text | ||
| Traveller : ReviewsNumber | Count of review traveller category | Numeric | ||
| HotelImages | Returned only if you specified WithHotelImages = true in request | |||
| Image | Url of image | Text | ||
| Image : @Title | Title of image | Text | ||
| TravellersReviews | TravellersReview | Returned only if you specified WithTravellersReviews = true in request | ||
| TravellersReview : Name | Name of traveller | |||
| TravellersReview : TravelerCategory | Title of traveller category | Text | ||
| TravelerCategory : @id | Id of traveller category | Numeric | ||
| TravellersReview : FromDate | Arrival date | Date | ||
| TravellersReview : ToDate | Departure date | Date | ||
| TravellersReview : SubmissionDate | Submission Date | Date | ||
| TravellersReview : Title | Title of review | Text | ||
| TravellersReview : Comment | Comment | Text | ||
| TravellersReview : Criterias | ||||
| Criterias :Criteria | ||||
| Criteria :@id | Id of criteria | Numeric | ||
| Criteria :@title | Title of criteria | Text | ||
| Criteria :@value | Value of criteria | Numeric |