Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added request denied status according to Milena's comment in HUB -6573

Car Booking Retrieval Quote Response contains the latest information about the state of the booking.

Elements and attributes are the same as described in Reservation Confirmation response, but ResStatus attribute can take different values:

GP_VehResRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

VehResRSCore/VehReservation

ResStatus

string ("Reserved", "Waitlisted", "Cancelled", “Request Denied“)

A reservation status that can be one of:

"Reserved" - means that car was successfully reserved in supplier’s inventory.

"Waitlisted" - means that booking is waiting for confirmation.

"Cancelled" - means that booking is cancelled.

“Request Denied“ - means that supplier denied this request and the offer can not be booked.

1...1

Expand
titleCar Booking Retrieval Quote Response Sample XML
Code Block
languagexml
<GP_VehResRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0">
  <Success/>
  <VehResRSCore>
    <VehReservation ResStatus="Reserved">
      <VehSegmentCore>
        <Vendor Code="Vehicle" CodeContext="supplierCode" CompanyShortName="CompanyName"/>
        <VehRentalCore PickUpDateTime="2020-10-13T15:20:00" ReturnDateTime="2020-10-23T19:00:00">
          <PickUpLocation CodeContext="supplierCode" LocationCode="W42" Name="Midtown (between 10th &amp; 11th Avenues)"/>
          <ReturnLocation CodeContext="supplierCode" LocationCode="E43" Name="Midtown Manhattan E 43rd Street"/>
        </VehRentalCore>
        <Vehicle AirConditionInd="true" BaggageQuantity="3" Code="CCAR1JE" CodeContext="supplierCode" DriveType="Unspecified" FuelType="Unspecified" PassengerQuantity="3" 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>
        </RentalRate>
        <PricedEquips>
          <PricedEquip>
            <Equipment EquipType="7" Quantity="1">
              <Description>Child Infant Seat</Description>
            </Equipment>
            <Charge Amount="70.00" CurrencyCode="USD" IncludedInRate="false" TaxInclusive="false"/>
          </PricedEquip>
          <PricedEquip>
            <Equipment EquipType="13" Quantity="1">
              <Description>GPS Unit</Description>
            </Equipment>
            <Charge Amount="147.55" CurrencyCode="USD" IncludedInRate="false" TaxInclusive="false"/>
          </PricedEquip>
        </PricedEquips>
        <Fees>
          <Fee Amount="0.00" CurrencyCode="USD" Purpose="23"/>
        </Fees>
        <CancelPenalties>
          <CancelPenalty End="2020-10-13T23:59:59" Start="2020-10-13T15:20:00">
            <AmountPercent Amount="535.40" CurrencyCode="USD"/>
            <PenaltyDescription Language="en">
              <Text>No cancellation fee will be charged if the rental is cancelled prior to rental commencement. No refund will apply on unused rental days once the rental has commenced.</Text>
            </PenaltyDescription>
          </CancelPenalty>
        </CancelPenalties>
        <TotalCharge CurrencyCode="USD" EstimatedTotalAmount="752.95"/>
      </VehSegmentCore>
      <ResGuests>
        <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="1" Type="1"/>
              <Profile>
                <Customer BirthDate="1990-05-01">
                  <PersonName>
                    <NamePrefix>Mr</NamePrefix>
                    <GivenName>Jeck</GivenName>
                    <Surname>Decline</Surname>
                  </PersonName>
                  <Telephone PhoneNumber="239875443"/>
                  <Email>test@gpsolutions.com</Email>
                  <Address>
                    <AddressLine>11-53, 92 Str.</AddressLine>
                    <CityName>Toronto</CityName>
                    <PostalCode>234633</PostalCode>
                    <CountryName Code="US">New York</CountryName>
                  </Address>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
        <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="2" Type="1"/>
              <Profile>
                <Customer BirthDate="1986-11-01">
                  <PersonName>
                    <NamePrefix>Mrs</NamePrefix>
                    <GivenName>Olga</GivenName>
                    <Surname>Decline</Surname>
                  </PersonName>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
        <ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
          <Profiles>
            <ProfileInfo>
              <UniqueID ID="3" Type="1"/>
              <Profile>
                <Customer BirthDate="2019-11-01">
                  <PersonName>
                    <NamePrefix>Mr</NamePrefix>
                    <GivenName>Bob</GivenName>
                    <Surname>Decline</Surname>
                  </PersonName>
                </Customer>
              </Profile>
            </ProfileInfo>
          </Profiles>
        </ResGuest>
      </ResGuests>
      <VehSegmentInfo>
        <LocationDetails AtAirport="false" Code="W42" CodeContext="supplierCode" Name="Midtown (between 10th &amp; 11th Avenues)">
          <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>
        <LocationDetails AtAirport="false" Code="E43" CodeContext="supplierCode" Name="Midtown Manhattan E 43rd Street">
          <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>
        <CarReservationIDs>
          <CarReservationID ResID_Source="agent" ResID_Value="adfbgy2"/>
          <CarReservationID ResID_Source="client" ResID_Value="opinjdn354sfda"/>
          <CarReservationID ResID_Source="supplier" ResID_Value="13589936US3"/>
        </CarReservationIDs>
      </VehSegmentInfo>
      <TPA_Extensions>
        <VoucherProperties>
          <Property Name="accountNo" Value="AA0000000000"/>
          <Property Name="aanOrIata" Value="0123456N"/>
          <Property Name="agentName" Value="SergeyM"/>
        </VoucherProperties>
      </TPA_Extensions>
    </VehReservation>
  </VehResRSCore>
</GP_VehResRS>