To get rooms associated with specific hotelId or chainId use the following XML request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.opentravel.org/OTA/2003/05"
xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in-
stance">
<SOAP-ENV:Header>
<ns2:Security>
<ns2:UsernameToken>
<ns2:Username>username</ns2:Username>
<ns2:Password xsi:type="ns2:http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</ns2:Password>
</ns2:UsernameToken>
</ns2:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:OTA_HotelRoomListRQ EchoToken="MYPMS001" TimeStamp="2008-12-03T08:05:40+00:00" Version="1.006" HotelCode="optionalHotelId" ChainCode="optionalChainId">
</ns1:OTA_HotelRoomListRQ>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HotelCode and ChainCode attributes are optional. If not set, all rooms with associated username/password will be sent. If request was successful you should retrieve XML like this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns2="http://www.opentravel.org/OTA/2003/05">
<script/>
<SOAP-ENV:Body>
<OTA_HotelRoomListRS Version="1.000" EchoToken="MYPMS001" TimeStamp="2024-06-17T09:32:12+02:00">
<Success/>
<HotelRoomLists>
<HotelRoomList>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="1" RoomTypeName="Single Room" HotelCode="1" ChainCode="1"/>
<RoomType RoomTypeCode="2" RoomTypeName="Twin/Double Comfort Room" HotelCode="1" ChainCode="1"/>
<RoomType RoomTypeCode="3" RoomTypeName="Twin/Double Standard Room" HotelCode="1" ChainCode="1"/>
<RoomType RoomTypeCode="4" RoomTypeName="Twin/Double Superior Room" HotelCode="1" ChainCode="1"/>
<RoomType RoomTypeCode="5" RoomTypeName="Junior Suite" HotelCode="1" ChainCode="1"/>
</RoomTypes>
</RoomStay>
</RoomStays>
</HotelRoomList>
</HotelRoomLists>
</OTA_HotelRoomListRS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
RoomTypeCode is always Integer, HotelCode is always Integer, ChainCode is String.