/
2.2. CAR LOCATION SEARCH REQUEST

2.2. CAR LOCATION SEARCH REQUEST

The Car Location Search Request is used for vendor locations search based on input criteria (see more in Possible Search Options section). It is not a search for available cars, it needed only to search for locations where cars can be pickuped/returned.

GP_VehLocSearchRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

PrimaryLangID

 

For more information see Common Data Description section in Glossary.

0...1

GP_VehLocSearchRQ/VehLocSearchCriterion*

 

 

Contains search criteria.

1...1

GP_VehLocSearchRQ/Vendor

 

 

Contains information about vendor.

0...1

Code*

string (1 - 16)

Contains vendor code.

1...1

GP_VehLocSearchRQ/VehLocSearchCriterion*:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

Address

 

 

Allows search by Country (<CountryName> element) and/or City (<CityName> element). The search will return locations at the specified city/country. See more in Possible Search Options section.

0...1

Address/CityName

 

 

Is used to search for locations at the specified city.

0...1

Code*

string (1 - 64)

Represents city code. See more in Possible Search Options section.

1...1

CodeContext*

string (1 - 16)

Defines the context in which code is used.

1...1

Address/CountryName

 

 

Is used to search for locations at the specified country.

0...1

Code*

string (1 - 64)

Represents country code. See more in Possible Search Options section.

1...1

CodeContext*

string (1 - 16)

Defines the context in which code is used.

1...1

RefPoint

 

 

Is used to search for locations at the specified airport or for search by coordinaties.

0...1

Code

string (2 - 5)

An IATA airport code. Is only used to search for locations at the airport.

0...1

CodeContext*

string ("IATA.suppliercode")

Defines the context in which code is used (see more in Possible Search Options section).

1...1

PickUpLocation

 

 

Can be used to retrieve the valid return locations for a supplied pickup location. It assumes that client has already performed location search once and have found feasible Pickup location.

0...1

LocationType*

string ("Point")

Must always be “Point”.

1...1

CodeContext*

string (1 - 32)

A supplier identifier.

1...1

LocationCode*

string (1 - 32)

A supplier-specific location code.

1...1

Position

 

 

Is used to indicate the geographic location requested by the search.

0...1

Latitude*

string (1 - 16)

Specifies the north–south position of a point on the Earth's surface.

1...1

Longitude*

string (1 - 16)

Specifies the east–west position of a point on the Earth's surface.

1...1

Radius

 

 

Is used to provide distance and direction information from the referenced location. The element is relative only to element Position.

0...1

Distance*

string (1 - 16)

Indicates the distance to/from a reference point. When used in conjunction with DistanceMax - represents the minimum distance.

1...1

DistanceMeasure*

string (1 - 16)

A string value that indicate what units are used for the value.

1...1

DistanceMax*

string (1 - 16)

Indicaties the maximum distance to/from a reference point.

1...1

<GP_VehLocSearchRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" PrimaryLangID="en" Version="2.0"> <POS> <Source> <RequestorID ID="client" MessagePassword="pwd" Type="22"/> <BookingChannel Type="7"/> </Source> </POS> <VehLocSearchCriterion> <Address> <CityName Code="28211" CodeContext="GEO.supplierCode"/> <CountryName Code="US" CodeContext="GEO.supplierCode"/> </Address> </VehLocSearchCriterion> </GP_VehLocSearchRQ>

Related content

3.2. CAR RENTAL LOCATION DETAIL RESPONSE
3.2. CAR RENTAL LOCATION DETAIL RESPONSE
More like this
4.1. POSSIBLE SEARCH OPTIONS
4.1. POSSIBLE SEARCH OPTIONS
More like this
4.3. CAR AVAILABILITY SEARCH RESPONSE
4.3. CAR AVAILABILITY SEARCH RESPONSE
More like this
4.2. CAR AVAILABILITY SEARCH REQUEST
4.2. CAR AVAILABILITY SEARCH REQUEST
More like this
2.1. POSSIBLE SEARCH OPTIONS
2.1. POSSIBLE SEARCH OPTIONS
Read with this
2.3. CAR LOCATION SEARCH RESPONSE
2.3. CAR LOCATION SEARCH RESPONSE
More like this