IP Connect Docs

IP Connect Docs

  • Primeros Pasos

›Docusaurus

Docusaurus

  • Buenas practicas
  • Confirmación y reservación
  • Disponibilidad y restricciones
  • Descarga de reservas
  • Primeros Pasos
  • Rates
  • Reserva Unica
  • Test enviroment

Descarga de reservas

Descarga de reservas

  • Ejemplo de: 1 habitación, 2 adultos, 3 días.



<HotelReservation CreateDateTime="2019-05-06T12:45:00" LastModifyDateTime="2019-05-06T12:45:00" ResStatus="Modify">
    <POS>
        <Source>
            <RequestorID Type="22" ID="" />
            <BookingChannel Type="7" Primary="true">
                <CompanyName Code="WebSite">WebSite</CompanyName>
            </BookingChannel>
        </Source>
    </POS>
    <UniqueID Type="14" ID="1405499" />
    <UniqueID Type="16" ID="1405499" ID_Context="MESSAGE_UNIQUE_ID" />
    <RoomStays>
        <RoomStay MarketCode="R">
            <RoomTypes>
                <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
            </RoomTypes>
            <RatePlans>
                <RatePlan RatePlanCode="RAC" EffectiveDate="2019-05-15" ExpireDate="2019-05-18" RatePlanName="Tarifa Estandar" />
            </RatePlans>
            <RoomRates>
                <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
                    <Rates>
                        <Rate EffectiveDate="2019-05-15" ExpireDate="2019-05-16" RateTimeUnit="Day" UnitMultiplier="1">
                            <Base AmountBeforeTax="1092.44" AmountAfterTax="1300.00" CurrencyCode="MXN" />
                            <Total AmountBeforeTax="1092.44" AmountAfterTax="1300.00" CurrencyCode="MXN" />
                        </Rate>
                        <Rate EffectiveDate="2019-05-16" ExpireDate="2019-05-17" RateTimeUnit="Day" UnitMultiplier="1">
                            <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                        </Rate>
                        <Rate EffectiveDate="2019-05-17" ExpireDate="2019-05-18" RateTimeUnit="Day" UnitMultiplier="1">
                            <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                        </Rate>
                    </Rates>
                </RoomRate>
            </RoomRates>
            <GuestCounts>
                <GuestCount AgeQualifyingCode="10" Count="2" />
            </GuestCounts>
            <TimeSpan Start="2019-05-15" End="2019-05-18" />
            <Total AmountBeforeTax="2773.12" AmountAfterTax="3300.00" CurrencyCode="MXN">
                <Taxes Amount="526.88" />
            </Total>
            <BasicPropertyInfo HotelCode="6538" />
            <Comments>
                <Comment Name="Comments">
                    <Text>Petición de prueba</Text>
                </Comment>
            </Comments>
        </RoomStay>
    </RoomStays>
    <ResGuests>
        <ResGuest PrimaryIndicator="true">
            <Profiles>
                <ProfileInfo>
                    <Profile ProfileType="1">
                        <Customer>
                            <PersonName>
                                <GivenName>Prueba</GivenName>
                                <Surname>Test</Surname>
                            </PersonName>
                            <Telephone PhoneNumber="6121234567" />
                            <Email>test@mail.com</Email>
                            <Address>
                                <AddressLine />
                                <CityName />
                                <PostalCode />
                                <StateProv />
                                <CountryName>MX</CountryName>
                            </Address>
                        </Customer>
                    </Profile>
                </ProfileInfo>
            </Profiles>
        </ResGuest>
    </ResGuests>
    <ResGlobalInfo>
        <Comments>
            <Comment Name="Comments">
                <Text>Petición de prueba</Text>
            </Comment>
        </Comments>
        <Total AmountBeforeTax="2773.11" AmountAfterTax="3300.00" CurrencyCode="MXN">
            <Taxes Amount="526.89" />
        </Total>
        <HotelReservationIDs>
            <HotelReservationID ResID_Type="14" ResID_Value="1405499" />
        </HotelReservationIDs>
    </ResGlobalInfo>
</HotelReservation>



  • Ejemplo de: 1 habitación, 2 adultos, 4 días.



<HotelReservation CreateDateTime="2019-05-06T12:26:00" LastModifyDateTime="2019-05-06T13:12:00" ResStatus="Cancel">
    <POS>
        <Source>
            <RequestorID Type="22" ID="" />
            <BookingChannel Type="7" Primary="true">
                <CompanyName Code="WebSite">WebSite</CompanyName>
            </BookingChannel>
        </Source>
    </POS>
    <UniqueID Type="14" ID="1405479" />
    <UniqueID Type="16" ID="1405479" ID_Context="MESSAGE_UNIQUE_ID" />
    <RoomStays>
        <RoomStay MarketCode="R">
            <RoomTypes>
                <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
            </RoomTypes>
            <RatePlans>
                <RatePlan RatePlanCode="RAC" EffectiveDate="2019-06-11" ExpireDate="2019-06-14" RatePlanName="Tarifa Estandar" />
            </RatePlans>
            <RoomRates>
                <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
                    <Rates>
                        <Rate EffectiveDate="2019-06-11" ExpireDate="2019-06-12" RateTimeUnit="Day" UnitMultiplier="1">
                            <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                        </Rate>
                        <Rate EffectiveDate="2019-06-12" ExpireDate="2019-06-13" RateTimeUnit="Day" UnitMultiplier="1">
                            <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                        </Rate>
                        <Rate EffectiveDate="2019-06-13" ExpireDate="2019-06-14" RateTimeUnit="Day" UnitMultiplier="1">
                            <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                        </Rate>
                    </Rates>
                </RoomRate>
            </RoomRates>
            <GuestCounts>
                <GuestCount AgeQualifyingCode="10" Count="2" />
            </GuestCounts>
            <TimeSpan Start="2019-06-11" End="2019-06-14" />
            <Total AmountBeforeTax="2521.02" AmountAfterTax="3000.00" CurrencyCode="MXN">
                <Taxes Amount="478.98" />
            </Total>
            <BasicPropertyInfo HotelCode="6538" />
            <Comments>
                <Comment Name="Comments">
                    <Text>Comentario de prueba</Text>
                </Comment>
            </Comments>
        </RoomStay>
            <RoomStay MarketCode="R">
                <RoomTypes>
                    <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
                </RoomTypes>
                <RatePlans>
                    <RatePlan RatePlanCode="RAC" EffectiveDate="2019-06-11" ExpireDate="2019-06-14" RatePlanName="Tarifa Estandar" />
                </RatePlans>
                <RoomRates>
                    <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
                        <Rates>
                            <Rate EffectiveDate="2019-06-11" ExpireDate="2019-06-12" RateTimeUnit="Day" UnitMultiplier="1">
                                <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                                <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            </Rate>
                            <Rate EffectiveDate="2019-06-12" ExpireDate="2019-06-13" RateTimeUnit="Day" UnitMultiplier="1">
                                <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                                <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            </Rate>
                            <Rate EffectiveDate="2019-06-13" ExpireDate="2019-06-14" RateTimeUnit="Day" UnitMultiplier="1">
                                <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                                <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                            </Rate>
                        </Rates>
                    </RoomRate>
                </RoomRates>
                <GuestCounts>
                    <GuestCount AgeQualifyingCode="10" Count="2" />
                </GuestCounts>
                <TimeSpan Start="2019-06-11" End="2019-06-14" />
                <Total AmountBeforeTax="2521.02" AmountAfterTax="3000.00" CurrencyCode="MXN">
                    <Taxes Amount="478.98" />
                </Total>
                <BasicPropertyInfo HotelCode="6538" />
                <Comments>
                    <Comment Name="Comments">
                        <Text>Comentario de prueba</Text>
                    </Comment>
                </Comments>
            </RoomStay>
        </RoomStays>
        <ResGuests>
            <ResGuest PrimaryIndicator="true">
                <Profiles>
                    <ProfileInfo>
                        <Profile ProfileType="1">
                            <Customer>
                                <PersonName>
                                    <GivenName>Usuario de prueba</GivenName>
                                    <Surname>Test</Surname>
                                </PersonName>
                                <Telephone PhoneNumber="6121234567" />
                                <Email>test@mail.com</Email>
                                <Address>
                                    <AddressLine />
                                    <CityName />
                                    <PostalCode />
                                    <StateProv />
                                    <CountryName>MX</CountryName>
                                </Address>
                            </Customer>
                        </Profile>
                    </ProfileInfo>
                </Profiles>
            </ResGuest>
        </ResGuests>
        <ResGlobalInfo>
            <Comments>
                <Comment Name="Comments">
                    <Text>Comentario de prueba</Text>
                </Comment>
            </Comments>
            <Total AmountBeforeTax="5042.02" AmountAfterTax="6000.00" CurrencyCode="MXN">
                <Taxes Amount="957.98" />
            </Total>
            <HotelReservationIDs>
                <HotelReservationID ResID_Type="14" ResID_Value="1405479" />
            </HotelReservationIDs>
        </ResGlobalInfo>
</HotelReservation>

Leyenda O = Opcional

O Número Elemento /@Atributo Tipo de dato Descripción
HotelReservation Nodo raíz Uno por cada reserva confirmada.
0:1 @CreateDateTime String La hora en que se creó la reserva en el PMS. Obligatorio si ResStatus es "Book".
0:1 @LastModifyDateTime String La hora en que se actualizó la reserva en el PMS. Obligatorio si ResStatus es Modificar o Cancelar.
0:1 @ResStatus String Los valores permitidos son "Book", "Modify" o "Cancel".
POS Nodo Información de origen de la petición.
Source Nodo Contenedor de fuente.
RequestorID Nodo Datos de origen.
@Type Integer Tipo de solicitud.
@ID String Identificador de origen para petición.
BookingChannel Nodo Contiene información referente a los canales de reservación.
@Primary Bool Indicador para Canales primarios.
@Type Integer Id de canal.
CompanyName Nodo Contenedor para datos de compañía.
@Code String Código de website.
UniqueID Nodo Contenedor de identificadores.
@ID String Identificador UniqueId.
@Type Integer Tipo UniqueId.
@ID String Identificador UniqueId.
@ID_Context String Mensaje de UniqueId.
RoomStays / RoomStay Nodo Contienen información de estancia.
@MarketCode String Código de referencia.
1:n RoomTypes /RoomType Nodo Contienen formación referente a los tipos de habitación.
@RoomType String Nombre de la habitación.
@RoomTypeCode String Código de la habitación.
RatePlans /RatePlan Nodo Contenedores para información de planes tarifarios.
@EffectiveDate String Fecha de inicio para tarifa.
@ExpireDate String Fecha de expiración de tarifa.
@RatePlanCode String Código de plan tarifa.
@RatePlanName String Nombre del plan de tarifa.
RoomRates / RoomRate Nodo Contienen datos de tarifas por habitación.
@NumberOfUnits Integer Contador.
@RatePlanCode String Código de tarifa.
@RoomTypeCode String Código para tipo de habitación.
Rates / Rate Nodo Contenedores para datos de tarifas
@EffectiveDate String Fecha de inicio para tarifa.
@ExpireDate String Fecha de exploración de tarifa.
@RateTimeUnit String Formato de aplicación.
@UnitMultiplier Integer Multiplicador de aplicación.
Base Nodo Contiene montos de la estadía con o sin impuesto.
@AmountAfterTax Double Tarifa sin impuestos.
@AmountBeforeTax Double Tarifa con impuestos.
@CurrencyCode String Moneda.
1:n Total Nodo Total a pagar.
@AmountAfterTax Double Tarifa sin impuestos.
@AmountBeforeTax Double Tarifa con impuestos.
@CurrencyCode String Moneda.
1:n GuestCounts /GuestCount Nodo Detalles del conteo para huéspedes.
@AgeQualifyingCode Integer Código de huéspedes. 8: niños 10: adultos.
@Count Integer Conteo de huéspedes.
TimeSpan Nodo Contiene datos del tiempo de aplicación.
@End String Fecha de terminación.
@Start String Fecha de Inicio.
1:n Total Nodo Total a pagar.
@AmountAfterTax Double Tarifa sin impuestos.
@AmountBeforeTax Double Tarifa con impuestos.
@CurrencyCode String Moneda.
Taxes Nodo Contiene datos de impuestos.
@Amount Double Total de Impuestos.
BasicPropertyInfo Nodo Información básica de la propiedad.
@HotelCode Integer Código de hotel.
Comments /Comment Nodo Información de comentarios.
@Name String Nombre del huésped.
Text
ResGuests /ResGuest Nodo Contiene datos sobre huéspedes.
@PrimaryIndicator Bool Indicador para huésped primario.
Profiles Nodo Información de perfiles.
ProfileInfo Nodo Información de perfiles.
Profile Nodo Información de perfiles.
@ProfileType Integer Identificador para el tipo de perfil de usuario.
Customer Nodo Datos del cliente.
PersonName Nodo Nombre del cliente.
GivenName Nodo Nombre del huésped.
Surname Nodo Apellido del huésped.
Telephone Nodo Teléfono.
@PhoneNumber String Numero de teléfono.
Email Nodo Correo.
Address Nodo Dirección.
AddressLine
CityName Nombre de la ciudad.
PostalCode Código postal.
StateProv
CountryName Nombre del país.
ResGlobalInfo Nodo Información global.
Comments /Comment Nodo Datos de comentarios.
@Name String Nombre del origen para el comentario
1:n Total Nodo Total a pagar.
@AmountAfterTax Double Tarifa sin impuestos.
@AmountBeforeTax Double Tarifa con impuestos.
@CurrencyCode String Moneda.
Taxes Nodo Contiene datos de impuestos.
@Amount Double Total de Impuestos.
HotelReservationIDs /HotelReservationID Nodo Identificadores de reservación.
@ResID_Type Integer Identificador para tipo de reserva.
@ResID_Value String Identificador de reservación.

Respuesta básica.

  • Ejemplo de: 1 habitación, 2 adultos, 1 días.



<OTA_ResRetrieveRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" EchoToken="ab243571-c1ed-4cd7-9474-9993a7974f8b" Version="0">
    <ReservationsList xmlns="http://www.opentravel.org/OTA/2003/05">
        <HotelReservation CreateDateTime="2019-05-06T12:22:00" ResStatus="Book">
            <POS>
                <Source>
                    <RequestorID Type="22" ID="" />
                    <BookingChannel Type="7" Primary="true">
                        <CompanyName Code="WebSite">WebSite</CompanyName>
                    </BookingChannel>
                </Source>
            </POS>
            <UniqueID Type="14" ID="1405475" />
            <UniqueID Type="16" ID="1405475" ID_Context="MESSAGE_UNIQUE_ID" />
            <RoomStays>
                <RoomStay MarketCode="R">
                    <RoomTypes>
                        <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
                    </RoomTypes>
                    <RatePlans>
                        <RatePlan RatePlanCode="RAC" EffectiveDate="2019-07-09" ExpireDate="2019-07-10" RatePlanName="Tarifa Estandar" />
                    </RatePlans>
                    <RoomRates>
                        <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
                            <Rates>
                                <Rate EffectiveDate="2019-07-09" ExpireDate="2019-07-10" RateTimeUnit="Day" UnitMultiplier="1">
                                    <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                                    <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
                                </Rate>
                            </Rates>
                        </RoomRate>
                    </RoomRates>
                    <GuestCounts>
                        <GuestCount AgeQualifyingCode="10" Count="2" />
                    </GuestCounts>
                    <TimeSpan Start="2019-07-09" End="2019-07-10" />
                    <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN">
                        <Taxes Amount="159.66" />
                    </Total>
                    <BasicPropertyInfo HotelCode="6538" />
                    <Comments>
                        <Comment Name="Comments">
                            <Text>comentario de prueba</Text>
                        </Comment>
                    </Comments>
                </RoomStay>
            </RoomStays>
            <ResGuests>
                <ResGuest PrimaryIndicator="true">
                    <Profiles>
                        <ProfileInfo>
                            <Profile ProfileType="1">
                                <Customer>
                                    <PersonName>
                                        <GivenName>Usuario</GivenName>
                                        <Surname>Test</Surname>
                                    </PersonName>
                                    <Telephone PhoneNumber="6121234567" />
                                    <Email>test@mail.com</Email>
                                    <Address>
                                        <AddressLine />
                                        <CityName />
                                        <PostalCode />
                                        <StateProv />
                                        <CountryName>MX</CountryName>
                                    </Address>
                                </Customer>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                </ResGuest>
            </ResGuests>
            <ResGlobalInfo>
                <Comments>
                    <Comment Name="Comments">
                        <Text>comentario de prueba</Text>
                    </Comment>
                </Comments>
                <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN">
                    <Taxes Amount="159.66" />
                </Total>
                <HotelReservationIDs>
                    <HotelReservationID ResID_Type="14" ResID_Value="1405475" />
                </HotelReservationIDs>
            </ResGlobalInfo>
    </HotelReservation>
  • Ejemplo de: 1 habitación, 2 adultos, 4 días.



<HotelReservation CreateDateTime="2019-05-06T12:26:00" ResStatus="Book">
  <POS>
    <Source>
      <RequestorID Type="22" ID="" />
      <BookingChannel Type="7" Primary="true">
        <CompanyName Code="WebSite">WebSite</CompanyName>
      </BookingChannel>
    </Source>
  </POS>
  <UniqueID Type="14" ID="1405479" />
  <UniqueID Type="16" ID="1405479" ID_Context="MESSAGE_UNIQUE_ID" />
  <RoomStays>
    <RoomStay MarketCode="R">
      <RoomTypes>
        <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="RAC" EffectiveDate="2019-06-11" ExpireDate="2019-06-14" RatePlanName="Tarifa Estandar" />
      </RatePlans>
      <RoomRates>
        <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
          <Rates>
            <Rate EffectiveDate="2019-06-11" ExpireDate="2019-06-12" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
            <Rate EffectiveDate="2019-06-12" ExpireDate="2019-06-13" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
            <Rate EffectiveDate="2019-06-13" ExpireDate="2019-06-14" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
          </Rates>
        </RoomRate>
      </RoomRates>
      <GuestCounts>
        <GuestCount AgeQualifyingCode="10" Count="2" />
      </GuestCounts>
      <TimeSpan Start="2019-06-11" End="2019-06-14" />
      <Total AmountBeforeTax="2521.02" AmountAfterTax="3000.00" CurrencyCode="MXN">
        <Taxes Amount="478.98" />
      </Total>
      <BasicPropertyInfo HotelCode="6538" />
      <Comments>
        <Comment Name="Comments">
          <Text>Comentario de prueba</Text>
        </Comment>
      </Comments>
    </RoomStay>
    <RoomStay MarketCode="R">
      <RoomTypes>
        <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="RAC" EffectiveDate="2019-06-11" ExpireDate="2019-06-14" RatePlanName="Tarifa Estandar" />
      </RatePlans>
      <RoomRates>
        <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
          <Rates>
            <Rate EffectiveDate="2019-06-11" ExpireDate="2019-06-12" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
            <Rate EffectiveDate="2019-06-12" ExpireDate="2019-06-13" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
            <Rate EffectiveDate="2019-06-13" ExpireDate="2019-06-14" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
          </Rates>
        </RoomRate>
      </RoomRates>
      <GuestCounts>
        <GuestCount AgeQualifyingCode="10" Count="2" />
      </GuestCounts>
      <TimeSpan Start="2019-06-11" End="2019-06-14" />
      <Total AmountBeforeTax="2521.02" AmountAfterTax="3000.00" CurrencyCode="MXN">
        <Taxes Amount="478.98" />
      </Total>
      <BasicPropertyInfo HotelCode="6538" />
      <Comments>
        <Comment Name="Comments">
          <Text>Comentario de prueba</Text>
        </Comment>
      </Comments>
    </RoomStay>
  </RoomStays>
  <ResGuests>
    <ResGuest PrimaryIndicator="true">
      <Profiles>
        <ProfileInfo>
          <Profile ProfileType="1">
            <Customer>
              <PersonName>
                <GivenName>Usuario de prueba</GivenName>
                <Surname>Test</Surname>
              </PersonName>
              <Telephone PhoneNumber="6121234567" />
              <Email>test@mail.com</Email>
              <Address>
                <AddressLine />
                <CityName />
                <PostalCode />
                <StateProv />
                <CountryName>MX</CountryName>
              </Address>
            </Customer>
          </Profile>
        </ProfileInfo>
      </Profiles>
    </ResGuest>
  </ResGuests>
  <ResGlobalInfo>
    <Comments>
      <Comment Name="Comments">
        <Text>Comentario de prueba</Text>
      </Comment>
    </Comments>
    <Total AmountBeforeTax="5042.02" AmountAfterTax="6000.00" CurrencyCode="MXN">
      <Taxes Amount="957.98" />
    </Total>
    <HotelReservationIDs>
      <HotelReservationID ResID_Type="14" ResID_Value="1405479" />
    </HotelReservationIDs>
  </ResGlobalInfo>
</HotelReservation>



  • Ejemplo de: 1 habitación, 2 adultos, 1 niño, 3 días.



<HotelReservation CreateDateTime="2019-05-06T12:28:00" ResStatus="Book">
  <POS>
    <Source>
      <RequestorID Type="22" ID="" />
      <BookingChannel Type="7" Primary="true">
        <CompanyName Code="WebSite">WebSite</CompanyName>
      </BookingChannel>
    </Source>
  </POS>
  <UniqueID Type="14" ID="1405481" />
  <UniqueID Type="16" ID="1405481" ID_Context="MESSAGE_UNIQUE_ID" />
  <RoomStays>
    <RoomStay MarketCode="R">
      <RoomTypes>
        <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="RAC" EffectiveDate="2019-06-25" ExpireDate="2019-06-27" RatePlanName="Tarifa Estandar" />
      </RatePlans>
      <RoomRates>
        <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
          <Rates>
            <Rate EffectiveDate="2019-06-25" ExpireDate="2019-06-26" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
            <Rate EffectiveDate="2019-06-26" ExpireDate="2019-06-27" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
          </Rates>
        </RoomRate>
      </RoomRates>
      <GuestCounts>
        <GuestCount AgeQualifyingCode="10" Count="2" />
        <GuestCount AgeQualifyingCode="8" Count="1" />
      </GuestCounts>
      <TimeSpan Start="2019-06-25" End="2019-06-27" />
      <Total AmountBeforeTax="1680.68" AmountAfterTax="2000.00" CurrencyCode="MXN">
        <Taxes Amount="319.32" />
      </Total>
      <BasicPropertyInfo HotelCode="6538" />
      <Comments>
        <Comment Name="Comments">
          <Text>prueba de comentario</Text>
        </Comment>
      </Comments>
    </RoomStay>
    <RoomStay MarketCode="R">
      <RoomTypes>
        <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="RAC" EffectiveDate="2019-06-25" ExpireDate="2019-06-27" RatePlanName="Tarifa Estandar" />
      </RatePlans>
      <RoomRates>
        <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
          <Rates>
            <Rate EffectiveDate="2019-06-25" ExpireDate="2019-06-26" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
            <Rate EffectiveDate="2019-06-26" ExpireDate="2019-06-27" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
          </Rates>
        </RoomRate>
      </RoomRates>
      <GuestCounts>
        <GuestCount AgeQualifyingCode="10" Count="2" />
      </GuestCounts>
      <TimeSpan Start="2019-06-25" End="2019-06-27" />
      <Total AmountBeforeTax="1680.68" AmountAfterTax="2000.00" CurrencyCode="MXN">
        <Taxes Amount="319.32" />
      </Total>
      <BasicPropertyInfo HotelCode="6538" />
      <Comments>
        <Comment Name="Comments">
          <Text>prueba de comentario</Text>
        </Comment>
      </Comments>
    </RoomStay>
  </RoomStays>
  <ResGuests>
    <ResGuest PrimaryIndicator="true">
      <Profiles>
        <ProfileInfo>
          <Profile ProfileType="1">
            <Customer>
              <PersonName>
                <GivenName>Usuario Prueba</GivenName>
                <Surname>Test</Surname>
              </PersonName>
              <Telephone PhoneNumber="6121234567" />
              <Email>test@mail.com</Email>
              <Address>
                <AddressLine />
                <CityName />
                <PostalCode />
                <StateProv />
                <CountryName>MX</CountryName>
              </Address>
            </Customer>
          </Profile>
        </ProfileInfo>
      </Profiles>
    </ResGuest>
  </ResGuests>
  <ResGlobalInfo>
    <Comments>
      <Comment Name="Comments">
        <Text>prueba de comentario</Text>
      </Comment>
    </Comments>
    <Total AmountBeforeTax="3361.34" AmountAfterTax="4000.00" CurrencyCode="MXN">
      <Taxes Amount="638.66" />
    </Total>
    <HotelReservationIDs>
      <HotelReservationID ResID_Type="14" ResID_Value="1405481" />
    </HotelReservationIDs>
  </ResGlobalInfo>
</HotelReservation>
<HotelReservation CreateDateTime="2019-05-06T12:45:00" ResStatus="Book">
  <POS>
    <Source>
      <RequestorID Type="22" ID="" />
      <BookingChannel Type="7" Primary="true">
        <CompanyName Code="WebSite">WebSite</CompanyName>
      </BookingChannel>
    </Source>
  </POS>
  <UniqueID Type="14" ID="1405499" />
  <UniqueID Type="16" ID="1405499" ID_Context="MESSAGE_UNIQUE_ID" />
  <RoomStays>
    <RoomStay MarketCode="R">
      <RoomTypes>
        <RoomType RoomType="Double Room 2 Queen Beds" RoomTypeCode="D2Q" />
      </RoomTypes>
      <RatePlans>
        <RatePlan RatePlanCode="RAC" EffectiveDate="2019-05-15" ExpireDate="2019-05-17" RatePlanName="Tarifa Estandar" />
      </RatePlans>
      <RoomRates>
        <RoomRate RoomTypeCode="D2Q" NumberOfUnits="1" RatePlanCode="RAC">
          <Rates>
            <Rate EffectiveDate="2019-05-15" ExpireDate="2019-05-16" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="1092.44" AmountAfterTax="1300.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="1092.44" AmountAfterTax="1300.00" CurrencyCode="MXN" />
            </Rate>
            <Rate EffectiveDate="2019-05-16" ExpireDate="2019-05-17" RateTimeUnit="Day" UnitMultiplier="1">
              <Base AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
              <Total AmountBeforeTax="840.34" AmountAfterTax="1000.00" CurrencyCode="MXN" />
            </Rate>
          </Rates>
        </RoomRate>
      </RoomRates>
      <GuestCounts>
        <GuestCount AgeQualifyingCode="10" Count="2" />
      </GuestCounts>
      <TimeSpan Start="2019-05-15" End="2019-05-17" />
      <Total AmountBeforeTax="1932.78" AmountAfterTax="2300.00" CurrencyCode="MXN">
        <Taxes Amount="367.22" />
      </Total>
      <BasicPropertyInfo HotelCode="6538" />
      <Comments>
        <Comment Name="Comments">
          <Text>Petición de prueba</Text>
        </Comment>
      </Comments>
    </RoomStay>
  </RoomStays>
  <ResGuests>
    <ResGuest PrimaryIndicator="true">
      <Profiles>
        <ProfileInfo>
          <Profile ProfileType="1">
            <Customer>
              <PersonName>
                <GivenName>Prueba</GivenName>
                <Surname>Test</Surname>
              </PersonName>
              <Telephone PhoneNumber="6121234567" />
              <Email>test@mail.com</Email>
              <Address>
                <AddressLine />
                <CityName />
                <PostalCode />
                <StateProv />
                <CountryName>MX</CountryName>
              </Address>
            </Customer>
          </Profile>
        </ProfileInfo>
      </Profiles>
    </ResGuest>
  </ResGuests>
  <ResGlobalInfo>
    <Comments>
      <Comment Name="Comments">
        <Text>Petición de prueba</Text>
      </Comment>
    </Comments>
    <Total AmountBeforeTax="1932.77" AmountAfterTax="2300.00" CurrencyCode="MXN">
      <Taxes Amount="367.23" />
    </Total>
    <HotelReservationIDs>
        <HotelReservationID ResID_Type="14" ResID_Value="1405499" />
            </HotelReservationIDs>
        </ResGlobalInfo>
    </HotelReservation>
</ReservationsList>

</OTA_ResRetrieveRS>

Leyenda O = Opcional

O Número Elemento /@Atributo Tipo de dato Descripción
OTA_ResRetrieveRS Nodo raíz
1 @Version Decimal Versión.Actualmente 1.0.
1 @EchoToken String Identificador global único para la solicitud, esta debe ser reflejada como un EchoToken en la respuesta.
ReservationsList Nodo Contenedor de toda la información correspondiente a reservaciónes.
HotelReservation String La hora en que se actualizó la reserva en el PMS. Obligatorio si ResStatus es Modificar o Cancelar.
@CreateDateTime String La hora en que se creó la reserva en el PMS. Obligatorio si ResStatus es "Book".
@ResStatus
POS Nodo Información de origen de la petición.
Source Nodo Contenedor de fuente.
RequestorID Nodo Datos de origen.
@Type Integer Tipo de solicitud.
@ID String Identificador de origen para petición.
BookingChannel Nodo Contiene información referente a los canales de reservación.
@Primary Bool Indicador para Canales primarios.
@Type Integer Id de canal.
CompanyName Nodo Contenedor para datos de compañía.
@Code String Código de website.
UniqueID Nodo Contenedor de identificadores.
@ID String Identificador UniqueId.
@Type Integer Tipo UniqueId.
@ID_Context String Mensaje de UniqueId.
RoomStays Nodo Contienen información de estancia.
@MarketCode String Código de referencia.
1:n RoomTypes /RoomType Nodo Contienen formación referente a los tipos de habitación.
@RoomType String Nombre de la habitación.
@RoomTypeCode String Código de la habitación.
RatePlans /RatePlan Nodo Contenedores para información de planes tarifarios.
@RatePlanCode String Código de plan tarifa.
@EffectiveDate String Fecha de inicio para tarifa.
@ExpireDate String Fecha de expiración de tarifa.
@RatePlanName String Nombre del plan de tarifa.
RoomRates /RoomRate Nodo Contiene datos de tarifas por habitación.
@NumberOfUnits Integer Contador.
@RatePlanCode String Código de tarifa.
@RoomTypeCode String Código para tipo de habitación.
Rates /Rate Nodo Contenedores para datos de tarifas
@EffectiveDate String Fecha de inicio para tarifa.
@ExpireDate String Fecha de exploración de tarifa.
@RateTimeUnit String Formato de aplicación.
@UnitMultiplier Integer Multiplicador de aplicación.
Base Nodo Contiene montos de la estadía con o sin impuesto.
@AmountAfterTax Double Tarifa sin impuestos.
@AmountBeforeTax Double Tarifa con impuestos.
@CurrencyCode String Moneda.
1:n Total Nodo Total a pagar.
@AmountAfterTax Double Tarifa sin impuestos.
@AmountBeforeTax Double Tarifa con impuestos.
@CurrencyCode String Moneda.
1:n GuestCounts /GuestCount Nodo Detalles del conteo para huéspedes.
@AgeQualifyingCode Integer Código de huéspedes. 8: niños 10: adultos.
@Count Integer Conteo de huéspedes.
TimeSpan Nodo Contiene datos del tiempo de aplicación.
@End String Fecha de terminación.
@Start String Fecha de Inicio.
Taxes Nodo Contiene datos de impuestos.
@Amount Double Total de Impuestos.
BasicPropertyInfo Nodo Información básica de la propiedad.
@HotelCode Integer Código de hotel.
Comments /Comment Nodo Información de comentarios.
@Name String Nombre del huésped.
Text
ResGuests /ResGuest Nodo Contiene datos sobre huéspedes.
@PrimaryIndicator Bool Indicador para huésped primario.
Profiles Nodo Información de perfiles.
ProfileInfo Nodo Información de perfiles.
Profile Nodo Información de perfiles.
@ProfileType Integer Identificador para el tipo de perfil de usuario.
Customer Nodo Datos del cliente.
PersonName Nodo Nombre del cliente.
GivenName Nodo Nombre del huésped.
Surname Nodo Apellido del huésped.
Telephone Nodo Teléfono.
@PhoneNumber String Numero de teléfono.
Email Nodo Correo.
Address Nodo Dirección.
HotelReservationID Nodo Contenedor para el identificador de reserva de PMS.
1 @ResID_Type Integer Valor de '14' que se refiere a 'Reserva' en la tabla de códigos Tipo de Id. Único (UIT) de OTA.
1 @ResID_Value String Identificador de la reserva creada por el PMS.

Actualización de Inventario

La actualización de inventario sólo afecta a la habitación, no es necesario enviar código de plan tarifario.

<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:Header>
        <Security xmlns="http://tempuri.org/">
            <UsernameToken xmlns="">
                <Username>testUser</Username>
                    <Password>t35t!2017</Password>
                </UsernameToken>
        </Security>
    </soap:Header>
    <soap:Body>
        <OTA_HotelAvailNotifRQ Version="0" xmlns="http://tempuri.org/">
            <POS xmlns="http://www.opentravel.org/OTA/2003/05">
                <Source>
                    <RequestorID Type="22" ID="PMS1" />
                </Source>
            </POS>
            <AvailStatusMessages HotelCode="618" xmlns="http://www.opentravel.org/OTA/2003/05">
                <AvailStatusMessage BookingLimit="10">
                    <StatusApplicationControl Start="20181001" End="20181010" InvTypeCode="D2Q" />
               </AvailStatusMessage>
           </AvailStatusMessages>
        </OTA_HotelAvailNotifRQ>
   </soap:Body>
</soap:Envelope>

Leyenda O = Opcional

O Número Elemento /@Atributo Tipo de dato Descripción
1 OTA_HotelAvailNotifRQ Nodo raíz
1 @Version Decimal Versión.Actualmente 1.0.
POS Nodo Información de origen de la petición.
Source Nodo Contenedor de fuente.
RequestorID Nodo Datos de origen.
@Type Integer Tipo de solicitud.
@ID String Identificador de origen para petición.
AvailStatusMessages Nodo Contiene los mensajes de disponibilidad.
@HotelCode String Código de la propiedad a la que se actualiza la disponibilidad.
AvailStatusMessage Nodo Contiene los mensajes de disponibilidad. Puede haber varios de estos nodos por solicitud.
@BookingLimit Integer Establece el numero de habitaciones disponibles para venta.
StatusApplicationControl Nodo Contiene la información para identificación de fecha y habitación.
@Start Date Fecha de inicio para disponibilidad. Esta es inclusiva.
@End Date Fecha de cierre para disponibilidad. Esta es inclusiva.
@InvTypeCode String Identifica la habitación. InvTypeCode a usar en conjunto con RatePlanCode para identificar la habitación a actualizar.

Cierre de Hotel

Por el momento solo está disponible el cierre completo del hotel. No es necesario enviar código de habitación o plan tarifario. En caso de enviar una actualización de inventario y un cierre de hotel en la misma petición, sólo se efectuará la actualización de inventario.

<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:Header>
        <Security xmlns="http://tempuri.org/">
            <UsernameToken xmlns="">
                <Username>testUser</Username>
                    <Password>t35t!2017</Password>
            </UsernameToken>
        </Security>
    </soap:Header>
    <soap:Body>
        <OTA_HotelAvailNotifRQ Version="0" xmlns="http://tempuri.org/">
        <POS xmlns="http://www.opentravel.org/OTA/2003/05">
            <Source>
                <RequestorID Type="22" ID="PMS1" />
            </Source>
        </POS>
        <AvailStatusMessages HotelCode="15083" xmlns="http://www.opentravel.org/OTA/2003/05">
            <AvailStatusMessage>
                <StatusApplicationControl Start="20181001" End="20181010" />
                    <RestrictionStatus Status="Close" />
            </AvailStatusMessage>
        </AvailStatusMessages>
        </OTA_HotelAvailNotifRQ>
    </soap:Body>
</soap:Envelope>

Leyenda O = Opcional

O Número Elemento / @Atributo Tipo de dato Descripción
1 OTA_HotelAvailNotifRQ Nodo raíz
1 @Version Decimal Versión.Actualmente 1.0.
POS Nodo Información de origen de la petición.
Source Nodo Contenedor de fuente.
RequestorID Nodo Datos de origen.
@Type Integer Tipo de solicitud.
@ID Integer Identificador de origen para petición.
AvailStatusMessages Nodo Contiene los mensajes de disponibilidad.
@HotelCode String Código de la propiedad a la que se actualiza la disponibilidad.
AvailStatusMessage /StatusApplicationControl Nodo Contiene la información para identificación de fecha y habitación.
@Start Date Fecha de inicio para disponibilidad. Esta es inclusiva.
@End Date Fecha de cierre para disponibilidad. Esta es inclusiva.
RestrictionStatus Nodo Estado de disponibilidad.
@Status String Obligatorio si RestrictionStatus esta presente. Puede ser Open: para venta de habitación o Close: para detener la venta de habitación.

No arribos por hotel

<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:Header>
        <Security xmlns="http://tempuri.org/">
            <UsernameToken xmlns="">
                <Username>testUser</Username>
                    <Password>t35t!2017</Password>
            </UsernameToken>
        </Security>
    </soap:Header>
    <soap:Body>
        <OTA_HotelAvailNotifRQ Version="0" xmlns="http://tempuri.org/">
            <POS xmlns="http://www.opentravel.org/OTA/2003/05">
                <Source>
                    <RequestorID Type="22" ID="PMS1" />
                </Source>
            </POS>
                <AvailStatusMessages HotelCode="15083" xmlns="http://www.opentravel.org/OTA/2003/05">
                    <AvailStatusMessage>
                        <StatusApplicationControl Start="20181011" End="20181015" />
                            <RestrictionStatus Restriction="Arrival" Status="Close" />
                    </AvailStatusMessage>
                </AvailStatusMessages>
        </OTA_HotelAvailNotifRQ>
    </soap:Body>
</soap:Envelope>

Leyenda O = Opcional

O Número Elemento / @Atributo Tipo de dato Descripción
1 OTA_HotelAvailNotifRQ Nodo raíz
1 @Version Decimal Versión.Actualmente 1.0.
1 RequestorID Nodo Datos de origen.
@Type Integer Tipo de solicitud.
@ID String Identificador de origen para petición.
AvailStatusMessages Nodo Contiene los mensajes de disponibilidad.
@HotelCode String Código de la propiedad a la que se actualiza la disponibilidad.
AvailStatusMessage /StatusApplicationControl Nodo Contiene la información para identificación de fecha y habitación.
@Start Date Fecha de inicio para disponibilidad. Esta es inclusiva.
@End Date Fechas de cierre para disponibilidad. Esta es inclusiva.
RestrictionStatus Nodo Estado de disponibilidad.
@Restriction String Arrival: establece el valor de cerrado en llegada.
@Status String Obligatorio si RestrictionStatus esta presente. Puede ser Open: para venta de habitación o Close: para detener la venta de habitación.
← Disponibilidad y restriccionesPrimeros Pasos →
IP Connect Docs
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2019 Your Name or Your Company Name