An example of Basket XML which just contains products and no TRIPs data.
IMPORTANT NOTE: The line breaks in the below example are included for readability only. No line breaks are needed.
<basket>
<agentId>johnsmith</agentId>
<item>
<description>DVD 1</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>2</quantity>
<unitNetAmount>24.50</unitNetAmount>
<unitTaxAmount>00.50</unitTaxAmount>
<unitGrossAmount>25.00</unitGrossAmount>
<totalGrossAmount>50.00</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail>firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Happy Birthday</itemGiftMsg>
</item>
<item>
<description>DVD 2</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>1</quantity>
<unitNetAmount>24.99</unitNetAmount>
<unitTaxAmount>00.99</unitTaxAmount>
<unitGrossAmount>25.98</unitGrossAmount>
<totalGrossAmount>25.98</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail> firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Congrats</itemGiftMsg>
</item>
<deliveryNetAmount>4.02</deliveryNetAmount>
<deliveryTaxAmount>20.00</deliveryTaxAmount>
<deliveryGrossAmount>24.02</deliveryGrossAmount>
<discounts>
<discount>
<fixed>5</fixed>
<description>Save 5 pounds</description>
</discount>
<discount>
<fixed>1</fixed>
<description>Spend 5 pounds and save 1 pound</description>
</discount>
</discounts>
<shipId>SHIP00002</shipId>
<shippingMethod>N</shippingMethod>
<shippingFaxNo>1234567890</shippingFaxNo>
</basket>
An example of Basket XML for Tour Operators.
<basket>
<agentId>johnsmith</agentId>
<item>
<description>Tour</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>1</quantity>
<unitNetAmount>90.00</unitNetAmount>
<unitTaxAmount>5.00</unitTaxAmount>
<unitGrossAmount>95.00</unitGrossAmount>
<totalGrossAmount>95.00</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail>firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Happy Birthday</itemGiftMsg>
</item>
<deliveryNetAmount>5.00</deliveryNetAmount>
<deliveryTaxAmount>0.00</deliveryTaxAmount>
<deliveryGrossAmount>5.00</deliveryGrossAmount>
<discounts>
<discount>
<fixed>5</fixed>
<description>Save 5 pounds</description>
</discount>
<discount>
<fixed>1</fixed>
<description>Spend 5 pounds and save 1 pound</description>
</discount>
</discounts>
<shipId>SHIP00002</shipId>
<shippingMethod>N</shippingMethod>
<shippingFaxNo>1234567890</shippingFaxNo>
<tourOperator>
<checkIn>2012-10-12</checkIn>
<checkOut>2012-10-29</checkOut>
</tourOperator>
</basket>
An example of Basket XML for Car Rental.
<basket>
<agentId>johnsmith</agentId>
<item>
<description>Tour</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>1</quantity>
<unitNetAmount>90.00</unitNetAmount>
<unitTaxAmount>5.00</unitTaxAmount>
<unitGrossAmount>95.00</unitGrossAmount>
<totalGrossAmount>95.00</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail>firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Happy Birthday</itemGiftMsg>
</item>
<deliveryNetAmount>5.00</deliveryNetAmount>
<deliveryTaxAmount>0.00</deliveryTaxAmount>
<deliveryGrossAmount>5.00</deliveryGrossAmount>
<discounts>
<discount>
<fixed>5</fixed>
<description>Save 5 pounds</description>
</discount>
<discount>
<fixed>1</fixed>
<description>Spend 5 pounds and save 1 pound</description>
</discount>
</discounts>
<shipId>SHIP00002</shipId>
<shippingMethod>N</shippingMethod>
<shippingFaxNo>1234567890</shippingFaxNo>
<carRental>
<checkIn>2012-10-12</checkIn>
<checkOut>2012-10-29</checkOut>
</carRental>
</basket>
An example of Basket XML for Hotel Reservation.
<basket>
<agentId>johnsmith</agentId>
<item>
<description>Tour</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>1</quantity>
<unitNetAmount>90.00</unitNetAmount>
<unitTaxAmount>5.00</unitTaxAmount>
<unitGrossAmount>95.00</unitGrossAmount>
<totalGrossAmount>95.00</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail>firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Happy Birthday</itemGiftMsg>
</item>
<deliveryNetAmount>5.00</deliveryNetAmount>
<deliveryTaxAmount>0.00</deliveryTaxAmount>
<deliveryGrossAmount>5.00</deliveryGrossAmount>
<discounts>
<discount>
<fixed>5</fixed>
<description>Save 5 pounds</description>
</discount>
<discount>
<fixed>1</fixed>
<description>Spend 5 pounds and save 1 pound</description>
</discount>
</discounts>
<shipId>SHIP00002</shipId>
<shippingMethod>N</shippingMethod>
<shippingFaxNo>1234567890</shippingFaxNo>
<hotel>
<checkIn>2012-10-12</checkIn>
<checkOut>2012-10-13</checkOut>
<numberInParty>1</numberInParty>
<guestName>Mr Smith</guestName>
<folioRefNumber>A1000</folioRefNumber>
<confirmedReservation>Y</confirmedReservation>
<dailyRoomRate>150.00</dailyRoomRate>
</hotel>
</basket>
An example of Basket XML for a Cruise.
<basket>
<agentId>johnsmith</agentId>
<item>
<description>Tour</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>1</quantity>
<unitNetAmount>90.00</unitNetAmount>
<unitTaxAmount>5.00</unitTaxAmount>
<unitGrossAmount>95.00</unitGrossAmount>
<totalGrossAmount>95.00</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail>firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Happy Birthday</itemGiftMsg>
</item>
<deliveryNetAmount>5.00</deliveryNetAmount>
<deliveryTaxAmount>0.00</deliveryTaxAmount>
<deliveryGrossAmount>5.00</deliveryGrossAmount>
<shipId>SHIP00002</shipId>
<shippingMethod>N</shippingMethod>
<shippingFaxNo>1234567890</shippingFaxNo>
<cruise>
<checkIn>2012-10-12</checkIn>
<checkOut>2012-10-29</checkOut>
</cruise>
</basket>
An example of Basket XML for an Airline.
<basket>
<agentId>johnsmith</agentId>
<item>
<description>Tour</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>1</quantity>
<unitNetAmount>90.00</unitNetAmount>
<unitTaxAmount>5.00</unitTaxAmount>
<unitGrossAmount>95.00</unitGrossAmount>
<totalGrossAmount>95.00</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail>firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Happy Birthday</itemGiftMsg>
</item>
<deliveryNetAmount>5.00</deliveryNetAmount>
<deliveryTaxAmount>0.00</deliveryTaxAmount>
<deliveryGrossAmount>5.00</deliveryGrossAmount>
<shipId>SHIP00002</shipId>
<shippingMethod>N</shippingMethod>
<shippingFaxNo>1234567890</shippingFaxNo>
<airline>
<ticketNumber>12345678901</ticketNumber>
<airlineCode>123</airlineCode>
<agentCode>12345678</agentCode>
<agentName>26characterslong</agentName>
<restrictedTicket>0</restrictedTicket>
<passengerName>29characterslong</passengerName>
<originatingAirport>BLR</originatingAirport>
<segment>
<carrierCode>ABC</carrierCode>
<class>A01</class>
<stopOver>1</stopOver>
<legDepartureDate>2012-03-20</legDepartureDate>
<destination>LHR</destination>
<fareBasis>FARE12</fareBasis>
</segment>
<customerCode>20characterslong</customerCode>
<flightNumber>BA0118</flightNumber>
<invoiceNumber>123123123123123</invoiceNumber>
</airline>
</basket>
An example of Basket XML for Diners.
<basket>
<agentId>johnsmith</agentId>
<item>
<description>Tour</description>
<productSku>TIMESKU</productSku>
<productCode>1234567</productCode>
<quantity>1</quantity>
<unitNetAmount>90.00</unitNetAmount>
<unitTaxAmount>5.00</unitTaxAmount>
<unitGrossAmount>95.00</unitGrossAmount>
<totalGrossAmount>95.00</totalGrossAmount>
<recipientFName>firstname</recipientFName>
<recipientLName>lastname</recipientLName>
<recipientMName>M</recipientMName>
<recipientSal>MR</recipientSal>
<recipientEmail>firstname.lastname @test.com</recipientEmail>
<recipientPhone>1234567890</recipientPhone>
<recipientAdd1>add1</recipientAdd1>
<recipientAdd2>add2</recipientAdd2>
<recipientCity>city</recipientCity>
<recipientState>CA</recipientState>
<recipientCountry>GB</recipientCountry>
<recipientPostCode>ha412t</recipientPostCode>
<itemShipNo>1123</itemShipNo>
<itemGiftMsg>Happy Birthday</itemGiftMsg>
</item>
<deliveryNetAmount>5.00</deliveryNetAmount>
<deliveryTaxAmount>0.00</deliveryTaxAmount>
<deliveryGrossAmount>5.00</deliveryGrossAmount>
<shipId>SHIP00002</shipId>
<shippingMethod>N</shippingMethod>
<shippingFaxNo>1234567890</shippingFaxNo>
<dinerCustomerRef>123123123</dinerCustomerRef>
</basket>