This request can be used to create ad hoc components including Extras. The Booking Token replied can then be sent in the Basket Book Request.
The structure of this XML will be the following:
The structure of this XML will be the following:
<AdHocCreateRequest>
<LoginDetails>
<Login>test</Login>
<Password>test</Password>
<AgentReference />
<SellingCurrencyID>0</SellingCurrencyID>
<LanguageID>0</LanguageID>
<TrackingAffiliateID>0</TrackingAffiliateID>
</LoginDetails>
<AdHocTypeID>1</AdHocTypeID>
<SupplierID>12</SupplierID>
<SupplierReference>TEST</SupplierReference>
<Description>Bus Tour of Marbella</Description>
<SecondDescription>Test Second Description</SecondDescription>
<ResortID>709</ResortID>
<StartDate>2018-09-15</StartDate>
<EndDate>2018-09-16</EndDate>
<TotalCost>113.23</TotalCost>
<Adjustments>
<Adjustment>
<Description>Private guide</Description>
<ReportingCode>GUIDE1</ReportingCode>
<Cost>20.00</Cost>
</Adjustment>
</Adjustments>
<GuestConfiguration>
<Adults>2</Adults>
</GuestConfiguration>
</AdHocCreateRequest>
<AdHocCreateResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
<ThirdPartyErrors />
</ReturnStatus>
<BookingToken>[[BookingToken]]</BookingToken>
<TotalPrice>0.0</TotalPrice>
<TotalCommission>0.0</TotalCommission>
<VATOnCommission>0.00</VATOnCommission>
<Cancellations />
<PaymentsDue />
<TermsAndConditions />
<TermsAndConditionsURL>TermsAndConditionsURL</TermsAndConditionsURL>
</AdHocCreateResponse>