Response Example :
<Error code="127"><![CDATA[CannotParseResponseFormatAttribute]]></Error>
<DebugError incident="127" timestamp="2025-09-28 08:36:51"><![CDATA[
The following process did not complete in an orderly manner - HOTEL_SEARCH_REQUEST
The following may help resolve the issue: Missing 'ResponseFormat' Attribute in 'Root/Main'
]]>
What it means :
The ResponseFormat attribute value is invalid or missing and cannot be parsed.
Common reasons :
Attribute is empty.
Attribute contains invalid characters or an unsupported value.
Resolution / How to fix :
Use only one of the supported values: Json or XML.
Mandatory format: Json (recommended and required for production).
✅ Example of a correct request :
<Root>
<Header debug="1">
<Agency></Agency>
<User></User>
<Password></Password>
<Operation>HOTEL_SEARCH_REQUEST</Operation>
<OperationType>Request</OperationType>
</Header>
<Main Version="2.4" ResponseFormat="JSON">
<SortOrder>1</SortOrder>
<FilterPriceMin>0</FilterPriceMin>
<Nationality>US</Nationality>
<FilterPriceMax>10000</FilterPriceMax>
<MaximumWaitTime>20</MaximumWaitTime>
<MaxResponses>10000</MaxResponses>
<FilterRoomBasises>
<FilterRoomBasis></FilterRoomBasis>
</FilterRoomBasises>
<HotelName></HotelName>
<Apartments>false</Apartments>
<Hotels>
<HotelId>96773</HotelId>
</Hotels>
<ArrivalDate>2025-11-28</ArrivalDate>
<Nights>3</Nights>
<Rooms>
<Room Adults="2" RoomCount="1" ChildCount="0"></Room>
</Rooms>
</Main>
</Root>