The Car HIre Prebook call performs all prebooking necessary for the car hire and returns any rental conditions provided by the third party.Â
The booking token from the car hire search results or the Insurance Quote response is needed in the prebook as it has a summary of the car hire details. The detailed structures of the prebook request and response calls are given below.
The structure of the XML will be:
The structure of the XML will be:
The user decides to book the Fiat 500 result and sends the following prebook request.
<CarHirePreBookRequest>
<LoginDetails>
<Login>test</Login>
<Password>test</Password>
</LoginDetails>
<BookingToken>RNM5HJqFINY=</BookingToken>
<Extras>
<Extra>
<ExtraToken>P8aTqH3trHQ=</ExtraToken>
<Quantity>2</Quantity>
</Extra>
</Extras>
<Insurance>true</Insurance>
</CarHirePreBookRequest>
<CarHirePreBookResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<BookingToken>HrG8tf5p/Ic=</BookingToken>
<TotalPrice>99.57</TotalPrice>
<TotalCommission>5.9</TotalCommission>
<VATOnCommission>0.0</VATOnCommission>
<RentalConditions>...</RentalConditions>
<PaymentsDue>
<PaymentDue>
<Amount>99.57</Amount>
<DateDue>2014-03-31T00:00:00</DateDue>
</PaymentDue>
</PaymentsDue>
<Cancellations>
<Cancellation>
<StartDate>2013-11-29T00:00:00</StartDate>
<EndDate>2014-01-20T00:00:00</EndDate>
<Amount>0.0</Amount>
</Cancellation>
<Cancellation>
<StartDate>2014-01-21T00:00:00</StartDate>
<EndDate>2099-12-31T00:00:00</EndDate>
<Amount>99.57</Amount>
</Cancellation>
</Cancellations>
</CarHirePreBookResponse>