Sample Requests / Responses

Request (1Room - 2Adults, 0Children)

                            
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws_2013.services.cangooroo.net/" xmlns:ws1="WS_2013.ClientCredential" xmlns:ws2="WS_2013.Hotel">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:getCancellationPolicies>
         <!--Optional:-->
         <ws:credential>
            <!--Optional:-->
            <ws1:UserName>*****</ws1:UserName>
             <!--Optional:-->
            <ws1:Password>*****</ws1:Password>
         </ws:credential>
          <!--Optional:-->
         <ws:requestCancellationPolicies>
            <!--Optional:-->
            <ws2:Token>44bae24d-6b8c-43a2-8867-c9f98bb75fc4</ws2:Token>
            <ws2:HotelId>42149</ws2:HotelId>
             <!--Optional:-->
            <ws2:RoomsIds>
               <!--Zero or more repetitions:-->
               <ws2:string>bdb3bc05107b622c0ff52db3156d0fbf</ws2:string>
            </ws2:RoomsIds>
         </ws:requestCancellationPolicies>
      </ws:getCancellationPolicies>
   </soapenv:Body>
</soapenv:Envelope>
                        
                        

Response (1Room - 2Adults, 0Children)

                            
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <getCancellationPoliciesResponse xmlns="http://ws_2013.services.cangooroo.net/">
         <getCancellationPoliciesResult>
            <Token xmlns="WS_2013.Hotel">44bae24d-6b8c-43a2-8867-c9f98bb75fc4</Token>
            <SelectedHotel xmlns="WS_2013.Hotel">
               <Promotions>
                  <Promotions/>
               </Promotions>
               <CheckInDate>2017-09-16T00:00:00</CheckInDate>
               <NumberOfNights>2</NumberOfNights>
               <HotelId>42149</HotelId>
               <Recommended>false</Recommended>
               <HotelInfo>
                  <CityId>1005399</CityId>
                  <HotelName>Porta de Gallecs</HotelName>
                  <Address>CALLE GALLECS,68  , 08100, MOLLET DEL VALLÉS</Address>
                  <HotelCategory xsi:nil="true"/>
                  <HotelId>42149</HotelId>
                  <CityName>Barcelona (and vicinity), Spain</CityName>
                  <LastUpdate xsi:nil="true"/>
               </HotelInfo>
               <NewGroups/>
               <LocationNames/>
               <RecomendationsOrder xsi:nil="true"/>
               <Rooms xmlns="Cangooroo.WS_2013.Hotel">
                  <RoomResultCancellationPolicies_g>
                     <Promotion xmlns="WS_2013.Hotel">
                        <Promotions/>
                     </Promotion>
                     <QtyAdults xmlns="WS_2013.Hotel">2</QtyAdults>
                     <AgeOfTheChildren xmlns="WS_2013.Hotel"/>
                     <RoomId xmlns="WS_2013.Hotel">bdb3bc05107b622c0ff52db3156d0fbf</RoomId>
                     <HotelId xmlns="WS_2013.Hotel">42149</HotelId>
                     <SellPricePerRoom xmlns="WS_2013.Hotel">
                        <Currency xmlns="WS_2013">EUR</Currency>
                        <Value xmlns="WS_2013">90.7159793814433</Value>
                     </SellPricePerRoom>
                     <SellPriceTotal xmlns="WS_2013.Hotel">
                        <Currency xmlns="WS_2013">EUR</Currency>
                        <Value xmlns="WS_2013">91</Value>
                     </SellPriceTotal>
                     <BoardDescription xmlns="WS_2013.Hotel">ROOM ONLY</BoardDescription>
                     <RoomDescription xmlns="WS_2013.Hotel">DOUBLE STANDARD-br1x DOUBLE Estimated total amount of taxes  fees for this booking 2.00 Euro   payable on arrival  . Identification card at arrival. car park+ swimming pool + wifi FREE</RoomDescription>
                     <Available xmlns="WS_2013.Hotel">true</Available>
                     <HotelCategory xmlns="WS_2013.Hotel">3 Star</HotelCategory>
                     <SpecialOffer xmlns="WS_2013.Hotel">true</SpecialOffer>
                     <Quantity xmlns="WS_2013.Hotel">1</Quantity>
                     <BreakdownSales xmlns="WS_2013.Hotel">
                        <Breakdown>
                           <Price>
                              <Currency xmlns="WS_2013">EUR</Currency>
                              <Value xmlns="WS_2013">43.9381443298969</Value>
                           </Price>
                           <DateBreakdown>2017-09-16T00:00:00-03:00</DateBreakdown>
                        </Breakdown>
                        <Breakdown>
                           <Price>
                              <Currency xmlns="WS_2013">EUR</Currency>
                              <Value xmlns="WS_2013">43.9381443298969</Value>
                           </Price>
                           <DateBreakdown>2017-09-17T00:00:00-03:00</DateBreakdown>
                        </Breakdown>
                     </BreakdownSales>
                     <Commission xmlns="WS_2013.Hotel">
                        <Currency xmlns="WS_2013">EUR</Currency>
                        <Value xmlns="WS_2013">0</Value>
                     </Commission>
                     <CommissionPercent xmlns="WS_2013.Hotel">0</CommissionPercent>
                     <Amenities xmlns="WS_2013.Hotel"/>
                     <RoomPictures xmlns="WS_2013.Hotel"/>
                     <TaxesIncluded xmlns="WS_2013.Hotel">true</TaxesIncluded>
                     <Remarks xmlns="WS_2013.Hotel"/>
                     <TermsAndConditions xmlns="WS_2013.Hotel">Free parking Special offer</TermsAndConditions>
                     <RecommendedRoom xmlns="WS_2013.Hotel">false</RecommendedRoom>
                     <DynamicInventory xmlns="WS_2013.Hotel">false</DynamicInventory>
                     <OperatorCancellationPolicies xmlns="WS_2013.Hotel">
                        <CancellationPolicy>
                           <StartDate xmlns="WS_2013.Common">2017-09-13T00:00:00-03:00</StartDate>
                           <EndDate xmlns="WS_2013.Common">2017-09-16T00:00:00</EndDate>
                           <Price xmlns="WS_2013.Common">
                              <Currency xmlns="WS_2013">EUR</Currency>
                              <Value xmlns="WS_2013">46.79</Value>
                           </Price>
                        </CancellationPolicy>
                     </OperatorCancellationPolicies>
                     <HotelDirectPayment xmlns="WS_2013.Hotel">false</HotelDirectPayment>
                     <BreakfastIncluded xmlns="WS_2013.Hotel">false</BreakfastIncluded>
                     <IsNonRefundable xmlns="WS_2013.Hotel">false</IsNonRefundable>
                     <PackageRate xmlns="WS_2013.Hotel">false</PackageRate>
                     <Comission xmlns="WS_2013.Hotel">
                        <Currency xmlns="WS_2013">EUR</Currency>
                        <Value xmlns="WS_2013">0</Value>
                     </Comission>
                     <ComissionPercent xmlns="WS_2013.Hotel">0</ComissionPercent>
                     <InvoiceItens xmlns="WS_2013.Hotel"/>
                     <PrePayment xmlns="WS_2013.Hotel">false</PrePayment>
                     <Taxes xmlns="WS_2013.Hotel">
                        <RoomTax_a>
                           <Price>
                              <Currency xmlns="WS_2013">EUR</Currency>
                              <Value xmlns="WS_2013">0</Value>
                           </Price>
                           <Description>Booking Fee - Integração - USD</Description>
                        </RoomTax_a>
                     </Taxes>
                     <TotalTax xmlns="WS_2013.Hotel">
                        <Value xmlns="WS_2013">0</Value>
                     </TotalTax>
                     <HomeType xmlns="WS_2013.Hotel">Not_Defined</HomeType>
                     <OldSellPriceTotal xmlns="Cangooroo.Webservice.V2.Hotel">
                        <Currency xmlns="WS_2013">EUR</Currency>
                        <Value xmlns="WS_2013">91</Value>
                     </OldSellPriceTotal>
                     <NewPriceIsGreaterThanOldPrice xmlns="Cangooroo.Webservice.V2.Hotel">false</NewPriceIsGreaterThanOldPrice>
                     <Bookable xmlns="Cangooroo.Webservice.V2.Hotel">true</Bookable>
                     <GuaranteeType xmlns="Cangooroo.Webservice.V2.Hotel">NOT_NECESSARY</GuaranteeType>
                  </RoomResultCancellationPolicies_g>
               </Rooms>
            </SelectedHotel>
            <StatusCancellationPolicy xmlns="WS_2013.Hotel">AllRoomsFound</StatusCancellationPolicy>
         </getCancellationPoliciesResult>
      </getCancellationPoliciesResponse>
   </soap:Body>
</soap:Envelope>