wsReservation
Click here for a complete list of operations.
UpdateTourReservation
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/UpdateTourReservation" <?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> <UpdateTourReservation xmlns="http://ws.travelsuite.com.br"> <PNRId>long</PNRId> <ContractId>int</ContractId> <Reservation> <TourInfo> <TrackID>long</TrackID> <TourPriceID>int</TourPriceID> <ExtraID>long</ExtraID> <ExtraName>string</ExtraName> <ExtraDescription>string</ExtraDescription> <ResevationDate>dateTime</ResevationDate> <ReservationDateTo>dateTime</ReservationDateTo> <TourTitle>string</TourTitle> <TourTypeName>string</TourTypeName> <PnrItemId>long</PnrItemId> <Duration>string</Duration> <PriceCategoryName>string</PriceCategoryName> <VeichleName>string</VeichleName> <VeichleTypeName>string</VeichleTypeName> <FreeTimeReservation>boolean</FreeTimeReservation> <SupplierName>string</SupplierName> <OperatorID>int</OperatorID> <OperatorName>string</OperatorName> <DistributionGroupId>int</DistributionGroupId> <DistributionGroupName>string</DistributionGroupName> <TourThumb>string</TourThumb> <Remark>string</Remark> <TourTitleAlternative>string</TourTitleAlternative> <TotalAmountADT>decimal</TotalAmountADT> <TotalAmountCHD>decimal</TotalAmountCHD> <Comments>string</Comments> <SupplementInformation>string</SupplementInformation> <ProviderInformation>string</ProviderInformation> <SupplementInformationVatNumber>string</SupplementInformationVatNumber> <ServiceStartDate>dateTime</ServiceStartDate> <ServiceEndDate>dateTime</ServiceEndDate> <BufferDays>int</BufferDays> </TourInfo> <Origins> <TourOriginData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourOriginData> <TourOriginData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourOriginData> </Origins> <Destinations> <TourDestinationData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourDestinationData> <TourDestinationData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourDestinationData> </Destinations> <Passengers> <TourPaxData> <PaxIndex>int</PaxIndex> </TourPaxData> <TourPaxData> <PaxIndex>int</PaxIndex> </TourPaxData> </Passengers> <ReservationInfo> <WebServiceId>int</WebServiceId> <CredentialId>int</CredentialId> <ServiceTypeId>Hotel or Car or Flight or Ticket or CityTour or Tour or Transfer or Package or Insurance or Payment or CreditAnalysis or Cruise</ServiceTypeId> <Markup>decimal</Markup> <MarkupEngineAmount>decimal</MarkupEngineAmount> <MarkupEnginePercent>decimal</MarkupEnginePercent> <ExchangeRate>decimal</ExchangeRate> <TotalAmountNet>decimal</TotalAmountNet> <TotalAmount>decimal</TotalAmount> <ConversionFactorValue>decimal</ConversionFactorValue> <TotalAmountConverted>decimal</TotalAmountConverted> <AvgDayPriceNet>decimal</AvgDayPriceNet> <AvgDayPrice>decimal</AvgDayPrice> <LastModifiedDate>dateTime</LastModifiedDate> <SystemDeadLineDate>dateTime</SystemDeadLineDate> <VendorDeadLineDate>dateTime</VendorDeadLineDate> <CurrencyNet>string</CurrencyNet> <Currency>string</Currency> <ExchangeCurrency>string</ExchangeCurrency> <Remarks>string</Remarks> <CustomerBillingAddress> <CustomerBillingAddress xsi:nil="true" /> <CustomerBillingAddress xsi:nil="true" /> </CustomerBillingAddress> <BlockPnrTypeUpdate>boolean</BlockPnrTypeUpdate> <KeyValueItems> <KeyValueItem xsi:nil="true" /> <KeyValueItem xsi:nil="true" /> </KeyValueItems> <Approvals> <Approval xsi:nil="true" /> <Approval xsi:nil="true" /> </Approvals> <EmissionAutomatic>boolean</EmissionAutomatic> <DeadLineLimit>dateTime</DeadLineLimit> <TaxInfo> <HotelTax xsi:nil="true" /> <HotelTax xsi:nil="true" /> </TaxInfo> <CostCenter>string</CostCenter> <TripPurpose>string</TripPurpose> <AutomaticCancel>boolean</AutomaticCancel> <CardSegment>string</CardSegment> <TotalValueTax>decimal</TotalValueTax> <QuotationId>int</QuotationId> <Observation>string</Observation> <CommissionAmount>decimal</CommissionAmount> <ShoppingCartItemId>string</ShoppingCartItemId> <CommissionId>int</CommissionId> <CommissionName>string</CommissionName> </ReservationInfo> <TaxInfo> <TourTaxData> <TourTax_Id>long</TourTax_Id> <PNRItem_Id>long</PNRItem_Id> <TypeTax>int</TypeTax> <Value>decimal</Value> <Currency>string</Currency> <TotalTaxAmount>decimal</TotalTaxAmount> <Description>string</Description> </TourTaxData> <TourTaxData> <TourTax_Id>long</TourTax_Id> <PNRItem_Id>long</PNRItem_Id> <TypeTax>int</TypeTax> <Value>decimal</Value> <Currency>string</Currency> <TotalTaxAmount>decimal</TotalTaxAmount> <Description>string</Description> </TourTaxData> </TaxInfo> <TourQuestion> <TourQuestionData> <message>string</message> <title>string</title> <questionId>int</questionId> <subTitle>string</subTitle> <answer>string</answer> <required>boolean</required> </TourQuestionData> <TourQuestionData> <message>string</message> <title>string</title> <questionId>int</questionId> <subTitle>string</subTitle> <answer>string</answer> <required>boolean</required> </TourQuestionData> </TourQuestion> </Reservation> </UpdateTourReservation> </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> <UpdateTourReservationResponse xmlns="http://ws.travelsuite.com.br"> <UpdateTourReservationResult>long</UpdateTourReservationResult> </UpdateTourReservationResponse> </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> <UpdateTourReservation xmlns="http://ws.travelsuite.com.br"> <PNRId>long</PNRId> <ContractId>int</ContractId> <Reservation> <TourInfo> <TrackID>long</TrackID> <TourPriceID>int</TourPriceID> <ExtraID>long</ExtraID> <ExtraName>string</ExtraName> <ExtraDescription>string</ExtraDescription> <ResevationDate>dateTime</ResevationDate> <ReservationDateTo>dateTime</ReservationDateTo> <TourTitle>string</TourTitle> <TourTypeName>string</TourTypeName> <PnrItemId>long</PnrItemId> <Duration>string</Duration> <PriceCategoryName>string</PriceCategoryName> <VeichleName>string</VeichleName> <VeichleTypeName>string</VeichleTypeName> <FreeTimeReservation>boolean</FreeTimeReservation> <SupplierName>string</SupplierName> <OperatorID>int</OperatorID> <OperatorName>string</OperatorName> <DistributionGroupId>int</DistributionGroupId> <DistributionGroupName>string</DistributionGroupName> <TourThumb>string</TourThumb> <Remark>string</Remark> <TourTitleAlternative>string</TourTitleAlternative> <TotalAmountADT>decimal</TotalAmountADT> <TotalAmountCHD>decimal</TotalAmountCHD> <Comments>string</Comments> <SupplementInformation>string</SupplementInformation> <ProviderInformation>string</ProviderInformation> <SupplementInformationVatNumber>string</SupplementInformationVatNumber> <ServiceStartDate>dateTime</ServiceStartDate> <ServiceEndDate>dateTime</ServiceEndDate> <BufferDays>int</BufferDays> </TourInfo> <Origins> <TourOriginData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourOriginData> <TourOriginData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourOriginData> </Origins> <Destinations> <TourDestinationData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourDestinationData> <TourDestinationData> <CityID>string</CityID> <CityName>string</CityName> <CountryID>string</CountryID> </TourDestinationData> </Destinations> <Passengers> <TourPaxData> <PaxIndex>int</PaxIndex> </TourPaxData> <TourPaxData> <PaxIndex>int</PaxIndex> </TourPaxData> </Passengers> <ReservationInfo> <WebServiceId>int</WebServiceId> <CredentialId>int</CredentialId> <ServiceTypeId>Hotel or Car or Flight or Ticket or CityTour or Tour or Transfer or Package or Insurance or Payment or CreditAnalysis or Cruise</ServiceTypeId> <Markup>decimal</Markup> <MarkupEngineAmount>decimal</MarkupEngineAmount> <MarkupEnginePercent>decimal</MarkupEnginePercent> <ExchangeRate>decimal</ExchangeRate> <TotalAmountNet>decimal</TotalAmountNet> <TotalAmount>decimal</TotalAmount> <ConversionFactorValue>decimal</ConversionFactorValue> <TotalAmountConverted>decimal</TotalAmountConverted> <AvgDayPriceNet>decimal</AvgDayPriceNet> <AvgDayPrice>decimal</AvgDayPrice> <LastModifiedDate>dateTime</LastModifiedDate> <SystemDeadLineDate>dateTime</SystemDeadLineDate> <VendorDeadLineDate>dateTime</VendorDeadLineDate> <CurrencyNet>string</CurrencyNet> <Currency>string</Currency> <ExchangeCurrency>string</ExchangeCurrency> <Remarks>string</Remarks> <CustomerBillingAddress> <CustomerBillingAddress xsi:nil="true" /> <CustomerBillingAddress xsi:nil="true" /> </CustomerBillingAddress> <BlockPnrTypeUpdate>boolean</BlockPnrTypeUpdate> <KeyValueItems> <KeyValueItem xsi:nil="true" /> <KeyValueItem xsi:nil="true" /> </KeyValueItems> <Approvals> <Approval xsi:nil="true" /> <Approval xsi:nil="true" /> </Approvals> <EmissionAutomatic>boolean</EmissionAutomatic> <DeadLineLimit>dateTime</DeadLineLimit> <TaxInfo> <HotelTax xsi:nil="true" /> <HotelTax xsi:nil="true" /> </TaxInfo> <CostCenter>string</CostCenter> <TripPurpose>string</TripPurpose> <AutomaticCancel>boolean</AutomaticCancel> <CardSegment>string</CardSegment> <TotalValueTax>decimal</TotalValueTax> <QuotationId>int</QuotationId> <Observation>string</Observation> <CommissionAmount>decimal</CommissionAmount> <ShoppingCartItemId>string</ShoppingCartItemId> <CommissionId>int</CommissionId> <CommissionName>string</CommissionName> </ReservationInfo> <TaxInfo> <TourTaxData> <TourTax_Id>long</TourTax_Id> <PNRItem_Id>long</PNRItem_Id> <TypeTax>int</TypeTax> <Value>decimal</Value> <Currency>string</Currency> <TotalTaxAmount>decimal</TotalTaxAmount> <Description>string</Description> </TourTaxData> <TourTaxData> <TourTax_Id>long</TourTax_Id> <PNRItem_Id>long</PNRItem_Id> <TypeTax>int</TypeTax> <Value>decimal</Value> <Currency>string</Currency> <TotalTaxAmount>decimal</TotalTaxAmount> <Description>string</Description> </TourTaxData> </TaxInfo> <TourQuestion> <TourQuestionData> <message>string</message> <title>string</title> <questionId>int</questionId> <subTitle>string</subTitle> <answer>string</answer> <required>boolean</required> </TourQuestionData> <TourQuestionData> <message>string</message> <title>string</title> <questionId>int</questionId> <subTitle>string</subTitle> <answer>string</answer> <required>boolean</required> </TourQuestionData> </TourQuestion> </Reservation> </UpdateTourReservation> </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> <UpdateTourReservationResponse xmlns="http://ws.travelsuite.com.br"> <UpdateTourReservationResult>long</UpdateTourReservationResult> </UpdateTourReservationResponse> </soap12:Body> </soap12:Envelope>