Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: AirConditionInd, FuelType, DriveType, VehType, ReturnLocation (Name, LocationDetails) are now optional

Car Availability Search Response returns information about availability and prices from location(s) specified.

Info

Note: Car Availability response returns just basic information about a location. To get full information about car location, you may send Car Rental Location Detail message to GP Travel HUB.

GP_VehAvailRateRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Success

For more information see Common Data Description section in Glossary.

Warnings/Warning

VehAvailRSCore

Availability and rate information for one specific car.

0...1

VehAvailRSCore/VehRentalCore*

Represents common car information.

1...1

PickUpDateTime*

yyyy-mm-dd or yyyy-mm-ddThh-mm-ss

Identify The Date & Time to pickup/return the car.

1...1

ReturnDateTime*

yyyy-mm-dd or yyyy-mm-ddThh-mm-ss

1...1

VehAvailRSCore/VehVendorAvails/VehVendorAvail*

Information on the availability of cars for one specific vendor.

1...*

GP_VehAvailRateRS/VehAvailRSCore/VehVendorAvails/VehVendorAvail*:

Element

Attribute

Type

Description

Min…Max occurs

Vendor

Represents vendor. The element exists only if the information available from supplier.

0...1

CompanyShortName*

string (1 - 32)

Specifies vendor's name.

1...1

Code*

string (1 - 32)

Specifies vendor's code.

1...1

CodeContext*

string (1 - 32)

Supplier code context.

1...1

Vendor/Award

Describes the vendor rating.

0...1

Rating*

string

Number of stars.

1...1

Provider*

string

Describes the provider of vendor rating.

1...1

Vendor/URL

URI

Vendors URL.

0...1

VehAvails/VehAvail*

Represents availability and rate information for one specific car.

1...*

VehAvails/VehAvail/VehAvailCore*

1...1

Info*

Supplemental information associated with the vendor and the availability of the cars.

1...1

GP_VehAvailRateRS/VehAvailRSCore/VehVendorAvails/VehVendorAvail/VehAvails/VehAvail/VehAvailCore*:

Element

Attribute

Type

Description

Min…Max occurs

AvailabilityStatus*

string ("AvailableForSale", "OnRequest")

Defines car availability. It can have the next values: "AvailableForSale" (means that the offer will be immediately confirmed), "OnRequest" (means that you'll need to wait confirmation from vendor).

1...1

BookingCode*

string (1 - 64)

Contains unique ID of the offer. It is required for further reservation of this offer. BookingCode covers the next details: PickUp/Return locations, driver age and residence, car details together with special equipment included in price.

1...1

Vehicle*

Information on one specific car along with detailed information on the charges associated with this car.

1...1

RentalRate

Information on the rates associated with this car. Rate information can include the distance and the base rental cost, along with information on the various factors that may infuence this rate. For example, $20.00 with 100 miles per day or $30.00 for unlimited mileage.

0...1

RentalRate/VehicleCharges/VehicleCharge*

Contains detailed information on one specific charge.

1...99

Amount

For more information see Common Data Description section in Glossary.

0...1

CurrencyCode

0...1

TaxInclusive

boolean

0...1

Description*

string

Contains charge description.

1...1

IncludedInRate*

For more information see Common Data Description section in Glossary.

1...1

Purpose*

integer (1 - 28)

Refers to the list of Vehicle Charge Purpose Types supported by HUB.

1...1

RentalRate/RateQualifier

Indicates the type of rates applicable to the customer, along with any discount number or promotional codes that affect the quoted rate.

0...1

VendorRateID

string (1 - 32)

The identifier assigned to this rate by the vendor.

0...1

TotalCharge*

The total cost of a reservation including taxes.

1...1

EstimatedTotalAmount*

decimal

Total rental charges including any additional mandatory charges (e.g., taxes).

1...1

CurrencyCode*

For more information see Common Data Description section in Glossary.

1...1

Commisionable

0...1

TotalRetailCharge

The total retail cost of a reservation including taxes.

0...1

EstimatedTotalAmount*

decimal

Total rental charges including any additional mandatory charges (e.g., taxes).

1...1

CurrencyCode*

For more information see Common Data Description section in Glossary.

1...1

Commisionable

0...1

PricedEquips/PricedEquip

Special equipment, along with the quantity, restrictions and charge.

0...25

PricedEquips/PricedEquip/Equipment*

Contains details about an equipment, such as text or description.

1...1

EquipType*

integer (1 - 4000)

Denotes the unique equipment id that identifies this Special Equipment item. You require this id when requesting this item.

1...1

Quantity

integer

Number of equipment items. If not specified, then default value is “1”.

0...1

PricedEquips/PricedEquip/Equipment/Description

string

Contains equipment description.

0...1

PricedEquips/PricedEquip/Charge*

The charges as they relate to a single piece of equipment.

1...1

Amount*

For more information see Common Data Description section in Glossary.

1...1

CurrencyCode*

1...1

IncludedInRate*

1...1

TaxInclusive*

1...1

Fees/Fee

A collection of fees associated with this car quotation.

1

0...99

Amount*

For more information see Common Data Description section in Glossary.

1...1

CurrencyCode*

1...1

Purpose

integer (6, 22, 23)

Refer to OpenTravel Code List Vehicle Charge Purpose Type (VCP). The next values are used:

“6” - Supplier Booking Fee.

“22” - Deposit Fee (This is the estimated deposit fee that will be taken from the customer if they book this car).

“23” - Fee to pay on arrival (Amount customer will pay supplier on collection of car).

1...1

GP_VehAvailRateRS/VehAvailRSCore/VehVendorAvails/VehVendorAvail/VehAvails/VehAvail/VehAvailCore/Vehicle*:

Element

Attribute

Type

Description

Min…Max occurs

AirConditionInd

*

boolean

Shows the availability of air conditioning.

1

0...1

TransmissionType

string ("Automatic", "Manual")

Defines the type of transmission.

0...1

FuelType

*

string ("Unspecified", "Diesel", "Hybrid", "Electric", "LPG_CompressedGas", "Hydrogen", "MultiFuel", "Petrol", "Ethanol")

Defines the type of fuel.

1

0...1

DriveType

*

string "AWD", "4WD", "FWD", "RWD", "Unspecified")

Defines the drive type of a car. The possible types are: "AWD" - Defines all-wheel drive; "4WD" - Defines four-wheel drive; "FWD" - Defines front-wheel drive; "RWD" - Defines rear-wheel drive; "Unspecified" - The drive type of the car is unknown.

1

0...1

PassengerQuantity

string (1 - 8)

Shows max amount of passengers allowed.

0...1

BaggageQuantity

integer

Shows max amount of baggage items allowed.

0...1

Code*

string (1 - 8)

Identifies Car and its rate at particular Vendor. It could be used as additional Availability search criterion (see VehPref/@Code in Availability request) to check availability of the exact car option.

1...1

CodeContext*

string (1 - 32)

Provider of a car.

1

0...1

VehType

*

Describes type of the car (e.g. truck, car).

1...1

VehicleCategory

integer (1 - 23)

Refers to the list of Vehicle Types supported by HUB.

0...1

DoorCount

string (1 - 8)

Number of doors in a car.

0...1

VehClass

Defines class of car.

0...1

Size

integer (1 - 48)

Refers to the list of Vehicle Classes supported by HUB.

0...1

VehMakeModel*

The make and model of the car (e.g., Ford Focus).

1...1

Name*

strign

string (1 -

64

128)

Contains the name of car.

1...1

Code

string (1 - 8)

Contains vendor's code of car. It can contain the SIPP code provided by some suppliers.

0...1

PictureURL

URI

URL that shows the car.

0...1

VehIdentity

The specific identifiers of the car.

0...1

VehicleAssetNumber*

string (1 - 16)

Motor Vehicle Asset Number.

1...1

GP_VehAvailRateRS/VehAvailRSCore/VehVendorAvails/VehVendorAvail/Info*:

Element

Attribute

Type

Description

Min…Max occurs

VendorMessages/VendorMessage

Contains additional information from supplier about this vendor or car (important warnings, restrictions, payment type, or any promotions associated with the rate). There're may be up to 99 VendorMessage elements in response.

0...99

InfoType*

string

Refers to OTA code "Special instructions".

1...1

VendorMessages/VendorMessage/SubSection/Paragraph*

Each VendorMessage may include only one SubSection with 1 Paragraph with 1 Text.

1...1

Language

For more information see Common Data Description section in Glossary.

0...1

VendorMessages/VendorMessage/SubSection/Paragraph/Text

string

Contains the text of specific vendor message.

0...1

PickUpLocation*

Name, code and code context to identify pick up and return points in supplier’s context.

1...*

ReturnLocation

*

1

0...*

GP_VehAvailRateRS/VehAvailRSCore/VehVendorAvails/VehVendorAvail/Info/PickUpLocation* and GP_VehAvailRateRS/VehAvailRSCore/VehVendorAvails/VehVendorAvail/Info/ReturnLocation

...

:

Element

Attribute

Type

Description

Min…Max occurs

Name

*

string (1 - 255)

Name of the pick up/return point.

1

0...1

CodeContext*

string (1 - 32)

Defines context in which the LocationCode is specified:

for “Airport” point there must be IATA airport code;

for “City” point there could be GEO or supplier or client context;

for “Point” type here must be supplier identifier.

1...1

LocationCode*

string (1 - 32)

Depending on LocationType: specify IATA Airport code for “Airport” type; specify City Code for “City” type; specify supplier-specific location code for “Point” type.

1...1

LocationDetails

*

Contains location address information.

1

0...1

AtAirport*

boolean

Is set to “true” if location is in airport; otherwise AtAirport=”false”.

1...1

LocationDetails/Address*

Contains location address.

1...5

LocationDetails/Address/AddressLine*

string (1 - 255)

Location Address.

1...5

LocationDetails/Address/CityName

string (1 - 64)

Name of the city where location is situated.

0...1

LocationDetails/Address/PostalCode

string (1 - 16)

Postal Code of the location.

0...1

LocationDetails/Address/StateProv

string (0 - 64)

Name of State where location is situated.

0...1

StateCode

string (2 - 8)

Code of state.

0...1

LocationDetails/Address/CountryName

string (0 - 64)

0...1

Code

2 character ISO country code

ISO-2 or ISO-3 country code.

0...1

LocationDetails/Telephone

Contains information about the telephone numbers for this location.

0...5

CountryCode

string (2 - 3)

Code assigned by telecommunications authorities for international country identifier.

0...1

AreaCityCode

string (1 - 8)

Code assigned for telephones in a specific region, city, or area.

0...1

PhoneNumber*

string (1 - 32)

Location phone number.

1...1

PhoneLocationType

integer (6,7,8)

Indicates location type for location phone number. Possible values: 6 (Home), 7 (Office), 8 (Other).

0...1

PhoneTechType

integer (3, 5)

Indicates type of technology associated with this telephone number. Possible values: 5 (Mobile), 3 (Fax).

Info

Note: One of PhoneLocationType or PhoneTechType attributes must be specidied.

0...1

LocationDetails/Description

string

Contains location description.

0...1

Expand
titleVehicle Availability Response Sample XML Point - Point 3 passengers
Code Block
languagexml
<GP_VehAvailRateRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0">
  <Success/>
  <VehAvailRSCore>
    <VehRentalCore PickUpDateTime="2023-10-13T15:20:00" ReturnDateTime="2023-10-23T19:00:00"/>
    <VehVendorAvails>
      <VehVendorAvail>
        <Vendor Code="Vehicle" CodeContext="supplierCode" CompanyShortName="CompanyName"/>
        <VehAvails>
          <VehAvail>
            <VehAvailCore AvailabilityStatus="AvailableForSale" BookingCode="35200ba">
              <Vehicle AirConditionInd="true" BaggageQuantity="3" Code="CCAR1JE" CodeContext="supplierCode" DriveType="Unspecified" FuelType="Unspecified" PassengerQuantity="5" TransmissionType="Automatic">
                <VehType DoorCount="4" VehicleCategory="1"/>
                <VehClass Size="4"/>
                <VehMakeModel Code="CCAR" Name="Group B - Ford Focus or similar"/>
                <PictureURL>https://www.avisloyalty.eu/assets/fleetmedium/Ford_Focus_2016.jpg</PictureURL>
                <VehIdentity VehicleAssetNumber="Unknown"/>
              </Vehicle>
              <RentalRate>
                <VehicleCharges>
                  <VehicleCharge Amount="535.40" CurrencyCode="USD" Description="Minimum 2 Day(s)" IncludedInRate="true" Purpose="1" TaxInclusive="true"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$10.00    EXTENSION FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="FUEL POLICY IS FULL TO FULL" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$15.00    LATE FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                </VehicleCharges>
                <RateQualifier VendorRateID="JE"/>
              </RentalRate>
              <TotalCharge CurrencyCode="USD" EstimatedTotalAmount="535.40"/>
              <Fees>
                <Fee Amount="0.00" CurrencyCode="USD" Purpose="23"/>
              </Fees>
            </VehAvailCore>
          </VehAvail>
          <VehAvail>
            <VehAvailCore AvailabilityStatus="AvailableForSale" BookingCode="35201ba">
              <Vehicle AirConditionInd="true" BaggageQuantity="3" Code="ICAR1JE" CodeContext="supplierCode" DriveType="Unspecified" FuelType="Unspecified" PassengerQuantity="5" TransmissionType="Automatic">
                <VehType DoorCount="5" VehicleCategory="1"/>
                <VehClass Size="6"/>
                <VehMakeModel Code="ICAR" Name="Group C - Toyota Corolla or similar"/>
                <PictureURL>https://www.avisloyalty.eu/assets/fleetmedium/Toyota_Corolla_2015.jpg</PictureURL>
                <VehIdentity VehicleAssetNumber="Unknown"/>
              </Vehicle>
              <RentalRate>
                <VehicleCharges>
                  <VehicleCharge Amount="558.80" CurrencyCode="USD" Description="Minimum 2 Day(s)" IncludedInRate="true" Purpose="1" TaxInclusive="true"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$10.00    EXTENSION FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="FUEL POLICY IS FULL TO FULL" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$15.00    LATE FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                </VehicleCharges>
                <RateQualifier VendorRateID="JE"/>
              </RentalRate>
              <TotalCharge CurrencyCode="USD" EstimatedTotalAmount="558.80"/>
              <Fees>
                <Fee Amount="0.00" CurrencyCode="USD" Purpose="23"/>
              </Fees>
            </VehAvailCore>
          </VehAvail>
          <VehAvail>
            <VehAvailCore AvailabilityStatus="AvailableForSale" BookingCode="35205ba">
              <Vehicle AirConditionInd="true" BaggageQuantity="2" Code="SCAR1JE" CodeContext="supplierCode" DriveType="Unspecified" FuelType="Unspecified" PassengerQuantity="5" TransmissionType="Automatic">
                <VehType DoorCount="4" VehicleCategory="1"/>
                <VehClass Size="7"/>
                <VehMakeModel Code="SCAR" Name="Group D - Volkswagen Jetta or similar"/>
                <PictureURL>https://www.avisloyalty.eu/assets/fleetmedium/VW_Passat_2016.jpg</PictureURL>
                <VehIdentity VehicleAssetNumber="Unknown"/>
              </Vehicle>
              <RentalRate>
                <VehicleCharges>
                  <VehicleCharge Amount="602.00" CurrencyCode="USD" Description="Minimum 2 Day(s)" IncludedInRate="true" Purpose="1" TaxInclusive="true"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$10.00    EXTENSION FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="FUEL POLICY IS FULL TO FULL" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$15.00    LATE FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                </VehicleCharges>
                <RateQualifier VendorRateID="JE"/>
              </RentalRate>
              <TotalCharge CurrencyCode="USD" EstimatedTotalAmount="602.00"/>
              <Fees>
                <Fee Amount="0.00" CurrencyCode="USD" Purpose="23"/>
              </Fees>
            </VehAvailCore>
          </VehAvail>
          <VehAvail>
            <VehAvailCore AvailabilityStatus="AvailableForSale" BookingCode="35204ba">
              <Vehicle AirConditionInd="true" BaggageQuantity="4" Code="FCAR1JE" CodeContext="supplierCode" DriveType="Unspecified" FuelType="Unspecified" PassengerQuantity="5" TransmissionType="Automatic">
                <VehType DoorCount="4" VehicleCategory="1"/>
                <VehClass Size="8"/>
                <VehMakeModel Code="FCAR" Name="Group E - Ford Fusion or similar"/>
                <PictureURL>https://www.avisloyalty.eu/assets/fleetmedium/Ford_06_Fusion.jpg</PictureURL>
                <VehIdentity VehicleAssetNumber="Unknown"/>
              </Vehicle>
              <RentalRate>
                <VehicleCharges>
                  <VehicleCharge Amount="611.00" CurrencyCode="USD" Description="Minimum 2 Day(s)" IncludedInRate="true" Purpose="1" TaxInclusive="true"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$10.00    EXTENSION FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="FUEL POLICY IS FULL TO FULL" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$15.00    LATE FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                </VehicleCharges>
                <RateQualifier VendorRateID="JE"/>
              </RentalRate>
              <TotalCharge CurrencyCode="USD" EstimatedTotalAmount="611.00"/>
              <Fees>
                <Fee Amount="0.00" CurrencyCode="USD" Purpose="23"/>
              </Fees>
            </VehAvailCore>
          </VehAvail>
          <VehAvail>
            <VehAvailCore AvailabilityStatus="AvailableForSale" BookingCode="35203ba">
              <Vehicle AirConditionInd="true" BaggageQuantity="2" Code="PCAR1JE" CodeContext="supplierCode" DriveType="Unspecified" FuelType="Unspecified" PassengerQuantity="5" TransmissionType="Automatic">
                <VehType DoorCount="4" VehicleCategory="1"/>
                <VehClass Size="10"/>
                <VehMakeModel Code="PCAR" Name="Group G - Chevrolet Impala or similar"/>
                <PictureURL>https://www.avisloyalty.eu/assets/fleetmedium/Chevrolet_Impala_2018.jpg</PictureURL>
                <VehIdentity VehicleAssetNumber="Unknown"/>
              </Vehicle>
              <RentalRate>
                <VehicleCharges>
                  <VehicleCharge Amount="713.60" CurrencyCode="USD" Description="Minimum 2 Day(s)" IncludedInRate="true" Purpose="1" TaxInclusive="true"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$10.00    EXTENSION FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="FUEL POLICY IS FULL TO FULL" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$15.00    LATE FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                </VehicleCharges>
                <RateQualifier VendorRateID="JE"/>
              </RentalRate>
              <TotalCharge CurrencyCode="USD" EstimatedTotalAmount="713.60"/>
              <Fees>
                <Fee Amount="0.00" CurrencyCode="USD" Purpose="23"/>
              </Fees>
            </VehAvailCore>
          </VehAvail>
          <VehAvail>
            <VehAvailCore AvailabilityStatus="AvailableForSale" BookingCode="35202ba">
              <Vehicle AirConditionInd="true" BaggageQuantity="5" Code="MVAR2JE" CodeContext="supplierCode" DriveType="Unspecified" FuelType="Unspecified" PassengerQuantity="7" TransmissionType="Automatic">
                <VehType DoorCount="4" VehicleCategory="2"/>
                <VehClass Size="1"/>
                <VehMakeModel Code="MVAR" Name="Group V - Chrysler Pacifica or similar"/>
                <PictureURL>https://www.avisloyalty.eu/assets/fleetmedium/Dodge_06_GrandCaravan1.jpg</PictureURL>
                <VehIdentity VehicleAssetNumber="Unknown"/>
              </Vehicle>
              <RentalRate>
                <VehicleCharges>
                  <VehicleCharge Amount="744.20" CurrencyCode="USD" Description="Minimum 2 Day(s)" IncludedInRate="true" Purpose="1" TaxInclusive="true"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$10.00    EXTENSION FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="FUEL POLICY IS FULL TO FULL" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                  <VehicleCharge Amount="0.00" CurrencyCode="USD" Description="$15.00    LATE FEE MAY APPLY" IncludedInRate="false" Purpose="28" TaxInclusive="false"/>
                </VehicleCharges>
                <RateQualifier VendorRateID="JE"/>
              </RentalRate>
              <TotalCharge CurrencyCode="USD" EstimatedTotalAmount="744.20"/>
              <Fees>
                <Fee Amount="0.00" CurrencyCode="USD" Purpose="23"/>
              </Fees>
            </VehAvailCore>
          </VehAvail>
        </VehAvails>
        <Info>
          <PickUpLocation CodeContext="supplierCode" LocationCode="W42" Name="Midtown (between 10th &amp; 11th Avenues)">
            <LocationDetails AtAirport="false">
              <Address>
                <AddressLine>515 West 43rd Street</AddressLine>
                <CityName>New York City</CityName>
                <PostalCode>10036</PostalCode>
                <StateProv StateCode="NY">New York</StateProv>
                <CountryName Code="US">U S A</CountryName>
              </Address>
              <Telephone PhoneNumber="(1) 646-473-0088"/>
            </LocationDetails>
          </PickUpLocation>
          <ReturnLocation CodeContext="supplierCode" LocationCode="E43" Name="Midtown Manhattan E 43rd Street">
            <LocationDetails AtAirport="false">
              <Address>
                <AddressLine>225 East 43rd Street (Between 2nd Ave &amp; 3rd Ave)</AddressLine>
                <CityName>New York City</CityName>
                <PostalCode>10017</PostalCode>
                <StateProv StateCode="NY">New York</StateProv>
                <CountryName Code="US">U S A</CountryName>
              </Address>
              <Telephone PhoneNumber="(1) 212-682-1860"/>
            </LocationDetails>
          </ReturnLocation>
        </Info>
      </VehVendorAvail>
    </VehVendorAvails>
  </VehAvailRSCore>
</GP_VehAvailRateRS>