getRoomTypes ()

Get room type information.

HTTP Request Method = POST.

https://sandbox.minihotel.cloud/agents/ws/settings/rooms/RoomsMain.asmx/getRoomTypes
https://api2.minihotel.cloud/agents/ws/settings/rooms/RoomsMain.asmx/getRoomTypes

Request Example

<?xml version="1.0" encoding="UTF-8"?>
<Request>
    <Settings name="getRoomTypes">
    <Authentication username="Test" password="3657488"/>
    <Hotel id="sandbox" />
</Settings>
</Request>

Response

ParameterDescriptionType
ArrayOfRoomTypesRoomTypes containerList Of()
#RoomTypesRoomType record
#TypeRoom Type CodeString
#DescriptionRoom Type DescriptionString
#ImageThe first image of a room that contains the room type.
Example:
Room 101 DBL - Image1.jpg
Room 102 DBL - Image2.jpg
Room 103 DBL - Image3.jpg

You will receive Image1.jpg
String

Response Example

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <ServerInfo>
        <Name>SANDBOX1</Name>
        <ResponseTime>22 ms</ResponseTime>
        <DateTime>8/15/2018 9:08:33 AM</DateTime>
    </ServerInfo>
    <ArrayOfRoomTypes>
        <RoomTypes>
            <Type>DBL</Type>
            <Description>Double Room</Description>
            <Image>http://imageurl.com/image</Image>
        </RoomTypes>
        <RoomTypes>
            <Type>TRPL</Type>
            <Description>Triple Room</Description>
            <Image />
        </RoomTypes>
        <RoomTypes>
            <Type>QUAD</Type>
            <Description>Quadruple Room</Description>
            <Image />
        </RoomTypes>
    </ArrayOfRoomTypes>
</Response>