Sample Requests / Responses

Request

<confirmPropertyAvailabilityReq>
    <sessionId>a60ea6f7-1fb6-40ca-a427-ce9dd780635e</sessionId>
    <hotelCode>340698</hotelCode>
    <rateDetailCode>7116908d-0e6c-48c2-a07a-cb0b60b714f1</rateDetailCode>
    <confirmedRooms>
        <confirmedRooms>
            <boardId/>
            <roomCode>208ec2a7-61ed-4ba5-b6a8-77797934853b</roomCode>
        </confirmedRooms>
        <confirmedRooms>
            <boardId/>
            <roomCode>3c18ec78-9b68-4140-9b48-1238ecf61e01</roomCode>
        </confirmedRooms>
    </confirmedRooms>
    <timeout>20000</timeout>
</confirmPropertyAvailabilityReq>
                        

Response

<confirmPropertyAvailabilityRes>
    <responseStatus>
        <statusCode>1000</statusCode>
        <statusMessage>Success</statusMessage>
    </responseStatus>
    <sessionId>a60ea6f7-1fb6-40ca-a427-ce9dd780635e</sessionId>
    <city>
        <cityCode>2938</cityCode>
        <cityName>Marrakech</cityName>
        <countryName>Maroc</countryName>
    </city>
    <checkInDate>2015-12-16</checkInDate>
    <checkOutDate>2015-12-17</checkOutDate>
    <currency>MAD</currency>
    <roomGuests>
        <roomGuests>
            <adultCount>2</adultCount>
            <childCount>0</childCount>
        </roomGuests>
        <roomGuests>
            <adultCount>2</adultCount>
            <childCount>0</childCount>
        </roomGuests>
    </roomGuests>
    <availableForConfirmedBooking>true</availableForConfirmedBooking>
    <availableForReservedBooking>false</availableForReservedBooking>
    <hotelInfo>
        <hotelAddress>Rue Abou Abbas El Sebti</hotelAddress>
        <hotelCode>340698</hotelCode>
        <hotelName>Royal Mansour Marrakech</hotelName>
        <hotelPictureUrl>
            http://media.expedia.com/hotels/4000000/3420000/3411200/3411146/3411146_177_t.jpg
        </hotelPictureUrl>
        <latitude>31.62433</latitude>
        <longitude>-8.00043</longitude>
        <starRating>5</starRating>
    </hotelInfo>
    <roomAvailability>
        <priceChanged>true</priceChanged>
        <rooms>
            <rooms>
                <adultCount>2</adultCount>
                <childCount>0</childCount>
                <includedBoard>
                    <boardDescription>Breakfast</boardDescription>
                    <boardId/>
                    <price>0.0</price>
                </includedBoard>
                <roomCode>208ec2a7-61ed-4ba5-b6a8-77797934853b</roomCode>
                <roomDescription>RIAD 1 BEDROOM</roomDescription>
                <roomRate>
                    <initialPrice>8098.441560000001</initialPrice>
                    <initialPricePerNight>8098.0</initialPricePerNight>
                    <price>8098.441560000001</price>
                    <pricePerNight>8098.0</pricePerNight>
                </roomRate>
            </rooms>
            <rooms>
                <adultCount>2</adultCount>
                <childCount>0</childCount>
                <includedBoard>
                    <boardDescription>Breakfast</boardDescription>
                    <boardId/>
                    <price>0.0</price>
                </includedBoard>
                <roomCode>3c18ec78-9b68-4140-9b48-1238ecf61e01</roomCode>
                <roomDescription>RIAD 1 BEDROOM</roomDescription>
                <roomRate>
                    <initialPrice>8098.441560000001</initialPrice>
                    <initialPricePerNight>8098.0</initialPricePerNight>
                    <price>8098.441560000001</price>
                    <pricePerNight>8098.0</pricePerNight>
                </roomRate>
            </rooms>
        </rooms>
        <totalPrice>16196.883120000002</totalPrice>
    </roomAvailability>
    <cancelPoliciesInfos>
        <cancelPolicyInfos>
            <amount>0.0</amount>
            <cancelTime>2015-12-13 14:59:59</cancelTime>
            <type>amount</type>
        </cancelPolicyInfos>
        <cancelPolicyInfos>
            <amount>16196.883120000002</amount>
            <cancelTime>2015-12-16</cancelTime>
            <type>amount</type>
        </cancelPolicyInfos>
        <refundableTag>RFN</refundableTag>
    </cancelPoliciesInfos>
    <confirmPropertyCode>d5a58d25-7661-4524-99d3-ec4268c12920</confirmPropertyCode>
    <timeout>20000</timeout>
</confirmPropertyAvailabilityRes>