curl --request POST \
--url https://ota-int.axisdata.net:9443/hotelavailability \
--header 'Content-Type: application/xml' \
--data '<OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05" MaxResponses="200" EchoToken="1" Version="2008.1">
<POS>
<Source>
<RequestorID Instance="MF002" ID_Context="AxisData" ID="TEST" Type="22"/>
</Source>
<Source>
<RequestorID Type="88" ID="TEST" MessagePassword="testpass"/>
</Source>
</POS>
<AvailRequestSegments>
<AvailRequestSegment InfoSource="12">
<StayDateRange End="2029-07-24" Start="2029-07-17"/>
<RoomStayCandidates>
<RoomStayCandidate>
<GuestCounts>
<GuestCount Count="2" AgeQualifyingCode="10"/>
</GuestCounts>
</RoomStayCandidate>
</RoomStayCandidates>
<HotelSearchCriteria>
<Criterion>
<RefPoint CodeContext="Country">Spain</RefPoint>
<RefPoint CodeContext="Region">Mallorca</RefPoint>
</Criterion>
</HotelSearchCriteria>
</AvailRequestSegment>
</AvailRequestSegments>
</OTA_HotelAvailRQ>'"<string>"curl --request POST \
--url https://ota-int.axisdata.net:9443/hotelavailability \
--header 'Content-Type: application/xml' \
--data '<OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05" MaxResponses="200" EchoToken="1" Version="2008.1">
<POS>
<Source>
<RequestorID Instance="MF002" ID_Context="AxisData" ID="TEST" Type="22"/>
</Source>
<Source>
<RequestorID Type="88" ID="TEST" MessagePassword="testpass"/>
</Source>
</POS>
<AvailRequestSegments>
<AvailRequestSegment InfoSource="12">
<StayDateRange End="2029-07-24" Start="2029-07-17"/>
<RoomStayCandidates>
<RoomStayCandidate>
<GuestCounts>
<GuestCount Count="2" AgeQualifyingCode="10"/>
</GuestCounts>
</RoomStayCandidate>
</RoomStayCandidates>
<HotelSearchCriteria>
<Criterion>
<RefPoint CodeContext="Country">Spain</RefPoint>
<RefPoint CodeContext="Region">Mallorca</RefPoint>
</Criterion>
</HotelSearchCriteria>
</AvailRequestSegment>
</AvailRequestSegments>
</OTA_HotelAvailRQ>'"<string>"The body is of type string<xml>.
Success
The response is of type string.