CreateBasketRequest confirmed_costing

Only a basket at CurrentBookingStage="confirmed_costing" can proceed to attempt booking.

To reach confirmed_costing PassengerDetails must have been provided, and you often will want to have selected OptionalExtras and SeatOptions.

This information can be added to a basket via AmendBasketRequest but you also have the option of just using CreateBasketRequest.

E.g:

<?xml version="1.0" encoding="UTF-8"?>
<FAB_BasketRQ Target="test" Version="2002A" xmlns="http://www.xmltravel.com/fab/2002/09">
  <SyndicatorInfo SyndicatorId="ExampleSyndicatorId" SyndicatorPassword="xxxxxxxx"/>
  <SessionInfo FABSessionId="H2P9exxxxiCaAaRqEZw9OQlg" CreateNewSession="false"/>
  <CreateBasketRequest ResponseTimeoutSecs="27" ReplaceExistingBasket="true">
    <Itinerary>
      <ComponentIdentity Identity="F!NOR!economy!{F!NOR!MAN!L64LU!OSL!DY!DY!1349!!!E!NF!N!N!X|B&amp;F!NOR!OSL!L6BJj!MAN!DY!DY!1348!!!E!NF!N!N!X|B}!2:NqBmAErkhyFp0CmH5B2SEx2YqtVgbhoxODjXuZO833h4b6z5z2Rvz8Vq90gtdXdqnFx68EBOo45MqKWwgOEQjUPnnwSz!1:de69!V3"/>
    <OptionalExtras>
      <OptionalExtra Code="YN1" Supplier="NOR" Quantity="2"/>
    </OptionalExtras>
    </Itinerary>
    <PartyInfo NumberOfAdults="2" NumberOfInfants="1">
      <YoungPersonAge>4</YoungPersonAge>
    </PartyInfo>
    <PassengerDetails>
      <LeadCustomer Surname="Example" Firstname="Jane" MiddleInitials="Rose" DOB="19870506" Title="Mrs" Nationality="GB" Gender="Female">
        <ContactDetails EmailAddress="jane.example@example.com" Telephone="+447411111177">
          <Address Address1="12 Example Street" CityOrTown="Example City" PostCode="ABC 123" Country="GB"/>
        </ContactDetails>
        <SeatOptions FlightNumber="DY1349" Supplier="NOR" DeparturePoint="MAN">
          <Seat Num="3A"/>
        </SeatOptions>
        <SeatOptions FlightNumber="DY1348" Supplier="NOR" DeparturePoint="OSL">
          <Seat Num="3A"/>
        </SeatOptions>
      </LeadCustomer>
      <Customer Surname="Example" Firstname="Robert" MiddleInitials="Edward" DOB="19811203" Title="Mr" Nationality="GB" Gender="Male">
        <SeatOptions FlightNumber="DY1349" Supplier="NOR" DeparturePoint="MAN">
          <Seat Num="3B"/>
        </SeatOptions>
        <SeatOptions FlightNumber="DY1348" Supplier="NOR" DeparturePoint="OSL">
          <Seat Num="3B"/>
        </SeatOptions>
      </Customer>
      <Customer Surname="Example" Firstname="John" MiddleInitials="Francis" DOB="20170217" Title="Master" Nationality="GB" Gender="Male">
        <SeatOptions FlightNumber="DY1349" Supplier="NOR" DeparturePoint="MAN">
          <Seat Num="3C"/>
        </SeatOptions>
        <SeatOptions FlightNumber="DY1348" Supplier="NOR" DeparturePoint="OSL">
          <Seat Num="3C"/>
        </SeatOptions>
      </Customer>
      <Customer Surname="Example" Firstname="Alice" MiddleInitials="Jessica" DOB="20200702" Title="Inf" Nationality="GB" Gender="Female"/>
    </PassengerDetails>
  </CreateBasketRequest>
</FAB_BasketRQ>

Last modified November 30, 2022