Sample Requests / Responses

Request

<getBookingDetailsReq>
    <login>
        <language>fr_FR</language>
        <password>******</password>
        <userName>******</userName>
    </login>
    <bookingId>162</bookingId>
    <timeout>20000</timeout>
</getBookingDetailsReq>
                        

Response

<getBookingDetailsRes>
    <responseStatus>
        <statusCode>1000</statusCode>
        <statusMessage>success</statusMessage>
    </responseStatus>
    <bookingId>162</bookingId>
    <checkIn>2015-12-16</checkIn>
    <checkOut>2015-12-17</checkOut>
    <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>
    <holderFirstName>younes</holderFirstName>
    <holderLastName>amil</holderLastName>
    <holderTitulation>mr</holderTitulation>
    <holderEmail>amilyounes@gmail.com</holderEmail>
    <hotelRemarks/>
    <price>16196.883120000002</price>
    <paymentType>LIMIT</paymentType>
    <reservationStatus>CONFIRMED</reservationStatus>
    <confirmationNumber>92638672</confirmationNumber>
    <bookedRooms>
        <bookedRooms>
            <adultCount>2</adultCount>
            <board>Breakfast</board>
            <childCount>0</childCount>
            <firstName>younes</firstName>
            <lastName>amil</lastName>
            <roomDescription>RIAD 1 BEDROOM</roomDescription>
            <titulation>Mr</titulation>
        </bookedRooms>
        <bookedRooms>
            <adultCount>2</adultCount>
            <board>Breakfast</board>
            <childCount>0</childCount>
            <roomDescription>RIAD 1 BEDROOM</roomDescription>
        </bookedRooms>
    </bookedRooms>
    <cancelPoliciesInfos>
        <cancelPolicyInfos>
            <amount>0.0</amount>
            <cancelTime>2015-12-13 00:00:00.0</cancelTime>
            <type>amount</type>
        </cancelPolicyInfos>
        <cancelPolicyInfos>
            <amount>16196.883120000002</amount>
            <cancelTime>2015-12-16 00:00:00.0</cancelTime>
            <type>amount</type>
        </cancelPolicyInfos>
        <refundableTag>RFN</refundableTag>
    </cancelPoliciesInfos>
</getBookingDetailsRes>