SyncPOS


Haga clic aquí para obtener una lista completa de operaciones.

getReservations

Prueba

El formulario de prueba sólo está disponible para solicitudes del equipo local.

SOAP 1.1

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /webservices/SyncPOS.asmx HTTP/1.1
Host: app.guest-hotelsoftware.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://SynsPOS.com/getReservations"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getReservations xmlns="http://SynsPOS.com/">
      <user>string</user>
      <password>string</password>
      <CenterCode>string</CenterCode>
      <pFechaTrabajo>dateTime</pFechaTrabajo>
      <sParameter>string</sParameter>
      <lCenters>
        <string>string</string>
        <string>string</string>
      </lCenters>
    </getReservations>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getReservationsResponse xmlns="http://SynsPOS.com/">
      <ReservationsResponse>
        <ReservationsList>
          <ReservationPOS Reservation_id_pk="int">
            <CenterCode>string</CenterCode>
            <Number>string</Number>
            <Desglose>string</Desglose>
            <Room>string</Room>
            <ArrivalDate>dateTime</ArrivalDate>
            <ExitDate>dateTime</ExitDate>
            <BoardTypeCode>string</BoardTypeCode>
            <RoomTypeUse>string</RoomTypeUse>
            <Country>string</Country>
            <Agency>string</Agency>
            <CustomerType>string</CustomerType>
            <Pax>int</Pax>
            <CreditLimit>boolean</CreditLimit>
            <CreditImport>decimal</CreditImport>
            <AlertType>string</AlertType>
            <CreditWasted>decimal</CreditWasted>
            <Customer xsi:nil="true" />
            <Customer xsi:nil="true" />
          </ReservationPOS>
          <ReservationPOS Reservation_id_pk="int">
            <CenterCode>string</CenterCode>
            <Number>string</Number>
            <Desglose>string</Desglose>
            <Room>string</Room>
            <ArrivalDate>dateTime</ArrivalDate>
            <ExitDate>dateTime</ExitDate>
            <BoardTypeCode>string</BoardTypeCode>
            <RoomTypeUse>string</RoomTypeUse>
            <Country>string</Country>
            <Agency>string</Agency>
            <CustomerType>string</CustomerType>
            <Pax>int</Pax>
            <CreditLimit>boolean</CreditLimit>
            <CreditImport>decimal</CreditImport>
            <AlertType>string</AlertType>
            <CreditWasted>decimal</CreditWasted>
            <Customer xsi:nil="true" />
            <Customer xsi:nil="true" />
          </ReservationPOS>
        </ReservationsList>
        <Status Code="int">
          <Description>string</Description>
          <Count>int</Count>
        </Status>
      </ReservationsResponse>
    </getReservationsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /webservices/SyncPOS.asmx HTTP/1.1
Host: app.guest-hotelsoftware.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getReservations xmlns="http://SynsPOS.com/">
      <user>string</user>
      <password>string</password>
      <CenterCode>string</CenterCode>
      <pFechaTrabajo>dateTime</pFechaTrabajo>
      <sParameter>string</sParameter>
      <lCenters>
        <string>string</string>
        <string>string</string>
      </lCenters>
    </getReservations>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getReservationsResponse xmlns="http://SynsPOS.com/">
      <ReservationsResponse>
        <ReservationsList>
          <ReservationPOS Reservation_id_pk="int">
            <CenterCode>string</CenterCode>
            <Number>string</Number>
            <Desglose>string</Desglose>
            <Room>string</Room>
            <ArrivalDate>dateTime</ArrivalDate>
            <ExitDate>dateTime</ExitDate>
            <BoardTypeCode>string</BoardTypeCode>
            <RoomTypeUse>string</RoomTypeUse>
            <Country>string</Country>
            <Agency>string</Agency>
            <CustomerType>string</CustomerType>
            <Pax>int</Pax>
            <CreditLimit>boolean</CreditLimit>
            <CreditImport>decimal</CreditImport>
            <AlertType>string</AlertType>
            <CreditWasted>decimal</CreditWasted>
            <Customer xsi:nil="true" />
            <Customer xsi:nil="true" />
          </ReservationPOS>
          <ReservationPOS Reservation_id_pk="int">
            <CenterCode>string</CenterCode>
            <Number>string</Number>
            <Desglose>string</Desglose>
            <Room>string</Room>
            <ArrivalDate>dateTime</ArrivalDate>
            <ExitDate>dateTime</ExitDate>
            <BoardTypeCode>string</BoardTypeCode>
            <RoomTypeUse>string</RoomTypeUse>
            <Country>string</Country>
            <Agency>string</Agency>
            <CustomerType>string</CustomerType>
            <Pax>int</Pax>
            <CreditLimit>boolean</CreditLimit>
            <CreditImport>decimal</CreditImport>
            <AlertType>string</AlertType>
            <CreditWasted>decimal</CreditWasted>
            <Customer xsi:nil="true" />
            <Customer xsi:nil="true" />
          </ReservationPOS>
        </ReservationsList>
        <Status Code="int">
          <Description>string</Description>
          <Count>int</Count>
        </Status>
      </ReservationsResponse>
    </getReservationsResponse>
  </soap12:Body>
</soap12:Envelope>