PerfectXML


Click here for a complete list of operations.

AirLowFareSearch

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 /perfectxml.asmx HTTP/1.1
Host: webservices.perfectibe.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.perfectibe.com/AirLowFareSearch"

<?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>
    <AirLowFareSearch xmlns="http://webservices.perfectibe.com/">
      <AirLowFareSearchRQ>
        <Authentication>
          <UserName>string</UserName>
          <Password>string</Password>
          <WebSiteID>string</WebSiteID>
          <APIKey>string</APIKey>
          <APIRev>string</APIRev>
          <UserID>string</UserID>
          <UserHostAddress>string</UserHostAddress>
          <UserAgent>string</UserAgent>
          <UserHostName>string</UserHostName>
        </Authentication>
        <OriginDestinationAry>
          <OriginDestination>
            <DepartureCityCode>string</DepartureCityCode>
            <DepartureRadius>int</DepartureRadius>
            <DepartureRadiusUnit>string</DepartureRadiusUnit>
            <ArrivalCityCode>string</ArrivalCityCode>
            <ArrivalRadius>int</ArrivalRadius>
            <ArrivalRadiusUnit>string</ArrivalRadiusUnit>
            <FlightTimestamp>dateTime</FlightTimestamp>
            <FlightDateFlex>int</FlightDateFlex>
            <FlightTimeType>string</FlightTimeType>
          </OriginDestination>
          <OriginDestination>
            <DepartureCityCode>string</DepartureCityCode>
            <DepartureRadius>int</DepartureRadius>
            <DepartureRadiusUnit>string</DepartureRadiusUnit>
            <ArrivalCityCode>string</ArrivalCityCode>
            <ArrivalRadius>int</ArrivalRadius>
            <ArrivalRadiusUnit>string</ArrivalRadiusUnit>
            <FlightTimestamp>dateTime</FlightTimestamp>
            <FlightDateFlex>int</FlightDateFlex>
            <FlightTimeType>string</FlightTimeType>
          </OriginDestination>
        </OriginDestinationAry>
        <Traveller>
          <NumberOfAdults>int</NumberOfAdults>
          <NumberOfChildren>int</NumberOfChildren>
          <NumberOfInfants>int</NumberOfInfants>
          <NumberOfInfantsWithSeat>int</NumberOfInfantsWithSeat>
        </Traveller>
        <Options>
          <Cabin>string</Cabin>
          <AirlineList>string</AirlineList>
          <AirlineExcludeList>string</AirlineExcludeList>
          <ViaList>string</ViaList>
          <CouponList>string</CouponList>
          <ExcludeList>string</ExcludeList>
          <NonStop>boolean</NonStop>
          <TrackID>string</TrackID>
          <ResultCount>int</ResultCount>
          <SearchPCC>string</SearchPCC>
          <FareType>string</FareType>
          <CorporateCode>string</CorporateCode>
        </Options>
      </AirLowFareSearchRQ>
    </AirLowFareSearch>
  </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>
    <AirLowFareSearchResponse xmlns="http://webservices.perfectibe.com/">
      <AirLowFareSearchResult>
        <Errors>
          <Code>string</Code>
          <Description>string</Description>
        </Errors>
        <ItineraryAry>
          <Itinerary>
            <ItineraryRef>short</ItineraryRef>
            <ItineraryToken>string</ItineraryToken>
            <FareBrand>string</FareBrand>
            <FareBrandName>string</FareBrandName>
            <FareBrandDesc>string</FareBrandDesc>
            <FareBrandAmenities>string</FareBrandAmenities>
            <FareType>string</FareType>
            <SpecialText>string</SpecialText>
            <TicketType>E or P</TicketType>
            <Recommended>boolean</Recommended>
            <BlockLogo>boolean</BlockLogo>
            <ValidatingCarrier>string</ValidatingCarrier>
            <ValidatingCarrierLogo>string</ValidatingCarrierLogo>
            <LastTicketingDate>dateTime</LastTicketingDate>
            <Currency>string</Currency>
            <GrandTotal>decimal</GrandTotal>
            <GrandTax>decimal</GrandTax>
            <AdultCount>int</AdultCount>
            <AdultTotal>decimal</AdultTotal>
            <AdultTax>decimal</AdultTax>
            <AdultServiceFee>string</AdultServiceFee>
            <ChildCount>int</ChildCount>
            <ChildTotal>decimal</ChildTotal>
            <ChildTax>decimal</ChildTax>
            <ChildServiceFee>string</ChildServiceFee>
            <InfantCount>int</InfantCount>
            <InfantTotal>decimal</InfantTotal>
            <InfantTax>decimal</InfantTax>
            <InfantServiceFee>string</InfantServiceFee>
            <InfantWithSeatCount>int</InfantWithSeatCount>
            <InfantWithSeatTotal>decimal</InfantWithSeatTotal>
            <InfantWithSeatTax>decimal</InfantWithSeatTax>
            <InfantWithSeatServiceFee>string</InfantWithSeatServiceFee>
            <LegAry xsi:nil="true" />
            <AdditionalFareAry xsi:nil="true" />
          </Itinerary>
          <Itinerary>
            <ItineraryRef>short</ItineraryRef>
            <ItineraryToken>string</ItineraryToken>
            <FareBrand>string</FareBrand>
            <FareBrandName>string</FareBrandName>
            <FareBrandDesc>string</FareBrandDesc>
            <FareBrandAmenities>string</FareBrandAmenities>
            <FareType>string</FareType>
            <SpecialText>string</SpecialText>
            <TicketType>E or P</TicketType>
            <Recommended>boolean</Recommended>
            <BlockLogo>boolean</BlockLogo>
            <ValidatingCarrier>string</ValidatingCarrier>
            <ValidatingCarrierLogo>string</ValidatingCarrierLogo>
            <LastTicketingDate>dateTime</LastTicketingDate>
            <Currency>string</Currency>
            <GrandTotal>decimal</GrandTotal>
            <GrandTax>decimal</GrandTax>
            <AdultCount>int</AdultCount>
            <AdultTotal>decimal</AdultTotal>
            <AdultTax>decimal</AdultTax>
            <AdultServiceFee>string</AdultServiceFee>
            <ChildCount>int</ChildCount>
            <ChildTotal>decimal</ChildTotal>
            <ChildTax>decimal</ChildTax>
            <ChildServiceFee>string</ChildServiceFee>
            <InfantCount>int</InfantCount>
            <InfantTotal>decimal</InfantTotal>
            <InfantTax>decimal</InfantTax>
            <InfantServiceFee>string</InfantServiceFee>
            <InfantWithSeatCount>int</InfantWithSeatCount>
            <InfantWithSeatTotal>decimal</InfantWithSeatTotal>
            <InfantWithSeatTax>decimal</InfantWithSeatTax>
            <InfantWithSeatServiceFee>string</InfantWithSeatServiceFee>
            <LegAry xsi:nil="true" />
            <AdditionalFareAry xsi:nil="true" />
          </Itinerary>
        </ItineraryAry>
      </AirLowFareSearchResult>
    </AirLowFareSearchResponse>
  </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 /perfectxml.asmx HTTP/1.1
Host: webservices.perfectibe.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>
    <AirLowFareSearch xmlns="http://webservices.perfectibe.com/">
      <AirLowFareSearchRQ>
        <Authentication>
          <UserName>string</UserName>
          <Password>string</Password>
          <WebSiteID>string</WebSiteID>
          <APIKey>string</APIKey>
          <APIRev>string</APIRev>
          <UserID>string</UserID>
          <UserHostAddress>string</UserHostAddress>
          <UserAgent>string</UserAgent>
          <UserHostName>string</UserHostName>
        </Authentication>
        <OriginDestinationAry>
          <OriginDestination>
            <DepartureCityCode>string</DepartureCityCode>
            <DepartureRadius>int</DepartureRadius>
            <DepartureRadiusUnit>string</DepartureRadiusUnit>
            <ArrivalCityCode>string</ArrivalCityCode>
            <ArrivalRadius>int</ArrivalRadius>
            <ArrivalRadiusUnit>string</ArrivalRadiusUnit>
            <FlightTimestamp>dateTime</FlightTimestamp>
            <FlightDateFlex>int</FlightDateFlex>
            <FlightTimeType>string</FlightTimeType>
          </OriginDestination>
          <OriginDestination>
            <DepartureCityCode>string</DepartureCityCode>
            <DepartureRadius>int</DepartureRadius>
            <DepartureRadiusUnit>string</DepartureRadiusUnit>
            <ArrivalCityCode>string</ArrivalCityCode>
            <ArrivalRadius>int</ArrivalRadius>
            <ArrivalRadiusUnit>string</ArrivalRadiusUnit>
            <FlightTimestamp>dateTime</FlightTimestamp>
            <FlightDateFlex>int</FlightDateFlex>
            <FlightTimeType>string</FlightTimeType>
          </OriginDestination>
        </OriginDestinationAry>
        <Traveller>
          <NumberOfAdults>int</NumberOfAdults>
          <NumberOfChildren>int</NumberOfChildren>
          <NumberOfInfants>int</NumberOfInfants>
          <NumberOfInfantsWithSeat>int</NumberOfInfantsWithSeat>
        </Traveller>
        <Options>
          <Cabin>string</Cabin>
          <AirlineList>string</AirlineList>
          <AirlineExcludeList>string</AirlineExcludeList>
          <ViaList>string</ViaList>
          <CouponList>string</CouponList>
          <ExcludeList>string</ExcludeList>
          <NonStop>boolean</NonStop>
          <TrackID>string</TrackID>
          <ResultCount>int</ResultCount>
          <SearchPCC>string</SearchPCC>
          <FareType>string</FareType>
          <CorporateCode>string</CorporateCode>
        </Options>
      </AirLowFareSearchRQ>
    </AirLowFareSearch>
  </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>
    <AirLowFareSearchResponse xmlns="http://webservices.perfectibe.com/">
      <AirLowFareSearchResult>
        <Errors>
          <Code>string</Code>
          <Description>string</Description>
        </Errors>
        <ItineraryAry>
          <Itinerary>
            <ItineraryRef>short</ItineraryRef>
            <ItineraryToken>string</ItineraryToken>
            <FareBrand>string</FareBrand>
            <FareBrandName>string</FareBrandName>
            <FareBrandDesc>string</FareBrandDesc>
            <FareBrandAmenities>string</FareBrandAmenities>
            <FareType>string</FareType>
            <SpecialText>string</SpecialText>
            <TicketType>E or P</TicketType>
            <Recommended>boolean</Recommended>
            <BlockLogo>boolean</BlockLogo>
            <ValidatingCarrier>string</ValidatingCarrier>
            <ValidatingCarrierLogo>string</ValidatingCarrierLogo>
            <LastTicketingDate>dateTime</LastTicketingDate>
            <Currency>string</Currency>
            <GrandTotal>decimal</GrandTotal>
            <GrandTax>decimal</GrandTax>
            <AdultCount>int</AdultCount>
            <AdultTotal>decimal</AdultTotal>
            <AdultTax>decimal</AdultTax>
            <AdultServiceFee>string</AdultServiceFee>
            <ChildCount>int</ChildCount>
            <ChildTotal>decimal</ChildTotal>
            <ChildTax>decimal</ChildTax>
            <ChildServiceFee>string</ChildServiceFee>
            <InfantCount>int</InfantCount>
            <InfantTotal>decimal</InfantTotal>
            <InfantTax>decimal</InfantTax>
            <InfantServiceFee>string</InfantServiceFee>
            <InfantWithSeatCount>int</InfantWithSeatCount>
            <InfantWithSeatTotal>decimal</InfantWithSeatTotal>
            <InfantWithSeatTax>decimal</InfantWithSeatTax>
            <InfantWithSeatServiceFee>string</InfantWithSeatServiceFee>
            <LegAry xsi:nil="true" />
            <AdditionalFareAry xsi:nil="true" />
          </Itinerary>
          <Itinerary>
            <ItineraryRef>short</ItineraryRef>
            <ItineraryToken>string</ItineraryToken>
            <FareBrand>string</FareBrand>
            <FareBrandName>string</FareBrandName>
            <FareBrandDesc>string</FareBrandDesc>
            <FareBrandAmenities>string</FareBrandAmenities>
            <FareType>string</FareType>
            <SpecialText>string</SpecialText>
            <TicketType>E or P</TicketType>
            <Recommended>boolean</Recommended>
            <BlockLogo>boolean</BlockLogo>
            <ValidatingCarrier>string</ValidatingCarrier>
            <ValidatingCarrierLogo>string</ValidatingCarrierLogo>
            <LastTicketingDate>dateTime</LastTicketingDate>
            <Currency>string</Currency>
            <GrandTotal>decimal</GrandTotal>
            <GrandTax>decimal</GrandTax>
            <AdultCount>int</AdultCount>
            <AdultTotal>decimal</AdultTotal>
            <AdultTax>decimal</AdultTax>
            <AdultServiceFee>string</AdultServiceFee>
            <ChildCount>int</ChildCount>
            <ChildTotal>decimal</ChildTotal>
            <ChildTax>decimal</ChildTax>
            <ChildServiceFee>string</ChildServiceFee>
            <InfantCount>int</InfantCount>
            <InfantTotal>decimal</InfantTotal>
            <InfantTax>decimal</InfantTax>
            <InfantServiceFee>string</InfantServiceFee>
            <InfantWithSeatCount>int</InfantWithSeatCount>
            <InfantWithSeatTotal>decimal</InfantWithSeatTotal>
            <InfantWithSeatTax>decimal</InfantWithSeatTax>
            <InfantWithSeatServiceFee>string</InfantWithSeatServiceFee>
            <LegAry xsi:nil="true" />
            <AdditionalFareAry xsi:nil="true" />
          </Itinerary>
        </ItineraryAry>
      </AirLowFareSearchResult>
    </AirLowFareSearchResponse>
  </soap12:Body>
</soap12:Envelope>