XML Booking History

This document is intended as a guide on how to retrieve the XML history related to a specific XML booking via our call centre site and how to interpret the information. This facility currently only stores information for the following XML requests:

  • <AddBookingRequest>
  • <AddBookingItemRequest>
  • <ModifyBookingRequest>
  • <ModifyBookingItemRequest>
  • <CancelBookingRequest>
  • <CancelBookingItemRequest>

From the Index Page on the call centre select the 'Bookings' link:

This will open up the Booking Search page:

On this page one of the following needs to be entered:

  • Booking ID
  • Client Booking Reference
  • Response Reference

The Client Booking Reference and the Response Reference must be used in conjunction with the Agent ID and these two references would be known to GTA staff only if provided by the client.

<?xml version="1.0" encoding="UTF-8" ?>
<Response ResponseReference = "REF_D_010_955-26809-046016567043062" ResponseSequence = "1">
    <ResponseDetails Language = "en">
        <BookingResponse>
            <BookingReferences>
                <BookingReference ReferenceSource = "client"><![CDATA[ 28062014D]]></BookingReference>
                <BookingReference ReferenceSource = "api"><![CDATA[ 314106]]></BookingReference>
            </BookingReferences>
            <BookingCreationDate>2014-02-28</BookingCreationDate>
            <BookingDepartureDate>2014-06-28</BookingDepartureDate>
            <BookingName><![CDATA[ DANIEL MCMILLAN]]></BookingName>
            <BookingPrice
                Currency = "GBP"
                Gross = "73.50"
                Commission = ".00"
                Nett = "73.50"/>
            <BookingStatus Code = "C"><![CDATA[ Confirmed ]]></BookingStatus>
            <PaxNames>
                <PaxName PaxId = "1"><![CDATA[ Daniel McMillan]]></PaxName>
            </PaxNames>
            <BookingItems>
                <BookingItem ItemType = "hotel">
                    <ItemReference>1</ItemReference>
                    <ItemCity Code = "BKK"><![CDATA[ Bangkok]]></ItemCity>
                    <Item Code = "AMA3"><![CDATA[ Amari Boulevard]]></Item>
                    <ItemPrice
                        Currency = "GBP"
                        Gross = "73.50"
                        Commission = ".00"
                        Nett = "73.50"/>
                    <ItemStatus Code = "C"><![CDATA[ Confirmed]]></ItemStatus>
                    <ItemConfirmationReference>LL8F229461</ItemConfirmationReference>
                    <HotelItem>
                        <PeriodOfStay>
                            <CheckInDate>2014-06-28</CheckInDate>
                            <CheckOutDate>2014-06-30</CheckOutDate>
                        </PeriodOfStay>
                        <HotelRooms>
                            <HotelRoom Code = "SB" Id = "001:AMA3:3805:S3801:4276:79472">
                                <Description>- <![CDATA[ Superior Room]]></Description>
                                <PaxIds>
                                    <PaxId>1</PaxId>
                                </PaxIds>
                            </HotelRoom>
                        </HotelRooms>
                        <Meals>
                            <Basis Code = "B"><![CDATA[ Breakfast]]></Basis>
                            <Breakfast Code = "F"><![CDATA[ Full]]></Breakfast>
                        </Meals>
                    </HotelItem>
                    <ChargeConditions>
                        <ChargeCondition Type = "cancellation">
                            <Condition
                                Charge = "true"
                                FromDate = "2014-06-28"
                                ToDate = "2014-06-24"
                                Currency = "GBP"
                                ChargeAmount = "36.75"/>
                            <Condition Charge = "false" FromDate = "2014-06-20"/>
                        </ChargeCondition>
                    </ChargeConditions>
                </BookingItem>
            </BookingItems>
        </BookingResponse>
    </ResponseDetails>
</Response>

This will bring up to the required booking, together with a button 

Clicking on the  button will open up a new page which displays the

XML booking history:

 

Fields     Description                                                                                                   
Action

Indicates the XML request type (<AddBookingRequest>,

<ModifyBookingRequest>, etc.)

Token Token Reference generated by the GTA systems for the request

Status

Indicates if the XML request was processed by the GTA systems or went

into error. The status can be either C (Correctly processed) or E (Error).

IP Address

The IP address from which the XML request was received by GTA

XML

Request

 

 

 

Shows all XML requests sent by the client.

By clicking on each link the user is able to see each XML request:

 

Date The date at which the request was received by the GTA systems
Time

The time at which the request was received by the GTA systems

(London time)

XML

Response

 

Shows all XML responses generated by the GTA systems.

By clicking on each link the user is able to see each XML response:

 

Date The date at which the response was generated by the GTA systems
Time

The time at which the response was generated by the GTA systems

(London time)

Sent

If the client uses the push mechanism this field will be "Yes" if the

response was successfully pushed , "Error" if it failed or "Queue" while

the GTA system is trying to push it to the ResponseURL specified by the

client in the XML request

Date

Date at which the response was pushed to the ResponseURL specified

by the client in the XML request

Time Time at which the response was pushed to the ResponseURL specified by the client in the request (London time)


N.B.
: XML booking data is only stored for a limited time; currently on our production

systems this is set to 200 days from booking start date. On our staging/demo systems we

currently retain booking information up to 50 days from booking start date.

Docs Navigation