Skip to main content

Get Vehicle Availability Request Structure

Use the left navigation of this guide to view detailed descriptions for each element and attribute used in a GetVehAvailRQ request.

Request structures can be found below, ranging from a minimal structure to a full structure:

Minimum Complete Structure

Minimum complete structure for a GetVehAvailRQ, with a single airport location, and multiple car suppliers:

<GetVehAvailRQ>
<SearchCriteria PickUpDate="yyyy-mm-dd" PickUpTime="hh:mm" ReturnDate="yyyy-mm-dd" ReturnTime="00:00">
        <RentalLocRef>
            <PickUpLocation LocationCode=" "/>
        </RentalLocRef>
<RatePrefs ConvertedRateInfoOnly=" " SupplierCurrencyOnly=" ">
        <LocPolicyRef include="true"/>
    </SearchCriteria>
</GetVehAvailRQ>

Maximum Complete Structure

Maximum complete structure for a GetVehAvailRQ, with multiple locations, and multiple car suppliers:

<GetVehAvailRQ>
    <POS>
        <Source PseudoCityCode=" "/>
    </POS>
    <SearchCriteria PickUpDate="yyyy-mm-dd" PickUpTime="hh:mm" ReturnDate="yyyy-mm-dd" ReturnTime="00:00" DeliveryCollection="B" SortBy=" " SortOrder=" ">
        <RentalLocRef>
            <PickUpLocation LocationCode=" " ExtendedLocationCode=" "/>
            <ReturnLocation LocationCode=" " ExtendedLocationCode=" "/>
        </RentalLocRef>
        <PickUpRef>
            <AirportRef>
                <PickUpLocation LocationCode="000"/>
                <ReturnLocation LocationCode="000"/>
            </AirportRef>
            <GeoRef MaxLocations=" " Radius=" " UOM=" " Direction=" ">
                <PickUpLocRef>
                    <GeoCode Latitude=" " Longitude=" "/>
                    <RefPoint Value=" " ValueContext=" " RefPointType=" "           StateProv=" " CountryCode=" " PostalCode=" " CityName=" "/>
                    <AddressRef Street=" " City=" " County=" " PostalCode=" " StateProv=" " CountryCode=" "/>
                </PickUpLocRef>
                <ReturnLocRef>
                    <GeoCode Latitude=" " Longitude=" "/>
                    <RefPoint Value=" " ValueContext=" " RefPointType=" " StateProv=" " CountryCode=" " PostalCode=" " CityName=" "/>
                    <AddressRef Street=" " City=" " County=" " PostalCode=" " StateProv=" " CountryCode=" "/>
                </ReturnLocRef>
            </GeoRef>
            <VendorPrefs>
                <VendorPref Code=" "/>  Repeat up to 10
       
            </VendorPrefs>
            <RatePrefs Commission=" " RateAssured=" " RateCategory=" " RatePlan=" "
               CurrencyCode=" " ConvertedRateInfoOnly=" " SupplierCurrencyOnly=" ">
                <CustLoyalty MembershipType=" " MembershipId=" " MembershipCode=" "/>  
            Repeat each membershiptype up to 50 for each ID/Code (car supplier number)
           
                <GuaranteePrepaid Type="GP"/>
                <RateCode Code=" "/>
            Repeat each RateCode up to 50 for each (car supplier ratecode name)
       
            </RatePrefs>
            <VehPrefs>                  Either VehPref or SeatBeltsAndBagsInfo
           
                <VehPref>
                    <VehType>4character cartype</VehType>
                </VehPref>
                <SeatBeltsAndBagsInfo>
                    <SeatBelts Quantity="1"/>
                    <BagsInfo>
                        <Bags Quantity="1" Size="Large"/>
                    </BagsInfo>
                </SeatBeltsAndBagsInfo>
            </VehPrefs>
            <CarExtrasPrefs>
                <CarExtrasPref EquipType=" "/>  Repeat up to 10 times
       
            </CarExtrasPrefs>
            <LocPolicyRef include="true"/>
            <ImageRef>
                <Image Type=" "/>
            </ImageRef>
        </SearchCriteria>
    </GetVehAvailRQ>