wsReservation
Click here for a complete list of operations.
GetHotelReservations
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ResService/wsReservation.asmx HTTP/1.1
Host: tsuiteservice.it.ws.travelexplorer.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.travelsuite.com.br/GetHotelReservations"
<?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>
<GetHotelReservations xmlns="http://ws.travelsuite.com.br">
<Filter>
<ContractId>int</ContractId>
<PNR>
<ContractId>int</ContractId>
<PnrId>int</PnrId>
<PnrCode>string</PnrCode>
<IsPackage>boolean</IsPackage>
<Customer>
<Type>short</Type>
<Ref>string</Ref>
<Name>string</Name>
<Email>string</Email>
</Customer>
<StatusId>int</StatusId>
<Type>short</Type>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<PaxFullName>string</PaxFullName>
<CreateDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</CreateDate>
<CheckinDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</CheckinDate>
<DeadLineDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</DeadLineDate>
<LastModifiedDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</LastModifiedDate>
<ClearSaleStatusId>short</ClearSaleStatusId>
<ChannelId>int</ChannelId>
<Status>Created or Rejected or Confirmed or Archived or Cancelled or RejectedCancel or Pendent or RejectedArchived or OnRequest or Error</Status>
<ClearSaleStatus>Waiting or AutomaticApproval or ManualApproval or ManualDisapproval or ManualAnalysis or Error or New or ManualSuspended or Cancel or ConfirmedFraud or None</ClearSaleStatus>
</PNR>
<Item>
<PnrItemId>int</PnrItemId>
<ResNumber>string</ResNumber>
<ServiceType>short</ServiceType>
<WebService>int</WebService>
<ItemStatusId>int</ItemStatusId>
<Created>
<After>dateTime</After>
<Before>dateTime</Before>
</Created>
<SystemDeadLine>
<After>dateTime</After>
<Before>dateTime</Before>
</SystemDeadLine>
<VendorDeadLine>
<After>dateTime</After>
<Before>dateTime</Before>
</VendorDeadLine>
<DeadLineLimit>
<After>dateTime</After>
<Before>dateTime</Before>
</DeadLineLimit>
<ItemStatus>Processing or Rejected or Confirmed or Archived or CancelProcessing or Cancelled or RejectedCancel or RejectedArchived or OnRequest or Error</ItemStatus>
</Item>
<Flight>
<SearchType>short</SearchType>
<WithDeal>boolean</WithDeal>
<MarketingAirline>string</MarketingAirline>
<Departure>
<Airport>string</Airport>
<After>dateTime</After>
<Before>dateTime</Before>
</Departure>
<Arrival>
<Airport>string</Airport>
<After>dateTime</After>
<Before>dateTime</Before>
</Arrival>
<PaymentOnLineId>short</PaymentOnLineId>
<UpdateDeadlineExpired>boolean</UpdateDeadlineExpired>
<PaymentType>
<PaymentType>short</PaymentType>
<PaymentType>short</PaymentType>
</PaymentType>
<FlightPaymentStatus>
<FlightPaymentStatus>short</FlightPaymentStatus>
<FlightPaymentStatus>short</FlightPaymentStatus>
</FlightPaymentStatus>
<FlightTicketStatus>
<FlightTicketStatus>short</FlightTicketStatus>
<FlightTicketStatus>short</FlightTicketStatus>
</FlightTicketStatus>
<PaymentOnLine>None or Pending or Processing</PaymentOnLine>
<PaymentTypeArray>
<PaymentType>None or DirectBank or CreditCard or ReservationOnly or Ticket or DebitCard or OnlineTransfer or Billet or CreditCardLink or ManualCard or Pix or CouponDiscount or Points</PaymentType>
<PaymentType>None or DirectBank or CreditCard or ReservationOnly or Ticket or DebitCard or OnlineTransfer or Billet or CreditCardLink or ManualCard or Pix or CouponDiscount or Points</PaymentType>
</PaymentTypeArray>
<FlightPaymentStatusArray>
<PaymentStatus>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</PaymentStatus>
<PaymentStatus>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</PaymentStatus>
</FlightPaymentStatusArray>
<FlightTicketStatusArray>
<FlightTicketStatus>Waiting or Confirmed or Pending or Processing or Rejected or Error or None</FlightTicketStatus>
<FlightTicketStatus>Waiting or Confirmed or Pending or Processing or Rejected or Error or None</FlightTicketStatus>
</FlightTicketStatusArray>
<WebServiceIds>
<WebServiceIds>int</WebServiceIds>
<WebServiceIds>int</WebServiceIds>
</WebServiceIds>
</Flight>
<Cruise>
<CruiseName>string</CruiseName>
<ShipName>string</ShipName>
<SailingLengthDays>int</SailingLengthDays>
<SailingDate>
<After>dateTime</After>
<Before>dateTime</Before>
</SailingDate>
<ReturnDate>
<After>dateTime</After>
<Before>dateTime</Before>
</ReturnDate>
<ItineraryDesc>string</ItineraryDesc>
<SailingPortName>string</SailingPortName>
<EndPortName>string</EndPortName>
</Cruise>
<Transfer>
<ReservationDate>dateTime</ReservationDate>
<ReservationStartDate>dateTime</ReservationStartDate>
<ReservationEndDate>dateTime</ReservationEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Origin>
<Name>string</Name>
<City xsi:nil="true" />
</Origin>
<Destination>
<Name>string</Name>
<City xsi:nil="true" />
</Destination>
</Transfer>
<Package>
<CheckInDate>dateTime</CheckInDate>
<CheckInStartDate>dateTime</CheckInStartDate>
<CheckInEndDate>dateTime</CheckInEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Origin>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Origin>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
</Package>
<Tour>
<ReservationDate>dateTime</ReservationDate>
<ReservationStartDate>dateTime</ReservationStartDate>
<ReservationEndDate>dateTime</ReservationEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Origin>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Origin>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
</Tour>
<CityTour>
<ReservationDate>dateTime</ReservationDate>
<ReservationStartDate>dateTime</ReservationStartDate>
<ReservationEndDate>dateTime</ReservationEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
</CityTour>
<Hotel>
<VendorHotelId>string</VendorHotelId>
<CountryId>string</CountryId>
<CityId>int</CityId>
<CityName>string</CityName>
<Name>string</Name>
<Checkin>
<After>dateTime</After>
<Before>dateTime</Before>
</Checkin>
<Checkout>
<After>dateTime</After>
<Before>dateTime</Before>
</Checkout>
</Hotel>
<Car>
<Category>string</Category>
<Name>string</Name>
<TransmissionType>string</TransmissionType>
<ReturnLocation>string</ReturnLocation>
<PickupLocation>string</PickupLocation>
<Vendor>string</Vendor>
<Pickup>
<After>dateTime</After>
<Before>dateTime</Before>
</Pickup>
<Return>
<After>dateTime</After>
<Before>dateTime</Before>
</Return>
</Car>
<Ticket>
<CountryId>long</CountryId>
<CityId>long</CityId>
<CityName>string</CityName>
<DateOperation>
<After>dateTime</After>
<Before>dateTime</Before>
</DateOperation>
<Name>string</Name>
<ModalityName>string</ModalityName>
</Ticket>
<Broker>Direct or Idea or Paypal or VerySign or BV or Gol or ViajaNet or Tcn or PaymentSuite</Broker>
<Status>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</Status>
<Insurance>
<ReservationDate>dateTime</ReservationDate>
<TravelDateFrom>dateTime</TravelDateFrom>
<TravelDateTo>dateTime</TravelDateTo>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
<Origin>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Origin>
</Insurance>
<UserId>int</UserId>
<ChannelId>int</ChannelId>
</Filter>
</GetHotelReservations>
</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>
<GetHotelReservationsResponse xmlns="http://ws.travelsuite.com.br">
<GetHotelReservationsResult>
<xsd:schema>schema</xsd:schema>xml</GetHotelReservationsResult>
</GetHotelReservationsResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ResService/wsReservation.asmx HTTP/1.1
Host: tsuiteservice.it.ws.travelexplorer.com.br
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>
<GetHotelReservations xmlns="http://ws.travelsuite.com.br">
<Filter>
<ContractId>int</ContractId>
<PNR>
<ContractId>int</ContractId>
<PnrId>int</PnrId>
<PnrCode>string</PnrCode>
<IsPackage>boolean</IsPackage>
<Customer>
<Type>short</Type>
<Ref>string</Ref>
<Name>string</Name>
<Email>string</Email>
</Customer>
<StatusId>int</StatusId>
<Type>short</Type>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<PaxFullName>string</PaxFullName>
<CreateDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</CreateDate>
<CheckinDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</CheckinDate>
<DeadLineDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</DeadLineDate>
<LastModifiedDate>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</LastModifiedDate>
<ClearSaleStatusId>short</ClearSaleStatusId>
<ChannelId>int</ChannelId>
<Status>Created or Rejected or Confirmed or Archived or Cancelled or RejectedCancel or Pendent or RejectedArchived or OnRequest or Error</Status>
<ClearSaleStatus>Waiting or AutomaticApproval or ManualApproval or ManualDisapproval or ManualAnalysis or Error or New or ManualSuspended or Cancel or ConfirmedFraud or None</ClearSaleStatus>
</PNR>
<Item>
<PnrItemId>int</PnrItemId>
<ResNumber>string</ResNumber>
<ServiceType>short</ServiceType>
<WebService>int</WebService>
<ItemStatusId>int</ItemStatusId>
<Created>
<After>dateTime</After>
<Before>dateTime</Before>
</Created>
<SystemDeadLine>
<After>dateTime</After>
<Before>dateTime</Before>
</SystemDeadLine>
<VendorDeadLine>
<After>dateTime</After>
<Before>dateTime</Before>
</VendorDeadLine>
<DeadLineLimit>
<After>dateTime</After>
<Before>dateTime</Before>
</DeadLineLimit>
<ItemStatus>Processing or Rejected or Confirmed or Archived or CancelProcessing or Cancelled or RejectedCancel or RejectedArchived or OnRequest or Error</ItemStatus>
</Item>
<Flight>
<SearchType>short</SearchType>
<WithDeal>boolean</WithDeal>
<MarketingAirline>string</MarketingAirline>
<Departure>
<Airport>string</Airport>
<After>dateTime</After>
<Before>dateTime</Before>
</Departure>
<Arrival>
<Airport>string</Airport>
<After>dateTime</After>
<Before>dateTime</Before>
</Arrival>
<PaymentOnLineId>short</PaymentOnLineId>
<UpdateDeadlineExpired>boolean</UpdateDeadlineExpired>
<PaymentType>
<PaymentType>short</PaymentType>
<PaymentType>short</PaymentType>
</PaymentType>
<FlightPaymentStatus>
<FlightPaymentStatus>short</FlightPaymentStatus>
<FlightPaymentStatus>short</FlightPaymentStatus>
</FlightPaymentStatus>
<FlightTicketStatus>
<FlightTicketStatus>short</FlightTicketStatus>
<FlightTicketStatus>short</FlightTicketStatus>
</FlightTicketStatus>
<PaymentOnLine>None or Pending or Processing</PaymentOnLine>
<PaymentTypeArray>
<PaymentType>None or DirectBank or CreditCard or ReservationOnly or Ticket or DebitCard or OnlineTransfer or Billet or CreditCardLink or ManualCard or Pix or CouponDiscount or Points</PaymentType>
<PaymentType>None or DirectBank or CreditCard or ReservationOnly or Ticket or DebitCard or OnlineTransfer or Billet or CreditCardLink or ManualCard or Pix or CouponDiscount or Points</PaymentType>
</PaymentTypeArray>
<FlightPaymentStatusArray>
<PaymentStatus>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</PaymentStatus>
<PaymentStatus>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</PaymentStatus>
</FlightPaymentStatusArray>
<FlightTicketStatusArray>
<FlightTicketStatus>Waiting or Confirmed or Pending or Processing or Rejected or Error or None</FlightTicketStatus>
<FlightTicketStatus>Waiting or Confirmed or Pending or Processing or Rejected or Error or None</FlightTicketStatus>
</FlightTicketStatusArray>
<WebServiceIds>
<WebServiceIds>int</WebServiceIds>
<WebServiceIds>int</WebServiceIds>
</WebServiceIds>
</Flight>
<Cruise>
<CruiseName>string</CruiseName>
<ShipName>string</ShipName>
<SailingLengthDays>int</SailingLengthDays>
<SailingDate>
<After>dateTime</After>
<Before>dateTime</Before>
</SailingDate>
<ReturnDate>
<After>dateTime</After>
<Before>dateTime</Before>
</ReturnDate>
<ItineraryDesc>string</ItineraryDesc>
<SailingPortName>string</SailingPortName>
<EndPortName>string</EndPortName>
</Cruise>
<Transfer>
<ReservationDate>dateTime</ReservationDate>
<ReservationStartDate>dateTime</ReservationStartDate>
<ReservationEndDate>dateTime</ReservationEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Origin>
<Name>string</Name>
<City xsi:nil="true" />
</Origin>
<Destination>
<Name>string</Name>
<City xsi:nil="true" />
</Destination>
</Transfer>
<Package>
<CheckInDate>dateTime</CheckInDate>
<CheckInStartDate>dateTime</CheckInStartDate>
<CheckInEndDate>dateTime</CheckInEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Origin>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Origin>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
</Package>
<Tour>
<ReservationDate>dateTime</ReservationDate>
<ReservationStartDate>dateTime</ReservationStartDate>
<ReservationEndDate>dateTime</ReservationEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Origin>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Origin>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
</Tour>
<CityTour>
<ReservationDate>dateTime</ReservationDate>
<ReservationStartDate>dateTime</ReservationStartDate>
<ReservationEndDate>dateTime</ReservationEndDate>
<OperatorID>int</OperatorID>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
</CityTour>
<Hotel>
<VendorHotelId>string</VendorHotelId>
<CountryId>string</CountryId>
<CityId>int</CityId>
<CityName>string</CityName>
<Name>string</Name>
<Checkin>
<After>dateTime</After>
<Before>dateTime</Before>
</Checkin>
<Checkout>
<After>dateTime</After>
<Before>dateTime</Before>
</Checkout>
</Hotel>
<Car>
<Category>string</Category>
<Name>string</Name>
<TransmissionType>string</TransmissionType>
<ReturnLocation>string</ReturnLocation>
<PickupLocation>string</PickupLocation>
<Vendor>string</Vendor>
<Pickup>
<After>dateTime</After>
<Before>dateTime</Before>
</Pickup>
<Return>
<After>dateTime</After>
<Before>dateTime</Before>
</Return>
</Car>
<Ticket>
<CountryId>long</CountryId>
<CityId>long</CityId>
<CityName>string</CityName>
<DateOperation>
<After>dateTime</After>
<Before>dateTime</Before>
</DateOperation>
<Name>string</Name>
<ModalityName>string</ModalityName>
</Ticket>
<Broker>Direct or Idea or Paypal or VerySign or BV or Gol or ViajaNet or Tcn or PaymentSuite</Broker>
<Status>Processing or Confirmed or Rejected or Canceled or Pending or Waiting or Error or None or FailComunication or GatewayErrorComunication</Status>
<Insurance>
<ReservationDate>dateTime</ReservationDate>
<TravelDateFrom>dateTime</TravelDateFrom>
<TravelDateTo>dateTime</TravelDateTo>
<Pax>
<FirstName>string</FirstName>
<LastName>string</LastName>
</Pax>
<Destination>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Destination>
<Origin>
<Name>string</Name>
<CountryID>string</CountryID>
<StateID>string</StateID>
</Origin>
</Insurance>
<UserId>int</UserId>
<ChannelId>int</ChannelId>
</Filter>
</GetHotelReservations>
</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>
<GetHotelReservationsResponse xmlns="http://ws.travelsuite.com.br">
<GetHotelReservationsResult>
<xsd:schema>schema</xsd:schema>xml</GetHotelReservationsResult>
</GetHotelReservationsResponse>
</soap12:Body>
</soap12:Envelope>