XML

XML is the ultimate solution for providing a seamless integration into any booking process. Below is a list of our xml methods.

Making a booking

Making a booking couldn't be easier, the booking process involves 3 steps, Availability, Reserve and Confirm each of which are demonstrated below:

Availability Request


Notes:
<Brochure>001</Brochure> This is always 001
<DeparturePointType></DeparturePointType> This can be either AIRPORT or RESORT
<ArrivalPointType></ArrivalPointType> This can be either AIRPORT or RESORT
<SectorType></SectorType> Can be either SINGLE or RETURN
<CurrencyCode></CurrencyCode> This can be either UKL for £ and EUR for Euros, must match currency set at account level.



Reserve Request


Notes:
<Brochure>001</Brochure>strong> This is always 001
<TransferCode></TransferCode> This is returned in the response from the availability request.

Confirm Request


Notes:
<TCOML version="CURR" sess="???????????.0"> the sess number is returned in the Reserve Response.
<TransacNo>???????</TransacNo> This is returned in the Reserve Response.
<AgentPassword></AgentPassword> If you dont have a valid password, Please Email Us
<AgentBref>Your booking Ref Here</AgentBref> If you specify your reference for the booking here, it will show upon your statement and this will make the accounts department happy.
<MobilePhone>447887983459</MobilePhone> Resorthoppa is able to send the pickup location and collection time for your clients return transfer via sms text message directly to their phone whilst in resort. To take advantage of this service you must provide us with your clients mobile number, We will NOT use this number for any other reason other than reconfirmation purposes. Number must be entered in International format eg. 447825983459 for uk mobile 07825983459
<AllowSMS>Y</AllowSMS> If you agree to Resorthoppa sending an SMS test message for reconfirmation purposes, please set <AllowSMS> to Y



View Booking


Notes:
The above is the mimimum request for booking details where the booking reference is already known.



View Booking Full Details


Notes:
The above is the maximum request for booking details where the booking reference is already known.
<DetailType>Passengers</DetailType> "Optional" Tag - If used will return all Passenger details
<DetailType>Commission</DetailType> "Optional" Tag - If used will return all Commission details
<DetailType>Instructions</DetailType> "Optional" Tag - If used will return all Joining Instructions
<DetailType>Supplements</DetailType> "Optional" Tag - If used will return all Supplement details



Search Bookings


Notes:
The above request is used to search for a booking based on either a booking date range or a departure date range OR BOTH.
<DeparturePointType></DeparturePointType> "Optional" Tag - If used will filter results by Departure AIRPORT or RESORT
<DeparturePointCode></DeparturePointCode> "Optional" Tag -
Must be used in conjunction with <DeparturePointType>
<ArrivalPointType></ArrivalPointType>
"Optional" Tag - If used will filter results by Arrival AIRPORT or RESORT
<ArrivalPointCode></ArrivalPointCode> "Optional" Tag -
Must be used in conjunction with <ArrivalPointType>
<UserReference></UserReference>
"Optional" Tag - If used will filter results by the client reference entered at time of booking. (See Confirm Request, <AgentBref>)



Amend Booking


Notes:
The above request is used to amend booking details, you can amend data in the tags below upto 6 days prior to departure:- .

<AccommodationName></AccommodationName>
<AccommodationAddress></AccommodationAddress>
<ClientMobile></ClientMobile>
<OutboundFlightNumber></OutboundFlightNumber>
<FlightArrivalTime></FlightArrivalTime>
<ReturnFlightNumber> (amended)</ReturnFlightNumber>
<FlightDepartureTime></FlightDepartureTime>

The normal process for amending a booking to to 1st retreive the current booking details by executing the view booking request. Then pass the current values for the above tags into the Amend request, making the changes to the required values. IMPORTANT you must make sure that for each of the tags above, you must enter information even if you arent changing anything because when you execute the amend request, it changed the values on the booking based on what is specified in the tags above. Please call David on 07825 983459 if you need this clarifying further.



Cancel Booking


Notes:
Cancellations are possible via xml upto 2 days prior to departure, Charges will be payable for cancellations made within 2 days of departure.