SyncPOS
Haga clic aquí para obtener una lista completa de operaciones.
GetMemberCheckInReservation
Prueba
Haga clic en el botón 'Invocar', para probar la operación utilizando el protocolo HTTP POST.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/GetMemberCheckInReservation" <?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> <GetMemberCheckInReservation xmlns="http://SynsPOS.com/"> <user>string</user> <password>string</password> <sCenterCode>string</sCenterCode> <iMemberId>int</iMemberId> </GetMemberCheckInReservation> </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> <GetMemberCheckInReservationResponse 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> </GetMemberCheckInReservationResponse> </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> <GetMemberCheckInReservation xmlns="http://SynsPOS.com/"> <user>string</user> <password>string</password> <sCenterCode>string</sCenterCode> <iMemberId>int</iMemberId> </GetMemberCheckInReservation> </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> <GetMemberCheckInReservationResponse 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> </GetMemberCheckInReservationResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
A continuación se muestra un ejemplo de solicitud y respuesta para HTTP GET. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
GET /webservices/SyncPOS.asmx/GetMemberCheckInReservation?user=string&password=string&sCenterCode=string&iMemberId=string HTTP/1.1 Host: app.guest-hotelsoftware.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ReservationsResponse xmlns="http://SynsPOS.com/"> <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 Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> <Customer Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> </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 Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> <Customer Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> </ReservationPOS> </ReservationsList> <Status Code="int"> <Description>string</Description> <Count>int</Count> </Status> </ReservationsResponse>
HTTP POST
A continuación se muestra un ejemplo de solicitud y respuesta para HTTP POST. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /webservices/SyncPOS.asmx/GetMemberCheckInReservation HTTP/1.1 Host: app.guest-hotelsoftware.com Content-Type: application/x-www-form-urlencoded Content-Length: length user=string&password=string&sCenterCode=string&iMemberId=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ReservationsResponse xmlns="http://SynsPOS.com/"> <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 Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> <Customer Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> </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 Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> <Customer Customer_id_pk="int"> <CustomerCode>string</CustomerCode> <CustomerName>string</CustomerName> <EntryDate>dateTime</EntryDate> <CustomerType>string</CustomerType> <CreditPending>decimal</CreditPending> <CreditLimit>boolean</CreditLimit> <CreditLimitAmount>decimal</CreditLimitAmount> <TagRFID>string</TagRFID> <CreditWasted>decimal</CreditWasted> </Customer> </ReservationPOS> </ReservationsList> <Status Code="int"> <Description>string</Description> <Count>int</Count> </Status> </ReservationsResponse>