The structure of this XML will be the standard Basket Book Request call, which will include a Flight Book Request.
The structure of the Basket Book Request is available here.
Note: If an extra was added at Prebook then it is only necessary to use the updated booking token returned in the Prebook Response to book the extra. The extra request node itself should not be used again at Book stage.
The XML structure of the FlightBookRequest is as follows
The structure of this XML will be the standard Basket Book Response, with a FlightBookResponse in the FlightBookings node.
The structure of the Basket Book Response is available here.
The XML structure of the FlightBookResponse is as follows
<BasketBookRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<LeadCustomer>
<CustomerTitle>Mr</CustomerTitle>
<CustomerFirstName>John</CustomerFirstName>
<CustomerLastName>Test</CustomerLastName>
<CustomerAddress1>House</CustomerAddress1>
<CustomerAddress2>Road</CustomerAddress2>
<CustomerTownCity>Croydon</CustomerTownCity>
<CustomerCounty>Surrey</CustomerCounty>
<CustomerPostcode>p05tcode</CustomerPostcode>
<CustomerBookingCountryID>1</CustomerBookingCountryID>
<CustomerPhone>1234567890</CustomerPhone>
<CustomerFax>1234567890</CustomerFax>
<CustomerEmail>testteam@intuitivesystems.co.uk</CustomerEmail>
</LeadCustomer>
<GuestDetails>
<GuestDetail>
<GuestID>1</GuestID>
<Type>Adult</Type>
<Title>Mr</Title>
<FirstName>John</FirstName>
<LastName>Smith</LastName>
<Age>25</Age>
<DateOfBirth>1986-10-10</DateOfBirth>
</GuestDetail>
<GuestDetail>
<GuestID>2</GuestID>
<Type>Adult</Type>
<Title>Mrs</Title>
<FirstName>Joan</FirstName>
<LastName>Smith</LastName>
<Age>25</Age>
<DateOfBirth>1986-10-10</DateOfBirth>
</GuestDetail>
</GuestDetails>
<Payment>
<PaymentType>CreditCard</PaymentType>
<CCCardHoldersName>test</CCCardHoldersName>
<CCCardTypeID>1</CCCardTypeID>
<CCCardNumber>XXXXXXXXXXXXXXXX</CCCardNumber>
<CCExpireMonth>12</CCExpireMonth>
<CCExpireYear>14</CCExpireYear>
<CCSecurityCode>XXX</CCSecurityCode>
<CCIssueNumber>0</CCIssueNumber>
<Amount>52.98</Amount>
<Surcharge>5.00</Surcharge>
<TotalAmount>57.98</TotalAmount>
</Payment>
<FlightBookings>
<FlightBookRequest>
<FlightAndHotel>false</FlightAndHotel>
<BookingToken>...</BookingToken>
<ExpectedTotal>52.98</ExpectedTotal>
<GuestIDs>
<GuestID>1</GuestID>
</GuestIDs>
<BookingTags />
<MultiCarrierOutbound>false</MultiCarrierOutbound>
<MultiCarrierReturn>false</MultiCarrierReturn>
<BookingBasketID />
</FlightBookRequest>
</FlightBookings>
</BasketBookRequest>
<BasketBookResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions/>
</ReturnStatus>
<BookingReference>1101696</BookingReference>
<TotalPrice>57.98</TotalPrice>
<TotalCommission>0.00</TotalCommission>
<VATOnCommission>0.00</VATOnCommission>
<FlightBookings>
<FlightBookResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<BookingReference />
<TotalPrice>0</TotalPrice>
<TotalCommission>0.0</TotalCommission>
<VATOnCommission>0</VATOnCommission>
<Cancellations>
<Cancellation>
<StartDate>2022-10-15T00:00:00</StartDate>
<EndDate>2022-10-15T00:00:00</EndDate>
<Amount>0.00</Amount>
</Cancellation>
</Cancellations>
</FlightBookResponse>
</FlightBookings>
<TransferBookings />
<ExtraBookings />
<CarHireBookings />
<PaymentsDue>
<PaymentDue>
<Amount>57.98</Amount>
<DateDue>2022-10-15T00:00:00</DateDue>
</PaymentDue>
</PaymentsDue>
<QuoteID>0</QuoteID>
</BasketBookResponse>