/
10. USE CASES

10. USE CASES

10.1. GET PARTICULAR POINTS TO USE ON AVAILABILITY SEARCH


A list of possible points can be received on Car Location Search Response in VehMatchedLocs/VehMatchedLoc/LocationDetail/@Code attribute.

<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="4283" CodeContext="GEO.supplierCode" /> <CountryName Code="CA" CodeContext="GEO.supplierCode" /> </Address> </VehLocSearchCriterion> </GP_VehLocSearchRQ>
<GP_VehLocSearchRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0"> <Success /> <VehMatchedLocs> <VehMatchedLoc> <LocationDetail AtAirport="true" Code="201|AL" CodeContext="supplierCode" Name="Vancouver International Airport"> <Address> <AddressLine>VANCOUVER INTERNATIONAL AIRPORT, LOWER LEVEL - PARKING GARAGE</AddressLine> <CityName>Vancouver International Airport</CityName> <PostalCode>V7B1Y7</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="604 273 3121" /> </LocationDetail> </VehMatchedLoc> <VehMatchedLoc> <LocationDetail AtAirport="true" Code="201|ZL" CodeContext="supplierCode" Name="Vancouver International Airport"> <Address> <AddressLine>VANCOUVER INTERNATIONAL AIRPORT, LOWER LEVEL - PARKING GARAGE</AddressLine> <CityName>Vancouver International Airport</CityName> <PostalCode>V7B1Y7</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="604 273 3121" /> </LocationDetail> </VehMatchedLoc> <VehMatchedLoc> <LocationDetail AtAirport="false" Code="6607|AL" CodeContext="supplierCode" Name="Vancouver - Pan Pacific "> <Address> <AddressLine>999 CANADA PLACE, VANCOUVER</AddressLine> <CityName>Vancouver - Pan Pacific</CityName> <PostalCode>V6C3B5</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="+1 833-792-3292" /> </LocationDetail> </VehMatchedLoc> <VehMatchedLoc> <LocationDetail AtAirport="false" Code="6607|ZL" CodeContext="supplierCode" Name="Vancouver - Pan Pacific "> <Address> <AddressLine>999 CANADA PLACE, VANCOUVER</AddressLine> <CityName>Vancouver - Pan Pacific</CityName> <PostalCode>V6C3B5</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="+1 833-792-3292" /> </LocationDetail> </VehMatchedLoc> <VehMatchedLoc> <LocationDetail AtAirport="false" Code="200|AL" CodeContext="supplierCode" Name="Vancouver - Cruise Ship Terminal"> <Address> <AddressLine>999A CANADA PLACE, Vancouver, British Columbia</AddressLine> <CityName>Vancouver - Cruise Ship Terminal</CityName> <PostalCode>V6C 3B5</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="604 609 7160" /> </LocationDetail> </VehMatchedLoc> <VehMatchedLoc> <LocationDetail AtAirport="false" Code="200|ZL" CodeContext="supplierCode" Name="Vancouver - Cruise Ship Terminal"> <Address> <AddressLine>999A CANADA PLACE, Vancouver, British Columbia</AddressLine> <CityName>Vancouver - Cruise Ship Terminal</CityName> <PostalCode>V6C 3B5</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="604 609 7160 " /> </LocationDetail> </VehMatchedLoc> <VehMatchedLoc> <LocationDetail AtAirport="true" Code="2054|AL" CodeContext="supplierCode" Name="Vancouver Airport - South Terminal"> <Address> <AddressLine>SOUTH TERMINAL-VANCOUVER AIRPORT, 4440 COWLEY CRESENT</AddressLine> <CityName>Vancouver Airport - South Terminal</CityName> <PostalCode>V7B 1B8</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="604 273 6572" /> </LocationDetail> </VehMatchedLoc> <VehMatchedLoc> <LocationDetail AtAirport="true" Code="2054|ZL" CodeContext="supplierCode" Name="Vancouver Airport - South Terminal"> <Address> <AddressLine>SOUTH TERMINAL-VANCOUVER AIRPORT, 4440 COWLEY CRESENT</AddressLine> <CityName>Vancouver Airport - South Terminal</CityName> <PostalCode>V7B 1B8</PostalCode> <CountryName Code="CA">Canada</CountryName> </Address> <Telephone PhoneNumber="604 273 6572 " /> </LocationDetail> </VehMatchedLoc> </VehMatchedLocs> </GP_VehLocSearchRS>

In order to perform search by points it's needed to specify LocationCode (GP_VehLocSearchRS/VehMatchedLocs/VehMatchedLoc/LocationDetail/@Code in Car Location Search Response) and LocationType="Point".

<GP_VehAvailRateRQ xmlns="http://www.opentravel.org/OTA/2003/05" AvailRatesOnly="true" EchoToken="EchoToken" PrimaryLangID="en" Version="2.00"> <POS> <Source> <RequestorID ID="client" MessagePassword="PWD" Type="22" /> <BookingChannel Type="7" /> </Source> </POS> <VehAvailRQCore> <VehRentalCore PickUpDateTime="2021-02-13T15:20:00" ReturnDateTime="2021-02-23T19:00:00"> <PickUpLocation CodeContext="supplierCode" LocationCode="201|AL" LocationType="Point" /> <ReturnLocation CodeContext="supplierCode" LocationCode="201|AL" LocationType="Point" /> </VehRentalCore> <DriverType Age="30" /> </VehAvailRQCore> <VehAvailRQInfo PassengerQty="3"> <Residence> <CountryName Code="CA" CodeContext="GEO.supplierCode" /> </Residence> </VehAvailRQInfo> </GP_VehAvailRateRQ>

There are all car offers for the specified Points in Car Availability Search Response:

10.2. EQUIPMENT


The list of equipment that can be booked is contained in <PricedEquips> element on Car Availability Search Response.

The selected equipment should be specified on Reservation Initiate and Confirmation Request.

In Reservation Initiate and Confirmation Response HUB shows selected equipment.

Full flow:

10.3. COVERAGE


To see the list of coverage that can be booked you should select an offer from Availability Search Response and send Car Rental Conditions Request. The list of coverage is contained in <Liabilities> element on Car Rental Conditions Response.

The selected coverage should be specified on Reservation Initiate and Confirmation Requests.

In Reservation Initiate and Confirmation Responses HUB shows selected coverage.

Full flow:

10.4. CAR LOCATION DETAIL AFTER LOCATION SEARCH


In accordance with our general workflow, it's possible to send Car Location Detail message after Car Location Search.

In order to call Car Location Detail after Car Location Search it's needed to specify LocationCode (GP_VehLocSearchRS/VehMatchedLocs/VehMatchedLoc/LocationDetail/@Code in GP_VehLocSearchRS).

10.5. SEE PRICE FOR CANCELLATION ON RETRIEVE

On Retrieve after Cancellation you can see the total price of the booking and the total price of the cancellation.

VehSegmentCore/TotalCharge - is the actual total price for the booking. This EstimatedTotalAmount is the price of the cancellation.

 

 

Related content

5.2. CAR RENTAL CONDITIONS RESPONSE
5.2. CAR RENTAL CONDITIONS RESPONSE
Read with this
4.1. POSSIBLE SEARCH OPTIONS
4.1. POSSIBLE SEARCH OPTIONS
More like this
2.2. CAR LOCATION SEARCH REQUEST
2.2. CAR LOCATION SEARCH REQUEST
More like this
3.1. CAR RENTAL LOCATION DETAIL REQUEST
3.1. CAR RENTAL LOCATION DETAIL REQUEST
More like this
2.3. CAR LOCATION SEARCH RESPONSE
2.3. CAR LOCATION SEARCH RESPONSE
More like this
4.3. CAR AVAILABILITY SEARCH RESPONSE
4.3. CAR AVAILABILITY SEARCH RESPONSE
More like this