The Add Component request is used to add Property, Flight, Transfer or Extra components to an existing booking.
The Request contains a list of the same component book requests that are used in the BasketBookRequest. The components must first be searched and prebooked before they can be used here. Â
The structure of the XML will be:
The structure of the XML will be:
<AddComponentRequest>
<LoginDetails>
<Login>Login</Login>
<Password>Passowrd</Password>
<SellingCurrencyID>0</SellingCurrencyID>
<LanguageID>0</LanguageID>
</LoginDetails>
<BookingReference>1018402</BookingReference>
<GuestDetails>
<GuestDetail>
<GuestID>1</GuestID>
<Type>Adult</Type>
<Title>Mr</Title>
<FirstName>FirstName</FirstName>
<LastName>LastName</LastName>
<Age>0</Age>
<DateOfBirth>1983-06-07T00:00:00</DateOfBirth>
<NationalityID>0</NationalityID>
<Gender>Male</Gender>
<BookingPassengerID>0</BookingPassengerID>
</GuestDetail>
<GuestDetail>
<GuestID>2</GuestID>
<Age>0</Age>
<DateOfBirth>0001-01-01T00:00:00</DateOfBirth>
<NationalityID>0</NationalityID>
<BookingPassengerID>336</BookingPassengerID>
</GuestDetail>
</GuestDetails>
<PropertyBookings>
<PropertyBookRequest>
<BookingToken>Wnhu4+BOHuxm0qL4N2RTeayndFzOaMKCJbiTPW0n2RM=</BookingToken>
<ArrivalDate>2014-02-15T00:00:00</ArrivalDate>
<Duration>21</Duration>
<Request>Double bed</Request>
<ExpectedTotal>371.38</ExpectedTotal>
<RoomBookings>
<RoomBooking>
<RoomBookingToken>...</RoomBookingToken>
<GuestIDs>
<GuestID>1</GuestID>
<GuestID>2</GuestID>
</GuestIDs>
<OptionalSupplements/>
</RoomBooking>
</RoomBookings>
<BookingTags/>
</PropertyBookRequest>
</PropertyBookings>
<FlightBookings/>
<TransferBookings/>
<ExtraBookings/>
</AddComponentRequest>
<AddComponentResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<BookingReference> 1018402</BookingReference>
<TotalPrice>3306.58</TotalPrice>
<TotalCommission>0.0</TotalCommission>
<VATOnCommission>0.0</VATOnCommission>
<PropertyBookings>
<PropertyBookResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<BookingReference />
<TotalPrice>369.8600000</TotalPrice>
<TotalCommission>0.0</TotalCommission>
<VATOnCommission>0.00</VATOnCommission>
<PayLocalTotal>0</PayLocalTotal>
<PaymentsDue />
<Cancellations>
<Cancellation>
<StartDate>2013-10-08T00:00:00</StartDate>
<EndDate>2013-12-06T00:00:00</EndDate>
<Amount>0.00</Amount>
</Cancellation>
</Cancellations>
</PropertyBookResponse>
</PropertyBookings>
<FlightBookings />
<TransferBookings />
<ExtraBookings />
<PaymentsDue />
<QuoteID>0</QuoteID>
</AddComponentResponse>