Hotel availability request
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>"Hotel Availability
POST
/
hotelavailability
Hotel availability request
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>"Use this request to retrieve available units given pax number, dates and location.
Find all the necessary information regarding the request message here
The endpoint (url) shown in the code snippet is for Sandbox only. If you need to throw the requests from Postman or other tools, please use https://sintesb.axisdata.net/apu-test/ota after whitelisting your IPs. More info at Access to our Systems
Body
application/xml
The body is of type string<xml>.
Response
200 - application/xml
Success
The response is of type string.
⌘I

