Hotel Search API
Modified on: 2025-06-18 14:10
OTA - Hotel Search Response
Element | Level | Attributes | Description | Occuerences | Type | Notes/Comments |
---|---|---|---|---|---|---|
OTA_Hotel SearchRS | 1 | 1 | ||||
@TimeStamp | ||||||
@Version | ||||||
@Target | ||||||
@AltLangID | ||||||
Criteria | 2 | 1 | ||||
Criterion | 3 | 1...n | ||||
HotelRef | 4 | 1 | object | |||
@HotelCode | ||||||
@HotelCodeContext |
Example
Single Supplier
<OTA_HotelSearchRS AltLangID="EN-US" Target="Production" TimeStamp="2022-05-31T17:41:31.656Z" Version="4">
<Success/>
<Criteria>
<Criterion>
<HotelRef HotelCode="ARROM1" HotelCodeContext="HILTON"/>
</Criterion>
<Criterion>
<HotelRef HotelCode="ARROM2" HotelCodeContext="HILTON"/>
</Criterion>
</Criteria>
</OTA_HotelSearchRS>
Milti Suppliers
<OTA_HotelSearchRS Target="Production" Version="4.0" TimeStamp="2022-05-31T17:47:40.040" AltLangID="en-us">
<Criteria>
<Criterion>
<HotelRef HotelCode="ATTSD" HotelCodeContext="HILTON"/>
</Criterion>
<Criterion>
<HotelRef HotelCode="CBTSS" HotelCodeContext="HYATT"/>
</Criterion>
</Criteria>
</OTA_HotelSearchRS>
OTA-Hotel Search Request
Element | Level | Attributes | Description | Occurrences | Type | Notes/Comments |
---|---|---|---|---|---|---|
OTA_Hotel SearchRQ | 1 | 1 | ||||
@TimeStamp | ||||||
@Version | ||||||
@Target | ||||||
@AltLangID | ||||||
Criteria | 2 | 1 | ||||
Criterion | 3 | 1...N | ||||
HotelRef | 4 | 1 | object | |||
@HotelCodeContext | ||||||
Profiles | 4 | 1 | ||||
ProfileInfo | 5 | 1 | ||||
Profile | 6 | 1 | ||||
@LastModifyDateTime |
Examples
Single Supplier
<OTA_HotelSearchRQ TimeStamp="2022-03-16T19:08:49.589" Version="3.0" Target="Production" AltLangID="en-US"> <Criteria> <ns:Criterion> <HotelRef HotelCodeContext="HILTON"/> <Profiles> <ProfileInfo> <Profile LastModifyDateTime="2022-01-15T21:43:03.375"/> </ProfileInfo> </Profiles> </Criterion> </Criteria> </OTA_HotelSearchRQ>
Multi Suppliers
<OTA_HotelSearchRQ TimeStamp="2023-01-01T19:08:49.589" Version="3.0" Target="Production" AltLangID="en-US" <Criteria> <Criterion> <HotelRef HotelCodeContext="HILTON"/> <Profiles> <ProfileInfo> <Profile LastModifyDateTime="2021-01-21T00:00:49.589"/> </ProfileInfo> </Profiles> </Criterion> <Criterion> <HotelRef HotelCodeContext="HYATT"/> <Profiles> <ProfileInfo> <Profile LastModifyDateTime="2022-05-01T00:00:49.589"/> </ProfileInfo> </Profiles> </Criterion> </Criteria> </OTA_HotelSearchRQ>
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.