wsReservation


Click here for a complete list of operations.

ChangeReservation

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/ChangeReservation"

<?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>
    <ChangeReservation xmlns="http://ws.travelsuite.com.br">
      <request>
        <PNRId>long</PNRId>
        <PNRItemId>long</PNRItemId>
        <ContractId>int</ContractId>
        <User>string</User>
        <Reservation>
          <FlightInfo>
            <SearchId>long</SearchId>
            <TripType>OneWay or RoundTrip or Multiple or Default</TripType>
            <AdultsAmount>short</AdultsAmount>
            <ChildrenAmount>short</ChildrenAmount>
            <InfantAmount>short</InfantAmount>
            <ExtraInfo>string</ExtraInfo>
            <SearchType>LowFare or Avail or WithDeals</SearchType>
            <BargainPrice>boolean</BargainPrice>
            <Language>pt_BR or es_ES or en_US or Default</Language>
            <CurrencyCode>string</CurrencyCode>
            <DealId>int</DealId>
            <DealPriceId>int</DealPriceId>
            <DealType>None or BargainFare or ExclusiveFare or ExclusiveNetFare or Default</DealType>
            <Commission>decimal</Commission>
            <Incentive>decimal</Incentive>
            <AdtPrice>decimal</AdtPrice>
            <CnnPrice>decimal</CnnPrice>
            <InfPrice>decimal</InfPrice>
            <TaxAmount>decimal</TaxAmount>
            <PaymentOnLine>boolean</PaymentOnLine>
            <TaxInstallment>decimal</TaxInstallment>
            <AfipAmount>decimal</AfipAmount>
            <RuleComission>string</RuleComission>
            <Baggage>short</Baggage>
            <HandBag>boolean</HandBag>
            <Family>string</Family>
            <TaxLabel>string</TaxLabel>
          </FlightInfo>
          <Segments>
            <FlightSegmentData xsi:nil="true" />
            <FlightSegmentData xsi:nil="true" />
          </Segments>
          <FareBreakdown>
            <FareBreakDownData xsi:nil="true" />
            <FareBreakDownData xsi:nil="true" />
          </FareBreakdown>
          <Passengers>
            <FlightPaxData xsi:nil="true" />
            <FlightPaxData xsi:nil="true" />
          </Passengers>
          <TaxService>
            <FlightTaxData xsi:nil="true" />
            <FlightTaxData xsi:nil="true" />
          </TaxService>
          <Taxes>
            <FlightTaxDto xsi:nil="true" />
            <FlightTaxDto xsi:nil="true" />
          </Taxes>
          <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 xsi:nil="true" />
            <BlockPnrTypeUpdate>boolean</BlockPnrTypeUpdate>
            <KeyValueItems xsi:nil="true" />
            <Approvals xsi:nil="true" />
            <EmissionAutomatic>boolean</EmissionAutomatic>
            <DeadLineLimit>dateTime</DeadLineLimit>
            <TaxInfo xsi:nil="true" />
            <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>
        </Reservation>
      </request>
    </ChangeReservation>
  </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>
    <ChangeReservationResponse xmlns="http://ws.travelsuite.com.br" />
  </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>
    <ChangeReservation xmlns="http://ws.travelsuite.com.br">
      <request>
        <PNRId>long</PNRId>
        <PNRItemId>long</PNRItemId>
        <ContractId>int</ContractId>
        <User>string</User>
        <Reservation>
          <FlightInfo>
            <SearchId>long</SearchId>
            <TripType>OneWay or RoundTrip or Multiple or Default</TripType>
            <AdultsAmount>short</AdultsAmount>
            <ChildrenAmount>short</ChildrenAmount>
            <InfantAmount>short</InfantAmount>
            <ExtraInfo>string</ExtraInfo>
            <SearchType>LowFare or Avail or WithDeals</SearchType>
            <BargainPrice>boolean</BargainPrice>
            <Language>pt_BR or es_ES or en_US or Default</Language>
            <CurrencyCode>string</CurrencyCode>
            <DealId>int</DealId>
            <DealPriceId>int</DealPriceId>
            <DealType>None or BargainFare or ExclusiveFare or ExclusiveNetFare or Default</DealType>
            <Commission>decimal</Commission>
            <Incentive>decimal</Incentive>
            <AdtPrice>decimal</AdtPrice>
            <CnnPrice>decimal</CnnPrice>
            <InfPrice>decimal</InfPrice>
            <TaxAmount>decimal</TaxAmount>
            <PaymentOnLine>boolean</PaymentOnLine>
            <TaxInstallment>decimal</TaxInstallment>
            <AfipAmount>decimal</AfipAmount>
            <RuleComission>string</RuleComission>
            <Baggage>short</Baggage>
            <HandBag>boolean</HandBag>
            <Family>string</Family>
            <TaxLabel>string</TaxLabel>
          </FlightInfo>
          <Segments>
            <FlightSegmentData xsi:nil="true" />
            <FlightSegmentData xsi:nil="true" />
          </Segments>
          <FareBreakdown>
            <FareBreakDownData xsi:nil="true" />
            <FareBreakDownData xsi:nil="true" />
          </FareBreakdown>
          <Passengers>
            <FlightPaxData xsi:nil="true" />
            <FlightPaxData xsi:nil="true" />
          </Passengers>
          <TaxService>
            <FlightTaxData xsi:nil="true" />
            <FlightTaxData xsi:nil="true" />
          </TaxService>
          <Taxes>
            <FlightTaxDto xsi:nil="true" />
            <FlightTaxDto xsi:nil="true" />
          </Taxes>
          <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 xsi:nil="true" />
            <BlockPnrTypeUpdate>boolean</BlockPnrTypeUpdate>
            <KeyValueItems xsi:nil="true" />
            <Approvals xsi:nil="true" />
            <EmissionAutomatic>boolean</EmissionAutomatic>
            <DeadLineLimit>dateTime</DeadLineLimit>
            <TaxInfo xsi:nil="true" />
            <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>
        </Reservation>
      </request>
    </ChangeReservation>
  </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>
    <ChangeReservationResponse xmlns="http://ws.travelsuite.com.br" />
  </soap12:Body>
</soap12:Envelope>