5. Rental Locations

5.2. Location Details

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

Parameter

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

OperationTime End

Time

Time when location closes

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>
            </TPA_Extensions>
        </AdditionalInfo>
    </LocationDetail>
</VehLocDetailRS>