API Reference: Consulta de Gastos de Cancelación de un Producto - Hotel

De Wiki PriceSurfer
Ir a la navegaciónIr a la búsqueda

Ejemplo de solicitud con un TripProductId informado en la respuesta de la búsqueda

<?xml version="1.0" encoding="UTF-8"?> <CancellationFeesQueryRQ>

 <GeneralParameters>
   <PreferedLanguage LanguageCode="es"/>
   <PreferedCurrency CurrencyCode="ARS"/>
 </GeneralParameters>
 <Products>
   <Hotels>
     <Hotel TripProductID="7b776d90-6fb5-42fe-87d0-910100f21d43" ShowHotelInformation="true"/>
   </Hotels>
 </Products>

</CancellationFeesQueryRQ>


Parámetro Obligatorio Descripción
GeneralParameters Si
PreferedLanguage Si Establece el lenguaje requerido para la respuesta.

Atributos:

LanguageCode: Código de lenguaje correspondiente a los códigos de lenguaje estándar provistos por Nemo.

PreferedCurrency Si Establece la moneda requerida para la respuesta.

Atributos:

- CurrencyCode: Código de moneda correspondiente a los códigos de moneda estándar provistos.

Products Si
Hotels Si
Hotel Si Atributos:

- TripProductId: Identificador del producto

- ShowHotelInformation: Opcional (por defecto: true). ¿Devolver información del Hotel en el resultado? (Amenities, ImageLinks, etc.) Disponible desde el 21/08/2014

<CancellationFeesQueryRS>

 <Details>
   <Products>
     <Hotels>
       <Hotel HotelCode="2392" SupplierID="BOL">
         <Hotel SupplierID="BOL" HotelCode="2392">
           <HotelName>Americas Towers</HotelName>
           <HotelDescriptions>
             <HotelDescription HotelDescriptionType="General">El hotel cuenta con 100 habitaciones espaciosas y lujosas, de las cuales 10 son suites; vestí­bulo con recepción 24 horas, caja fuerte, bar, restaurante, conexión a Internet, sala de conferencias moderna y decorada con paneles de madera y telas; servicio de habitaciones 24 horas, servicio de despertador y servicio de limpieza.</HotelDescription>
             <HotelDescription HotelDescriptionType="General">La piscina del hotel permanece abierta de octubre a marzo.</HotelDescription>
           </HotelDescriptions>
           <LocationDetails ItemsCount="1">
             <Location Sequence="1" LocationCode="G9">Cerca del centro</Location>
           </LocationDetails>
           <Amenities ItemsCount="50">
             <Amenity Fee="No" Sequence="1">
               <AmenityGroup AmenityGroupCode="NMO.HTL.AMT.LOC">Ubicación</AmenityGroup>
               <Description AmenityCode="1">En la carretera principal</Description>
             </Amenity>
             ...
           </Amenities>
           <Addresses>
             <Address>
               <AddressLines>
                 <AddressLine>Libertad 1070</AddressLine>
                 <AddressLine>1012 - BUENOS AIRES</AddressLine>
                 <AddressLine>Buenos Aires</AddressLine>
               </AddressLines>
               <TelephoneNumbers>
                 <TelephoneNumber>
                   <TelephoneNumberType TelephoneNumberType="NMO.GBL.TLT.TE1">phoneHotel</TelephoneNumberType>
                   <TelephoneNumberValue>5411 4129 0700</TelephoneNumberValue>
                 </TelephoneNumber>
                 <TelephoneNumber>
                   <TelephoneNumberType TelephoneNumberType="NMO.GBL.TLT.OFF">phoneBooking</TelephoneNumberType>
                   <TelephoneNumberValue>5411 4129 0700</TelephoneNumberValue>
                 </TelephoneNumber>
               </TelephoneNumbers>
               <PostalCode CountryCode="AR">1012</PostalCode>
               <Destinations>
                 <Destination DestinationType="NMO.HTL.DST.CTY" DestinationCode="5694">Buenos Aires</Destination>
                 <Destination DestinationType="NMO.HTL.DST.CTR" DestinationCode="202">Argentina</Destination>
                 <Destination DestinationType="NMO.HTL.DST.CNT" DestinationCode="15">América del Sur</Destination>
                 <Destination DestinationType="NMO.HTL.DST.ALL" DestinationCode="1">Planeta Tierra</Destination>
               </Destinations>
             </Address>
           </Addresses>
           <Position>
             <Latitude>-34.595992</Latitude>
             <Longitude>-58.384257</Longitude>
           </Position>
           <HotelRating HotelRatingCode="NMO.HTL.RTN.4ST" HotelRatingType="NMO.HTL.RTT.STR">
             <RatingDescription>4 Estrellas</RatingDescription>
             <RatingValue>4.0</RatingValue>
           </HotelRating>
           <ImageLinks ItemsCount="4">
             <ImageLink Sequence="1">
               <ImageDescription ImageDisplayType="NMO.GBL.IMG.IMG">General</ImageDescription>
               <DisplayOrder>1</DisplayOrder>
               <ImageHeight UnitOfMeasureCode="9">52</ImageHeight>
               <ImageWidth UnitOfMeasureCode="9">70</ImageWidth>
               <ImageURL>1/6/169FECAA517308C6D670861605F22743.jpg</ImageURL>
               <ThumbnailURL>9/8/98AE7381AF851A3631486502673653F2.jpg</ThumbnailURL>
             </ImageLink>
             <ImageLink Sequence="2">
               <ImageDescription ImageDisplayType="NMO.GBL.IMG.IMG">Habitación</ImageDescription>
               <DisplayOrder>2</DisplayOrder>
               <ImageHeight UnitOfMeasureCode="9">51</ImageHeight>
               <ImageWidth UnitOfMeasureCode="9">70</ImageWidth>
               <ImageURL>6/0/60E1951BFA1D41836BCF1E8187675214.jpg</ImageURL>
               <ThumbnailURL>5/0/5054FD9BAA428B52E49AD64DA800F23B.jpg</ThumbnailURL>
             </ImageLink>
             <ImageLink Sequence="3">
               <ImageDescription ImageDisplayType="NMO.GBL.IMG.IMG">Piscina</ImageDescription>
               <DisplayOrder>3</DisplayOrder>
               <ImageHeight UnitOfMeasureCode="9">50</ImageHeight>
               <ImageWidth UnitOfMeasureCode="9">70</ImageWidth>
               <ImageURL>6/D/6DE26A3917736F13E0FD5E78DD5C9723.jpg</ImageURL>
               <ThumbnailURL>C/A/CACCD17D7DC58DAB61148E5BD9451D99.jpg</ThumbnailURL>
             </ImageLink>
             <ImageLink Sequence="4">
               <ImageDescription ImageDisplayType="NMO.GBL.IMG.IMG">Vestí­bulo</ImageDescription>
               <DisplayOrder>4</DisplayOrder>
               <ImageHeight UnitOfMeasureCode="9">46</ImageHeight>
               <ImageWidth UnitOfMeasureCode="9">70</ImageWidth>
               <ImageURL>1/3/136806D8E0E937AB37CF6644424DA587.jpg</ImageURL>
               <ThumbnailURL>5/1/51927647FC24A445C17A1B5CF47EF5BC.jpg</ThumbnailURL>
             </ImageLink>
           </ImageLinks>
           <HotelContracts ItemsCount="1">
             <HotelContract>
               <ContractName>CGW-TODOS</ContractName>
               <IncomingOffice>
                 <IncomingOfficeCode>249</IncomingOfficeCode>
               </IncomingOffice>
             </HotelContract>
           </HotelContracts>
         </Hotel>
         <DestinationDetails>
           <Destination DestinationType="NMO.HTL.DST.CTY" DestinationCode="5694">Buenos Aires</Destination>
           <Destination DestinationType="NMO.HTL.DST.CTR" DestinationCode="202">Argentina</Destination>
           <Destination DestinationType="NMO.HTL.DST.CNT" DestinationCode="15">América del Sur</Destination>
           <Destination DestinationType="NMO.HTL.DST.ALL" DestinationCode="1">Planeta Tierra</Destination>
         </DestinationDetails>
         <CheckIn>2014-08-18</CheckIn>
         <CheckOut>2014-08-20</CheckOut>
         <Rate TripProductID="7b776d90-6fb5-42fe-87d0-910100f21d43">
           <Rooms>
             <Room>
               <RoomDescription RoomType="NMO.HTL.RMT.SGL">INDIVIDUAL STANDARD</RoomDescription>
               <Occupancy>
                 <AdultsCount>1</AdultsCount>
                 <ChildrenCount>0</ChildrenCount>
                 <InfantCount>0</InfantCount>
                 <RoomsCount>1</RoomsCount>
                 <Passengers>
                   <Passenger AgeType="NMO.GBL.AGT.ADT"/>
                 </Passengers>
               </Occupancy>
               <Availability AvailabilityCode="NMO.HTL.AVB.CNF">Confirmación inmediata</Availability>
             </Room>
           </Rooms>
           <Board Code="3">ALOJAMIENTO Y DESAYUNO</Board>
           <RatePrices>
             <RatePrice Currency="ARS" Type="NMO.HTL.RPT.NET">1082.651622002821</RatePrice>
             <RatePrice Currency="ARS" Type="NMO.GBL.RPT.GRS">1082.651622002821</RatePrice>
           </RatePrices>
           <ChargeConditions>
             <ChargeCondition Sequence="1">
               <ChargeDescription ChargeType="NMO.HTL.CHT.CAN">Gastos de cancelación</ChargeDescription>
               <DateRangeWithDateType>
                 <DateFrom>2014-08-15T00:00:00.000Z</DateFrom>
                 <DateTo>2014-08-18T00:00:00.000Z</DateTo>
               </DateRangeWithDateType>
               <RatePrices>
                 <RatePrice Currency="ARS" Type="NMO.HTL.RPT.NET">541.3258110014104</RatePrice>
                 <RatePrice Currency="ARS" Type="NMO.GBL.RPT.GRS">541.3258110014104</RatePrice>
               </RatePrices>
             </ChargeCondition>
           </ChargeConditions>
           <Deadline>
             <Date>2014-08-12T00:00:00.000Z</Date>
           </Deadline>
           <SupplierComments>

<Comment Sequence="1">From: 2014-05-15 To: 2016-04-30 Rollaway: $35.00 additional per night. Crib: No additional charge.</Comment> <Comment Sequence="2">From: 2010-03-15 To: 2016-04-30 Valet Parking is available at a rate of $30 daily</Comment>

           </SupplierComments>
         </Rate>
       </Hotel>
     </Hotels>
   </Products>
 </Details>

</CancellationFeesQueryRS>

Parámetro Obligatorio Descripción
Details
Products Productos
Hotels Productos tipo Hoteles
Hotel Detalle del nodo Hotel