Sample Requests / Responses

Request (1Room - 2Adults, 0Children)

<confirmBookingReq>
    <sessionId>a60ea6f7-1fb6-40ca-a427-ce9dd780635e</sessionId>
    <login>
        <language>fr_FR</language>
        <password>******</password>
        <userName>******</userName>
    </login>
    <hotelCode>340698</hotelCode>
    <confirmPropertyCode>d5a58d25-7661-4524-99d3-ec4268c12920</confirmPropertyCode>
    <clientIdentifier>testReserve</clientIdentifier>
    <holder>
        <email>amilyounes@gmail.com</email>
        <firstName>younes</firstName>
        <lastName>amil</lastName>
        <titulation>mr</titulation>
    </holder>
    <reservationInfo>
        <customerRoomInfos>
            <customerComment>no comment</customerComment>
            <firstName>younes</firstName>
            <lastName>amil</lastName>
            <roomCode>208ec2a7-61ed-4ba5-b6a8-77797934853b</roomCode>
            <titulation>Mr</titulation>
        </customerRoomInfos>
    </reservationInfo>
    <billingInfo>
        <email>amilyounes@gmail.com</email>
        <firstName>amil</firstName>
        <homePhone>+212522362514</homePhone>
        <lastName>younes</lastName>
        <paymentMethodType>LIMIT</paymentMethodType>
        <workPhone>+212661202020</workPhone>
    </billingInfo>
    <customerComment>comment</customerComment>
    <timeout>20000</timeout>
</confirmBookingReq>
                        

Response (1Room - 2Adults, 0Children)

<confirmBookingRes>
    <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>
    <noOfNight>1</noOfNight>
    <noOfRooms>2</noOfRooms>
    <currency>MAD</currency>
    <holder>
        <email>amilyounes@gmail.com</email>
        <firstName>younes</firstName>
        <lastName>amil</lastName>
        <titulation>mr</titulation>
    </holder>
    <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>
    <roomDetails>
        <roomDetails>
            <adultCount>2</adultCount>
            <childCount>0</childCount>
            <includedBoard>
                <boardDescription>Breakfast</boardDescription>
                <boardId/>
                <price>0.0</price>
            </includedBoard>
            <roomDescription>RIAD 1 BEDROOM</roomDescription>
            <roomRate>
                <initialPrice>8098.441560000001</initialPrice>
                <initialPricePerNight>8098.0</initialPricePerNight>
                <price>8098.441560000001</price>
                <pricePerNight>8098.0</pricePerNight>
            </roomRate>
        </roomDetails>
        <roomDetails>
            <adultCount>2</adultCount>
            <childCount>0</childCount>
            <firstName>younes</firstName>
            <includedBoard>
                <boardDescription>Breakfast</boardDescription>
                <boardId/>
                <price>0.0</price>
            </includedBoard>
            <lastName>amil</lastName>
            <roomDescription>RIAD 1 BEDROOM</roomDescription>
            <roomRate>
                <initialPrice>8098.441560000001</initialPrice>
                <initialPricePerNight>8098.0</initialPricePerNight>
                <price>8098.441560000001</price>
                <pricePerNight>8098.0</pricePerNight>
            </roomRate>
        </roomDetails>
        <totalRate>16196.883120000002</totalRate>
    </roomDetails>
    <cancelPoliciesInfos>
        <cancelPolicyInfos>
            <amount>0.0</amount>
            <cancelTime>2015-12-13 14:59:59</cancelTime>
            <type>amount</type>
        </cancelPolicyInfos>
        <refundableTag>RFN</refundableTag>
        <cancelPolicyInfos>
            <amount>16196.883120000002</amount>
            <cancelTime>2015-12-16</cancelTime>
            <type>amount</type>
        </cancelPolicyInfos>
    </cancelPoliciesInfos>
    <bookingId>162</bookingId>
    <confirmationNumber>92638672</confirmationNumber>
    <bookingStatus>CONFIRMED</bookingStatus>
</confirmBookingRes>