wsReservation


Click here for a complete list of operations.

AddCarReservation

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

<?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>
    <AddCarReservation xmlns="http://ws.travelsuite.com.br">
      <PNRId>long</PNRId>
      <ContractId>int</ContractId>
      <Reservation>
        <CarInfo>
          <TrackId>long</TrackId>
          <CarId>long</CarId>
          <CarRateId>long</CarRateId>
          <BaggageQuantity>short</BaggageQuantity>
          <PassengerQuantity>string</PassengerQuantity>
          <DistanceUnitName>Kilometers or Miles or Default</DistanceUnitName>
          <DistanceUnitLimited>short</DistanceUnitLimited>
          <Purpose>short</Purpose>
          <AirConditionInd>boolean</AirConditionInd>
          <GuaranteeIncluded>boolean</GuaranteeIncluded>
          <TaxIncluse>boolean</TaxIncluse>
          <PickUpDateTime>dateTime</PickUpDateTime>
          <PickUpLocation>string</PickUpLocation>
          <PickUpLocationName>string</PickUpLocationName>
          <ReturnDateTime>dateTime</ReturnDateTime>
          <ReturnLocation>string</ReturnLocation>
          <ReturnLocationName>string</ReturnLocationName>
          <CorpDiscountNumber>string</CorpDiscountNumber>
          <FidelityCodeNumber>string</FidelityCodeNumber>
          <PromotionCode>string</PromotionCode>
          <CarCategory>string</CarCategory>
          <CarName>string</CarName>
          <PictureUrl>string</PictureUrl>
          <TransmissionType>string</TransmissionType>
          <VendorWarnings>string</VendorWarnings>
          <VendorName>string</VendorName>
          <VendorCode>string</VendorCode>
          <CarRateName>string</CarRateName>
          <ExtraInfo>string</ExtraInfo>
          <MarketingAirlineArrival>string</MarketingAirlineArrival>
          <FlightNumberArrival>string</FlightNumberArrival>
          <PickUpAddress>string</PickUpAddress>
          <ReturnAddress>string</ReturnAddress>
          <RateQualifier>string</RateQualifier>
          <DropChargeCurrency>string</DropChargeCurrency>
          <DropChargeAmount>decimal</DropChargeAmount>
          <CarTypeDescription>string</CarTypeDescription>
          <SendRateQualifierAtTemplateBody>boolean</SendRateQualifierAtTemplateBody>
          <IsVisibleCalculateFeeWithPrice>boolean</IsVisibleCalculateFeeWithPrice>
          <Commission>decimal</Commission>
          <RQDescription>string</RQDescription>
          <VendorAccountingNumber>string</VendorAccountingNumber>
          <TourNumber>string</TourNumber>
        </CarInfo>
        <FeeReferences>
          <CarFeeInfoData>
            <ChargeAmount>decimal</ChargeAmount>
            <ExtraMileageCharge>decimal</ExtraMileageCharge>
            <MileageAllowance>decimal</MileageAllowance>
            <PenaltyFeeInfo>decimal</PenaltyFeeInfo>
            <TaxAmount>decimal</TaxAmount>
            <PenaltyFeeDeadLine>dateTime</PenaltyFeeDeadLine>
            <ChargeAmountCurrency>string</ChargeAmountCurrency>
            <ExtraMileageCurrency>string</ExtraMileageCurrency>
            <PenaltyFeeInfoCurrency>string</PenaltyFeeInfoCurrency>
            <TaxCurrencyCode>string</TaxCurrencyCode>
            <Description>string</Description>
          </CarFeeInfoData>
          <CarFeeInfoData>
            <ChargeAmount>decimal</ChargeAmount>
            <ExtraMileageCharge>decimal</ExtraMileageCharge>
            <MileageAllowance>decimal</MileageAllowance>
            <PenaltyFeeInfo>decimal</PenaltyFeeInfo>
            <TaxAmount>decimal</TaxAmount>
            <PenaltyFeeDeadLine>dateTime</PenaltyFeeDeadLine>
            <ChargeAmountCurrency>string</ChargeAmountCurrency>
            <ExtraMileageCurrency>string</ExtraMileageCurrency>
            <PenaltyFeeInfoCurrency>string</PenaltyFeeInfoCurrency>
            <TaxCurrencyCode>string</TaxCurrencyCode>
            <Description>string</Description>
          </CarFeeInfoData>
        </FeeReferences>
        <Drivers>
          <CarDriverData>
            <PaxIndex>int</PaxIndex>
            <MainDriver>boolean</MainDriver>
          </CarDriverData>
          <CarDriverData>
            <PaxIndex>int</PaxIndex>
            <MainDriver>boolean</MainDriver>
          </CarDriverData>
        </Drivers>
        <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>
        <Equipments>
          <CarEquipmentData>
            <Code>string</Code>
            <Description>string</Description>
            <Plan>string</Plan>
            <IncludeInRate>boolean</IncludeInRate>
            <Status>boolean</Status>
            <Quantity>int</Quantity>
            <CurrencyNet>string</CurrencyNet>
            <AmountNet>decimal</AmountNet>
            <Currency>string</Currency>
            <Amount>decimal</Amount>
          </CarEquipmentData>
          <CarEquipmentData>
            <Code>string</Code>
            <Description>string</Description>
            <Plan>string</Plan>
            <IncludeInRate>boolean</IncludeInRate>
            <Status>boolean</Status>
            <Quantity>int</Quantity>
            <CurrencyNet>string</CurrencyNet>
            <AmountNet>decimal</AmountNet>
            <Currency>string</Currency>
            <Amount>decimal</Amount>
          </CarEquipmentData>
        </Equipments>
        <TaxInfo>
          <CarTaxData>
            <CarTax_Id>long</CarTax_Id>
            <PNRItem_Id>long</PNRItem_Id>
            <TypeTax>int</TypeTax>
            <Value>decimal</Value>
            <Currency>string</Currency>
            <TotalTaxAmount>decimal</TotalTaxAmount>
            <Description>string</Description>
          </CarTaxData>
          <CarTaxData>
            <CarTax_Id>long</CarTax_Id>
            <PNRItem_Id>long</PNRItem_Id>
            <TypeTax>int</TypeTax>
            <Value>decimal</Value>
            <Currency>string</Currency>
            <TotalTaxAmount>decimal</TotalTaxAmount>
            <Description>string</Description>
          </CarTaxData>
        </TaxInfo>
      </Reservation>
    </AddCarReservation>
  </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>
    <AddCarReservationResponse xmlns="http://ws.travelsuite.com.br">
      <AddCarReservationResult>long</AddCarReservationResult>
    </AddCarReservationResponse>
  </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>
    <AddCarReservation xmlns="http://ws.travelsuite.com.br">
      <PNRId>long</PNRId>
      <ContractId>int</ContractId>
      <Reservation>
        <CarInfo>
          <TrackId>long</TrackId>
          <CarId>long</CarId>
          <CarRateId>long</CarRateId>
          <BaggageQuantity>short</BaggageQuantity>
          <PassengerQuantity>string</PassengerQuantity>
          <DistanceUnitName>Kilometers or Miles or Default</DistanceUnitName>
          <DistanceUnitLimited>short</DistanceUnitLimited>
          <Purpose>short</Purpose>
          <AirConditionInd>boolean</AirConditionInd>
          <GuaranteeIncluded>boolean</GuaranteeIncluded>
          <TaxIncluse>boolean</TaxIncluse>
          <PickUpDateTime>dateTime</PickUpDateTime>
          <PickUpLocation>string</PickUpLocation>
          <PickUpLocationName>string</PickUpLocationName>
          <ReturnDateTime>dateTime</ReturnDateTime>
          <ReturnLocation>string</ReturnLocation>
          <ReturnLocationName>string</ReturnLocationName>
          <CorpDiscountNumber>string</CorpDiscountNumber>
          <FidelityCodeNumber>string</FidelityCodeNumber>
          <PromotionCode>string</PromotionCode>
          <CarCategory>string</CarCategory>
          <CarName>string</CarName>
          <PictureUrl>string</PictureUrl>
          <TransmissionType>string</TransmissionType>
          <VendorWarnings>string</VendorWarnings>
          <VendorName>string</VendorName>
          <VendorCode>string</VendorCode>
          <CarRateName>string</CarRateName>
          <ExtraInfo>string</ExtraInfo>
          <MarketingAirlineArrival>string</MarketingAirlineArrival>
          <FlightNumberArrival>string</FlightNumberArrival>
          <PickUpAddress>string</PickUpAddress>
          <ReturnAddress>string</ReturnAddress>
          <RateQualifier>string</RateQualifier>
          <DropChargeCurrency>string</DropChargeCurrency>
          <DropChargeAmount>decimal</DropChargeAmount>
          <CarTypeDescription>string</CarTypeDescription>
          <SendRateQualifierAtTemplateBody>boolean</SendRateQualifierAtTemplateBody>
          <IsVisibleCalculateFeeWithPrice>boolean</IsVisibleCalculateFeeWithPrice>
          <Commission>decimal</Commission>
          <RQDescription>string</RQDescription>
          <VendorAccountingNumber>string</VendorAccountingNumber>
          <TourNumber>string</TourNumber>
        </CarInfo>
        <FeeReferences>
          <CarFeeInfoData>
            <ChargeAmount>decimal</ChargeAmount>
            <ExtraMileageCharge>decimal</ExtraMileageCharge>
            <MileageAllowance>decimal</MileageAllowance>
            <PenaltyFeeInfo>decimal</PenaltyFeeInfo>
            <TaxAmount>decimal</TaxAmount>
            <PenaltyFeeDeadLine>dateTime</PenaltyFeeDeadLine>
            <ChargeAmountCurrency>string</ChargeAmountCurrency>
            <ExtraMileageCurrency>string</ExtraMileageCurrency>
            <PenaltyFeeInfoCurrency>string</PenaltyFeeInfoCurrency>
            <TaxCurrencyCode>string</TaxCurrencyCode>
            <Description>string</Description>
          </CarFeeInfoData>
          <CarFeeInfoData>
            <ChargeAmount>decimal</ChargeAmount>
            <ExtraMileageCharge>decimal</ExtraMileageCharge>
            <MileageAllowance>decimal</MileageAllowance>
            <PenaltyFeeInfo>decimal</PenaltyFeeInfo>
            <TaxAmount>decimal</TaxAmount>
            <PenaltyFeeDeadLine>dateTime</PenaltyFeeDeadLine>
            <ChargeAmountCurrency>string</ChargeAmountCurrency>
            <ExtraMileageCurrency>string</ExtraMileageCurrency>
            <PenaltyFeeInfoCurrency>string</PenaltyFeeInfoCurrency>
            <TaxCurrencyCode>string</TaxCurrencyCode>
            <Description>string</Description>
          </CarFeeInfoData>
        </FeeReferences>
        <Drivers>
          <CarDriverData>
            <PaxIndex>int</PaxIndex>
            <MainDriver>boolean</MainDriver>
          </CarDriverData>
          <CarDriverData>
            <PaxIndex>int</PaxIndex>
            <MainDriver>boolean</MainDriver>
          </CarDriverData>
        </Drivers>
        <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>
        <Equipments>
          <CarEquipmentData>
            <Code>string</Code>
            <Description>string</Description>
            <Plan>string</Plan>
            <IncludeInRate>boolean</IncludeInRate>
            <Status>boolean</Status>
            <Quantity>int</Quantity>
            <CurrencyNet>string</CurrencyNet>
            <AmountNet>decimal</AmountNet>
            <Currency>string</Currency>
            <Amount>decimal</Amount>
          </CarEquipmentData>
          <CarEquipmentData>
            <Code>string</Code>
            <Description>string</Description>
            <Plan>string</Plan>
            <IncludeInRate>boolean</IncludeInRate>
            <Status>boolean</Status>
            <Quantity>int</Quantity>
            <CurrencyNet>string</CurrencyNet>
            <AmountNet>decimal</AmountNet>
            <Currency>string</Currency>
            <Amount>decimal</Amount>
          </CarEquipmentData>
        </Equipments>
        <TaxInfo>
          <CarTaxData>
            <CarTax_Id>long</CarTax_Id>
            <PNRItem_Id>long</PNRItem_Id>
            <TypeTax>int</TypeTax>
            <Value>decimal</Value>
            <Currency>string</Currency>
            <TotalTaxAmount>decimal</TotalTaxAmount>
            <Description>string</Description>
          </CarTaxData>
          <CarTaxData>
            <CarTax_Id>long</CarTax_Id>
            <PNRItem_Id>long</PNRItem_Id>
            <TypeTax>int</TypeTax>
            <Value>decimal</Value>
            <Currency>string</Currency>
            <TotalTaxAmount>decimal</TotalTaxAmount>
            <Description>string</Description>
          </CarTaxData>
        </TaxInfo>
      </Reservation>
    </AddCarReservation>
  </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>
    <AddCarReservationResponse xmlns="http://ws.travelsuite.com.br">
      <AddCarReservationResult>long</AddCarReservationResult>
    </AddCarReservationResponse>
  </soap12:Body>
</soap12:Envelope>