CivitFunWS
Haga clic aquí para obtener una lista completa de operaciones.
CheckinDataRequest
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 /webservice/CivitFunWS.asmx HTTP/1.1 Host: app.guest-hotelsoftware.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://schemas.xmlsoap.org/soap/envelope/CheckinDataRequest" <?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> <CheckinDataRequest> <Parameters> <GuestData> <Guest> <ID>string</ID> <Identifier>string</Identifier> <Name>string</Name> <Surname>string</Surname> <SecondSurname>string</SecondSurname> <DocumentType>string</DocumentType> <DocumentNumber>string</DocumentNumber> <BirthDate>string</BirthDate> <ExpeditionDate>string</ExpeditionDate> <Nationality>string</Nationality> <Sex>string</Sex> <CustomFields xsi:nil="true" /> <CheckInDate>string</CheckInDate> <CheckOutDate>string</CheckOutDate> <CheckInTime>string</CheckInTime> <CheckOutTime>string</CheckOutTime> <PersonType>string</PersonType> </Guest> <Guest> <ID>string</ID> <Identifier>string</Identifier> <Name>string</Name> <Surname>string</Surname> <SecondSurname>string</SecondSurname> <DocumentType>string</DocumentType> <DocumentNumber>string</DocumentNumber> <BirthDate>string</BirthDate> <ExpeditionDate>string</ExpeditionDate> <Nationality>string</Nationality> <Sex>string</Sex> <CustomFields xsi:nil="true" /> <CheckInDate>string</CheckInDate> <CheckOutDate>string</CheckOutDate> <CheckInTime>string</CheckInTime> <CheckOutTime>string</CheckOutTime> <PersonType>string</PersonType> </Guest> </GuestData> <BookingFiles> <BookingFile>string</BookingFile> <BookingFile>string</BookingFile> </BookingFiles> <bookingCode>string</bookingCode> <BookingCode>string</BookingCode> <entranceDate>string</entranceDate> <UserID>string</UserID> <HotelID>int</HotelID> </Parameters> </CheckinDataRequest> </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> <CheckinDataResponse> <Results> <Status>int</Status> <Details>string</Details> <BookingStatus>int</BookingStatus> <CheckInStatus>int</CheckInStatus> <BookingDetails> <Guest>string</Guest> <Email>string</Email> <GuestType>string</GuestType> <Adults>string</Adults> <Children>string</Children> <Rooms>string</Rooms> <RegimeStay>string</RegimeStay> <Entrance>date</Entrance> <Departure>date</Departure> <EntranceTime>string</EntranceTime> <DepartureTime>string</DepartureTime> <Identifier>string</Identifier> <AgencyCode>string</AgencyCode> <CustomerNotes>string</CustomerNotes> <GuestsDataFilled>string</GuestsDataFilled> <Guests> <Guest xsi:nil="true" /> <Guest xsi:nil="true" /> </Guests> <ReallocationPropertyID>string</ReallocationPropertyID> <RoomTypes> <RoomType xsi:nil="true" /> <RoomType xsi:nil="true" /> </RoomTypes> </BookingDetails> <Bookings> <Booking> <BookingStatus>int</BookingStatus> <BookingDetails xsi:nil="true" /> </Booking> <Booking> <BookingStatus>int</BookingStatus> <BookingDetails xsi:nil="true" /> </Booking> </Bookings> <BookingData> <WifiPassword>string</WifiPassword> </BookingData> </Results> </CheckinDataResponse> </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 /webservice/CivitFunWS.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> <CheckinDataRequest> <Parameters> <GuestData> <Guest> <ID>string</ID> <Identifier>string</Identifier> <Name>string</Name> <Surname>string</Surname> <SecondSurname>string</SecondSurname> <DocumentType>string</DocumentType> <DocumentNumber>string</DocumentNumber> <BirthDate>string</BirthDate> <ExpeditionDate>string</ExpeditionDate> <Nationality>string</Nationality> <Sex>string</Sex> <CustomFields xsi:nil="true" /> <CheckInDate>string</CheckInDate> <CheckOutDate>string</CheckOutDate> <CheckInTime>string</CheckInTime> <CheckOutTime>string</CheckOutTime> <PersonType>string</PersonType> </Guest> <Guest> <ID>string</ID> <Identifier>string</Identifier> <Name>string</Name> <Surname>string</Surname> <SecondSurname>string</SecondSurname> <DocumentType>string</DocumentType> <DocumentNumber>string</DocumentNumber> <BirthDate>string</BirthDate> <ExpeditionDate>string</ExpeditionDate> <Nationality>string</Nationality> <Sex>string</Sex> <CustomFields xsi:nil="true" /> <CheckInDate>string</CheckInDate> <CheckOutDate>string</CheckOutDate> <CheckInTime>string</CheckInTime> <CheckOutTime>string</CheckOutTime> <PersonType>string</PersonType> </Guest> </GuestData> <BookingFiles> <BookingFile>string</BookingFile> <BookingFile>string</BookingFile> </BookingFiles> <bookingCode>string</bookingCode> <BookingCode>string</BookingCode> <entranceDate>string</entranceDate> <UserID>string</UserID> <HotelID>int</HotelID> </Parameters> </CheckinDataRequest> </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> <CheckinDataResponse> <Results> <Status>int</Status> <Details>string</Details> <BookingStatus>int</BookingStatus> <CheckInStatus>int</CheckInStatus> <BookingDetails> <Guest>string</Guest> <Email>string</Email> <GuestType>string</GuestType> <Adults>string</Adults> <Children>string</Children> <Rooms>string</Rooms> <RegimeStay>string</RegimeStay> <Entrance>date</Entrance> <Departure>date</Departure> <EntranceTime>string</EntranceTime> <DepartureTime>string</DepartureTime> <Identifier>string</Identifier> <AgencyCode>string</AgencyCode> <CustomerNotes>string</CustomerNotes> <GuestsDataFilled>string</GuestsDataFilled> <Guests> <Guest xsi:nil="true" /> <Guest xsi:nil="true" /> </Guests> <ReallocationPropertyID>string</ReallocationPropertyID> <RoomTypes> <RoomType xsi:nil="true" /> <RoomType xsi:nil="true" /> </RoomTypes> </BookingDetails> <Bookings> <Booking> <BookingStatus>int</BookingStatus> <BookingDetails xsi:nil="true" /> </Booking> <Booking> <BookingStatus>int</BookingStatus> <BookingDetails xsi:nil="true" /> </Booking> </Bookings> <BookingData> <WifiPassword>string</WifiPassword> </BookingData> </Results> </CheckinDataResponse> </soap12:Body> </soap12:Envelope>