5. Rental Locations

There are two endpoints associated with Rental Locations:

  • VehLocationSearch

  • VehLocDetail

VehLocationSearch returns a list of rental locations based on the provided search criteria. The relevant data can be found in the response structure under: VehLocationSearchRS → VehMatchedLocs → VehMatchedLoc → LocationDetail.

VehLocDetail, on the other hand, retrieves details for a single rental location, identified by a specific location ID. The response structure is: VehLocDetailRS → LocationDetail.

The LocationDetail element has an identical structure in both responses.

5.2. Location Details

Returns the details for the specific car rental location.

This section displays details of desired location.

  • VehLocDetailRQ

  • VehLocDetailRS

Main purpose of VehLocDetailRQ is to obtain address data and opening hours of a particular location.

5.2.1. Request

Parameter

Type

Required

Description

Location – CodeContext

Integer

Yes

Defines the query type

  1. Location_ID

  2. GDSCode+LocationCode

Location – LocationCode

Integer

No

ID of Region

Location – Text

String

No

Defines the source market

Vendor

String

No

Defines the Supplier – leave empty to return all

5.2.2. Response

Element

Type

Description

OperationTime

Mon, Tue, Wed, Thu, Fri, Sat, Sun

Boolean

Flag indicating if the location is opened on

Mondays, Tuesdays, …

OperationTime Start

Time

Time when location opens

Translation Language

String

Language defined as Best Current Practice 47 (BCP 47)

Description

String

Represents translation for pickup instructions

Note that each weekday might appear up to three times. Note too that displaying 12:00 PM has an exceptional value: ‘23:59’.

5.2.3. Sample Request

Using Location_ID (CodeContext: 1):

Using Location_ID, CodeContext 1
<soap:Envelope xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <VehLocDetailRQ>
       <POS>
           <Source ISOCountry="EN">
               <RequestorID Type="username" ID_Context="password" />
           </Source>
           <Source ISOCountry="EN" />
       </POS>
            <Location CodeContext="1" LocationCode="7600868"></Location>
    </VehLocDetailRQ>
  </soap:Body>
</soap:Envelope>

Using GDSCode+LocationCode (CodeContext: 2):

Using GDSCode + LocationCode, CodeContext 2
<soap:Envelope xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <VehLocDetailRQ>
         <POS>
             <Source ISOCountry="EN">
                 <RequestorID Type="username" ID_Context="password"/>
             </Source>
         </POS>
         <Location CodeContext="2" ExtendedLocationCode="ZEARN"/>
    </VehLocDetailRQ>
  </soap:Body>
</soap:Envelope>

5.2.4. Sample Response

<VehLocDetailRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
    <LocationDetail AtAirport="true" Code="1091515" Name="Mallorca" CodeContext="PMI" ExtendedLocationCode="1931-DFPMI" AssocAirportLocList="PMI">
        <Address Type="3">
            <StreetNmbr>Aeropuerto De Palma</StreetNmbr>
            <AddressLine/>
            <CityName>Palma De Mallorca</CityName>
            <PostalCode>07611</PostalCode>
            <StateProv StateCode="TX">Texas</StateProv>
            <CountryName Code="ES"/>
        </Address>
        <Telephone PhoneTechType="1" PhoneNumber="111111111"/>
        <Telephone PhoneTechType="2" PhoneNumber="222222222"/>
        <AdditionalInfo>
            <ParkLocation Location="Please find the Buchbinder / Global Rent a Car counter in Terminal 2, Arrival (Car Rental Area)" />
            <CounterLocation>14</CounterLocation>
            <OperationSchedules>
                <OperationSchedule>
                    <OperationTimes>
                        <OperationTime Mon="true" Start="07:30" End="23:59"/>
                                            </OperationTimes>
                </OperationSchedule>
            </OperationSchedules>
            <TPA_Extensions>
                <Position Latitude="-22.57" Longitude="17.083611" />
                <CityId>47</CityId>
                <AirportId>99</AirportId>
                <Timezone>America/New_York</Timezone>
                <Vendor TravelSector="Car Rental" Code="ZE" CodeContext="371">Hertz</Vendor>
                <Translations>
                   <Translation Language="en-GB">
                      <Description>Airport Location, please follow signs to the car rental stations.</Description>
                   </Translation>
                   <Translation Language="de-DE">
                      <Description>Flughafenstation, bitte folgen Sie der Beschilderung zum Mietwagen Terminal.</Description>
                   </Translation>
                   <Translation Language="fr-FR">
                      <Description>L'agence de location se trouve à l'interieur de l'aéroport. Merci de suivre les panneaux d'indication pour accéder aux guichets de location de voiture.</Description>
                   </Translation>
                   <!-- more translations -->
                </Translations>
            </TPA_Extensions>
        </AdditionalInfo>
    </LocationDetail>
</VehLocDetailRS>