From 7884ad8b977e98fef643852847f1d6e4993551c6 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Wed, 21 May 2025 12:21:02 +0100 Subject: [PATCH 1/3] Adding hard coded list of locations available for fast track --- site/_changelog.md | 1 + site/hxapi/fasttrack/av/index.md | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/site/_changelog.md b/site/_changelog.md index 8ceb56a2..dbbbc1f3 100644 --- a/site/_changelog.md +++ b/site/_changelog.md @@ -1,5 +1,6 @@ | Version Number | Date | Details | |----------------|---------------------|--------------------------------------------------------------------------------------------------------------------------------| +| 1.27.0 | 21st May 2025 | Adding list of available locations for FastTrack. | | 1.26.0 | 25th April 2025 | Added duplicate booking error. | | 1.25.0 | 17th March 2025 | Restore .co.uk dns and sandbox paths | | 1.24.0 | 3rd February 2025 | Mark PDF references as deprecated and remove theatrebreak shows link | diff --git a/site/hxapi/fasttrack/av/index.md b/site/hxapi/fasttrack/av/index.md index b319eb72..84d15230 100644 --- a/site/hxapi/fasttrack/av/index.md +++ b/site/hxapi/fasttrack/av/index.md @@ -24,7 +24,18 @@ For example, for fasttrack availability at Manchester the endpoint is: https://api.holidayextras.co.uk/v1/fasttrack/MAN ``` -To find the airport locations available for fasttrack, please refer to the [locations endpoint.](/hxapi/locations) +Available locations for the FastTrack product are +| IATA | Location Name | +|------|-----------------| +| BOH | Bournemouth | +| BRS | Bristol | +| EDI | Edinburgh | +| EMA | East Midlands | +| LPL | Liverpool | +| LBA | Leeds Bradford | +| MAN | Manchester | +| NCL | Newcastle | +| STN | Stansted | ### Request Parameters From c9556345c86cbdb53031d6315a620abf01128fd7 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Wed, 21 May 2025 12:21:53 +0100 Subject: [PATCH 2/3] Correcting heading for locations endpoint documentation --- site/hxapi/locations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/hxapi/locations.md b/site/hxapi/locations.md index 107d305c..0ae93f18 100644 --- a/site/hxapi/locations.md +++ b/site/hxapi/locations.md @@ -39,7 +39,7 @@ NB: All parameter names are case sensitive. | EU | Lounges | type=lounge&system=de | -## Hotel Availability Response +## Locations Response For a detailed explanation of the fields returned, please see below: From f1065bfabaab282be1f05def99096f7d4132734b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 11:30:00 +0000 Subject: [PATCH 3/3] Update dist --- docs/feed.xml | 2 +- docs/hxapi/asynchronous-bookings/index.html | 8 +- docs/hxapi/carhire/availability/index.html | 4 +- docs/hxapi/fasttrack/av/index.html | 13 +- docs/hxapi/locations/index.html | 2 +- docs/hxapi/parking/av/airport/index.html | 20 ++-- docs/hxapi/productlibrary/index.html | 28 ++--- docs/hxapi/transfers/av/index.html | 16 +-- docs/hxapi/upgrade/index.html | 16 +-- docs/hxapi/viewamendcancel/view/index.html | 20 ++-- docs/search/index.html | 126 ++++++++++---------- docs/versioning/index.html | 5 + 12 files changed, 138 insertions(+), 122 deletions(-) diff --git a/docs/feed.xml b/docs/feed.xml index 11b95c4b..cf1f1b49 100644 --- a/docs/feed.xml +++ b/docs/feed.xml @@ -1,2 +1,2 @@ -Jekyll2025-04-28T07:28:40+00:00/feed.xmlHoliday Extras APIDocumentation to give to partners who would like to integrate with our API. +Jekyll2025-05-21T11:29:57+00:00/feed.xmlHoliday Extras APIDocumentation to give to partners who would like to integrate with our API. \ No newline at end of file diff --git a/docs/hxapi/asynchronous-bookings/index.html b/docs/hxapi/asynchronous-bookings/index.html index 1dc387c3..3ded067f 100644 --- a/docs/hxapi/asynchronous-bookings/index.html +++ b/docs/hxapi/asynchronous-bookings/index.html @@ -85,7 +85,7 @@

Availability Request

UK Products Availability Request

-
    +
    • XML
    • @@ -93,7 +93,7 @@

      UK Products Availability Request

    -
      +
      • https://api.holidayextras.co.uk/v1/carpark/LGW?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2025-01-07&ArrivalTime=1200&DepartDate=2025-01-08&DepartTime=1200&NumberOfPax=1&includeAsyncProducts=true
        @@ -110,7 +110,7 @@ 

        UK Products Availability Request

        European Products Availability Request

        -
          +
          • XML
          • @@ -118,7 +118,7 @@

            European Products Availability R

          -
            +
            • https://api.holidayextras.co.uk/v1/carpark/MUC?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2025-12-01&ArrivalTime=1200&DepartDate=2025-12-08&DepartTime=1200&NumberOfPax=1&System=ABG&lang=en&includeAsyncProducts=true
              diff --git a/docs/hxapi/carhire/availability/index.html b/docs/hxapi/carhire/availability/index.html
              index f4f1c408..82092e97 100644
              --- a/docs/hxapi/carhire/availability/index.html
              +++ b/docs/hxapi/carhire/availability/index.html
              @@ -61,7 +61,7 @@ 

              Request

              Example request:

              -
                +
                • XML
                • @@ -69,7 +69,7 @@

                  Request

                -
                  +
                  • https://api.holidayextras.co.uk/v1/sandbox/carHire/products?key=1&From=06NOV16&ArrivalTime=1200&To=13NOV&DepartTime=1600&PickupLocation=FL965&DropoffLocation=FL965&DateOfBirth=1990-10-13
                    diff --git a/docs/hxapi/fasttrack/av/index.html b/docs/hxapi/fasttrack/av/index.html
                    index df37a31b..b36a3316 100644
                    --- a/docs/hxapi/fasttrack/av/index.html
                    +++ b/docs/hxapi/fasttrack/av/index.html
                    @@ -58,7 +58,18 @@ 

                    Endpoint

                    https://api.holidayextras.co.uk/v1/fasttrack/MAN
                     
                    -

                    To find the airport locations available for fasttrack, please refer to the locations endpoint.

                    +

                    Available locations for the FastTrack product are +| IATA | Location Name | +|——|—————–| +| BOH | Bournemouth | +| BRS | Bristol | +| EDI | Edinburgh | +| EMA | East Midlands | +| LPL | Liverpool | +| LBA | Leeds Bradford | +| MAN | Manchester | +| NCL | Newcastle | +| STN | Stansted |

                    Request Parameters

                    diff --git a/docs/hxapi/locations/index.html b/docs/hxapi/locations/index.html index bae2303f..b1cc7e2e 100644 --- a/docs/hxapi/locations/index.html +++ b/docs/hxapi/locations/index.html @@ -129,7 +129,7 @@

                    Request Parameters

                    -

                    Hotel Availability Response

                    +

                    Locations Response

                    For a detailed explanation of the fields returned, please see below:

                    diff --git a/docs/hxapi/parking/av/airport/index.html b/docs/hxapi/parking/av/airport/index.html index 2b15906c..5efc2f4b 100644 --- a/docs/hxapi/parking/av/airport/index.html +++ b/docs/hxapi/parking/av/airport/index.html @@ -57,7 +57,7 @@

                    Endpoint

                    For example, for London Gatwick the endpoint is:

                    -
                      +
                      • XML
                      • @@ -65,7 +65,7 @@

                        Endpoint

                      -
                        +
                        • https://api.holidayextras.co.uk/v1/carpark/LGW
                          @@ -452,7 +452,7 @@ 

                          Worked Examples

                          UK Products Availability Request

                          -
                            +
                            • XML
                            • @@ -460,7 +460,7 @@

                              UK Products Availability Request

                            -
                              +
                              • https://api.holidayextras.co.uk/carpark/LGW?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2020-01-07&ArrivalTime=1200&DepartDate=2020-01-08&DepartTime=1200&NumberOfPax=1
                                @@ -479,7 +479,7 @@ 

                                UK Products Availability Response

                                NB: This is a shortened example compiled from a full availability response.

                                -
                                  +
                                  • XML
                                  • @@ -487,7 +487,7 @@

                                    UK Products Availability Response

                                    -
                                      +
                                      • <?xml version="1.0"?>
                                        @@ -715,7 +715,7 @@ 

                                        UK Products Availability Response

                                        European Products Availability Request -
                                          +
                                          • XML
                                          • @@ -723,7 +723,7 @@

                                            European Products Availability R

                                          -
                                            +
                                            • https://api.holidayextras.co.uk/carpark/MUC?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2017-12-01&ArrivalTime=1200&DepartDate=2017-12-08&DepartTime=1200&NumberOfPax=1&System=ABG&lang=en
                                              @@ -742,7 +742,7 @@ 

                                              European Products Availability

                                              NB: This is a shortened example compiled from a full availability response.

                                              -
                                                +
                                                • XML
                                                • @@ -750,7 +750,7 @@

                                                  European Products Availability

                                                -
                                                  +
                                                  • <?xml version="1.0"?>
                                                    diff --git a/docs/hxapi/productlibrary/index.html b/docs/hxapi/productlibrary/index.html
                                                    index 4e10a469..f979ea0f 100644
                                                    --- a/docs/hxapi/productlibrary/index.html
                                                    +++ b/docs/hxapi/productlibrary/index.html
                                                    @@ -91,7 +91,7 @@ 

                                                    Available Fields

                                                    The available fields vary by product type. For each product type there is a recommended list of fields which should be requested to get the information required to effectively sell the product.

                                                    -
                                                      +
                                                      • Parking
                                                      • @@ -105,7 +105,7 @@

                                                        Available Fields

                                                      -
                                                        +
                                                        • @@ -976,7 +976,7 @@

                                                          Example 1 - Default Response

                                                          Request

                                                          -
                                                            + -
                                                              +
                                                              • https://api.holidayextras.co.uk/v1/product/LGW4/lite?token=000015778&key=mytestkey
                                                                @@ -1016,7 +1016,7 @@ 

                                                                Request

                                                                Response

                                                                -
                                                                  +
                                                                  • XML
                                                                  • @@ -1024,7 +1024,7 @@

                                                                    Response

                                                                  -
                                                                    +
                                                                    • <?xml version="1.0"?>
                                                                      @@ -1411,7 +1411,7 @@ 

                                                                      Example 2 - Restricted field list

                                                                      Request

                                              -
                                                + -
                                                  +
                                                  • https://api.holidayextras.co.uk/v1/product/LGW4/lite?token=000015778&key=mytestkey&fields=name,longitude,latitude
                                                    @@ -1451,7 +1451,7 @@ 

                                                    Request

                                                    Response

                                                    -
                                                      +
                                                      • XML
                                                      • @@ -1459,7 +1459,7 @@

                                                        Response

                                                      -
                                                        +
                                                        • <?xml version="1.0"?>
                                                          @@ -1520,7 +1520,7 @@ 

                                                          Request

                                                          Requests for German products return a different set of fields. Explanation of fields not currently available.

                                                          -
                                                            + -
                                                              +
                                                              • https://api.holidayextras.co.uk/v1/product/FRA0?key=mytestkey
                                                                @@ -1560,7 +1560,7 @@ 

                                                                Request

                                                                Response

                                                                -
                                                                  +
                                                                  • XML
                                                                  • @@ -1568,7 +1568,7 @@

                                                                    Response

                                                                  -
                                                                    +
                                                                    • <?xml version="1.0"?>
                                                                      diff --git a/docs/hxapi/transfers/av/index.html b/docs/hxapi/transfers/av/index.html
                                                                      index de32b163..0c688fde 100644
                                                                      --- a/docs/hxapi/transfers/av/index.html
                                                                      +++ b/docs/hxapi/transfers/av/index.html
                                                                      @@ -860,7 +860,7 @@ 

                                                                      Worked Examples

                                                                      Airport to TTI

                                                                      Request
                                                                      -
                                                                        +
                                                                        • XML
                                                                        • @@ -868,7 +868,7 @@
                                                                          Request
                                                                        -
                                                                          +
                                                                          • https:///api.holidayextras.co.uk/v1/transfers/search?ABTANumber=YourABTANumber&Password=YourABTANumber&Initials=YourInitials&key=YourKey&token=YourToken&PickUp=ALC&PickUpType=IATA&DropOffType=TTI&DropOff=10147575&FromDate=2022-03-16&FromTime=1115&ReturnDate=2022-03-23&ReturnTime=1115&Adults=2&OutFlight=U28605&ReturnFlight=U28602
                                                                            @@ -887,7 +887,7 @@ 
                                                                            Response

                                                                            NB: This is a shortened example compiled from a full availability response.

                                                                            -
                                                                              +
                                                                              • XML
                                                                              • @@ -895,7 +895,7 @@
                                                                                Response
                                                                              -
                                                                                +
                                                                                • <API_Reply Product="Transfers" RequestCode="1" Result="OK" cached="1" expires="2021-12-07 13:06:41">
                                                                                  @@ -1132,7 +1132,7 @@ 
                                                                                  Response

                                                                                  Airport to Postal Address

                                                                                  Request
                                                                                  -
                                                                                    +
                                                                                    • XML
                                                                                    • @@ -1140,7 +1140,7 @@
                                                                                      Request
                                                                                    -
                                                                                      +
                                                                                      • https:///api.holidayextras.co.uk/v1/transfers/search?ABTANumber=YourABTANumber&Password=YourABTANumber&Initials=YourInitials&key=YourKey&token=YourToken&PickUp=ALC&PickUpType=IATA&DropOffType=postal-address&DropOffName=Hotel%20Rural%20Castillo%20De%20Biar&DropOffAddress[0]=Carretera%20de%20Banyeres&DropOffAddress[1]=s/n&DropOffTown=%20Biar&DropOffCounty=Alicante&DropOffPostcode=03410&DropOffCountryCode=ES&DropOffLongitude=-0.76832006&DropOffLatitude=38.63852215&Adults=2&FromDate=2022-03-16&FromTime=1115&ReturnDate=2022-03-23&ReturnTime=1115&OutFlight=U28605&ReturnFlight=U28602
                                                                                        @@ -1159,7 +1159,7 @@ 
                                                                                        Response

                                                                                        NB: This is a shortened example compiled from a full availability response.

                                                                                        -
                                                                                          +
                                                                                          • XML
                                                                                          • @@ -1167,7 +1167,7 @@
                                                                                            Response
                                                                                          -
                                                                                            +
                                                                                            • <API_Reply Product="Transfers" RequestCode="1" Result="OK" cached="1" expires="2021-12-07 16:31:35">
                                                                                              diff --git a/docs/hxapi/upgrade/index.html b/docs/hxapi/upgrade/index.html
                                                                                              index 4bf6a2a4..a5ab5785 100644
                                                                                              --- a/docs/hxapi/upgrade/index.html
                                                                                              +++ b/docs/hxapi/upgrade/index.html
                                                                                              @@ -247,7 +247,7 @@ 

                                                                                              Example 1 - Carpark Upgrades

                                                                                              Request

                                                                                              -
                                                                                                +
                                                                                                • XML
                                                                                                • @@ -255,7 +255,7 @@

                                                                                                  Request

                                                                                                -
                                                                                                  +
                                                                                                  • https://api.holidayextras.co.uk/v1/upgrade/STN5?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45
                                                                                                    @@ -273,7 +273,7 @@ 

                                                                                                    Request

                                                                                                    Response

                                                                                                    -
                                                                                                      +
                                                                                                      • XML
                                                                                                      • @@ -281,7 +281,7 @@

                                                                                                        Response

                                                                                                      -
                                                                                                        +
                                                                                                        • <?xml version="1.0"?>
                                                                                                          @@ -618,7 +618,7 @@ 

                                                                                                          Example 1 - Hotel Upgrades

                                                                                                          Request

                                                                                                          -
                                                                                                            +
                                                                                                            • XML
                                                                                                            • @@ -626,7 +626,7 @@

                                                                                                              Request

                                                                                                            -
                                                                                                              +
                                                                                                              • https://api.holidayextras.co.uk/v1/upgrade/LGWSOF?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45
                                                                                                                @@ -642,7 +642,7 @@ 

                                                                                                                Request

                                                                                                                Response

                                                                                                                -
                                                                                                                  +
                                                                                                                  • XML
                                                                                                                  • @@ -650,7 +650,7 @@

                                                                                                                    Response

                                                                                                                  -
                                                                                                                    +
                                                                                                                    • <?xml version="1.0"?>
                                                                                                                      diff --git a/docs/hxapi/viewamendcancel/view/index.html b/docs/hxapi/viewamendcancel/view/index.html
                                                                                                                      index a3656823..fb3b1a26 100644
                                                                                                                      --- a/docs/hxapi/viewamendcancel/view/index.html
                                                                                                                      +++ b/docs/hxapi/viewamendcancel/view/index.html
                                                                                                                      @@ -54,7 +54,7 @@ 

                                                                                                                      Endpoint

                                                                                                                      The endpoint to use is (where YourBookingRef is the Holiday Extras booking reference):

                                                                                                                      -
                                                                                                                        +
                                                                                                                        • XML
                                                                                                                        • @@ -62,7 +62,7 @@

                                                                                                                          Endpoint

                                                                                                                        -
                                                                                                                          +
                                                                                                                          • https://api.holidayextras.co.uk/v1/booking/YourBookingRef
                                                                                                                            @@ -362,7 +362,7 @@ 

                                                                                                                            UK Products View Booking (for a

                                                                                                                            Request

                                                                                                                            -
                                                                                                                              +
                                                                                                                              • XML
                                                                                                                              • @@ -370,7 +370,7 @@

                                                                                                                                Request

                                                                                                                              -
                                                                                                                                +
                                                                                                                                • https://api.holidayextras.co.uk/v1/booking/YourBookingRef?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&Email=test@test.com
                                                                                                                                  @@ -387,7 +387,7 @@ 

                                                                                                                                  Request

                                                                                                                                  Response

                                                                                                                                  -
                                                                                                                                    +
                                                                                                                                    • XML
                                                                                                                                    • @@ -395,7 +395,7 @@

                                                                                                                                      Response

                                                                                                                                    -
                                                                                                                                      +
                                                                                                                                      • <?xml version="1.0"?>
                                                                                                                                        @@ -921,7 +921,7 @@ 

                                                                                                                                        Response

                                                                                                                                        UK Products View Booking (for a transfer)

                                                                                                                                        Request

                                                                                                                                        -
                                                                                                                                          +
                                                                                                                                          • XML
                                                                                                                                          • @@ -929,7 +929,7 @@

                                                                                                                                            Request

                                                                                                                                          -
                                                                                                                                            +
                                                                                                                                            • https://api.holidayextras.co.uk/v1/booking/YourBookingRef?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&Email=test@test.com
                                                                                                                                              @@ -946,7 +946,7 @@ 

                                                                                                                                              Request

                                                                                                                                              Response

                                                                                                                                              -
                                                                                                                                                +
                                                                                                                                                • XML
                                                                                                                                                • @@ -954,7 +954,7 @@

                                                                                                                                                  Response

                                                                                                                                                -
                                                                                                                                                  +
                                                                                                                                                  • <?xml version="1.0"?>
                                                                                                                                                    diff --git a/docs/search/index.html b/docs/search/index.html
                                                                                                                                                    index da25e074..a117b799 100644
                                                                                                                                                    --- a/docs/search/index.html
                                                                                                                                                    +++ b/docs/search/index.html
                                                                                                                                                    @@ -93,13 +93,6 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-insurance-availability": {
                                                                                                                                                    -        "title": "Insurance Schemes Availability",
                                                                                                                                                    -        "content": "Insurance Schemes AvailabilityAPI Docs > product:InsuranceInsurance Schemes Availability RequestThis endpoint will respond with a quotation for a policy to be issued under an insurance scheme.MethodGETEndpointTo request the list of insurance schemes available, the endpoint to use is:https://api.holidayextras.co.uk/v1/insurancepolicy/RegionCodeFor example, to request a quote for a policy covering Europe (low risk), the endpoint is:https://api.holidayextras.co.uk/v1/insurancepolicy/EUROPELOWTo find the list of available regions, please refer to the section on insurance countries.Request ParametersNB: All parameter names are case sensitive.            Name      Data Type      Format      Mandatory?      Additional Information                  ABTANumber      String      [A-Z0-9] 5 chars      Y      This is also known as an ‘agent code’. This will be confirmed to you by your Account Manager during set up.              Password      String      [A-Z0-9] 5 chars      Y      Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.              key      String      [A-Z]      Y      This will be assigned to you by your Account Manager during set up.              token      String      [0-9] 9 chars      Y      Please see user token endpoint for details of how to generate a token.              StartDate      Date      YYYY-MM-DD      Y      Date customer wants policy to start (start date of trip if single trip, or up to 30 days from search date if annual trip)              EndDate      Date      YYYY-MM-DD      N*      Date customer wants policy to end (return date of trip if single trip). NB: If no end date is provided, system will assume you are requesting an annual policy.              birthDate[]      Date      YYYY-MM-DD      Y      Date of birth for customers. All customers requiring inclusion on this policy quote must provide their date of birth. You can add multiple people by ennumerating each date of birth in the format birthDate[0], birthDate[1], birthDate[2], and so on.              title[]      String      [A-Z] 4 chars      Y      Title for customers. All customers requiring inclusion on this policy quote must provide their title. You can add multiple people by ennumerating each title in the format title[0], title[1], title[2], and so on.              firstName[]      String      [A-Z] 15 chars      Y      First name for customers. All customers requiring inclusion on this policy quote must provide their first name. You can add multiple people by ennumerating each first name in the format firstName[0], firstName[1], firstName[2], and so on.              lastName[]      String      [A-Z] 15 chars      Y      Last name for customers. All customers requiring inclusion on this policy quote must provide their last name. You can add multiple people by ennumerating each last name in the format lastName[0], lastName[1], lastName[2], and so on.      Insurance Schemes Availability ResponseThe insurance schemes availability response will return all the products that are available on the requested dates for that region. A summary of the request received can be found in the header field at the end of the response.For a detailed explanation of the fields returned, please see below:            Field      Additional Information                  Itinerary/Destination                     Itinerary/DestNum                     Itinerary/StartDate                     Itinerary/EndDate                     Itinerary/AnnualStart                     Quote/SchemeCode                     Quote/SchemeDes                     Quote/PolicyEnd                     Quote/PolicyStart                     Quote/Annual                     Quote/SchemePrice                     Quote/SchemeName                     Quote/CancellationCover                     Quote/CancellationXS                     Quote/MedicalCover                     Quote/MedicalXS                     Quote/BaggageCover                     Quote/BaggageXS                     Quote/PolicyWording                     Quote/KeyFacts                     Quote/Wintersports                     Quote/Insolvency                     Quote/destinationID                     API_Header      The API returns every parameter and value you sent in the previous request.      Worked ExamplesBelow are worked examples of both the request and response for insurance quote.Insurance Schemes Availability Requesthttps://api.holidayextras.co.uk/v1/insurancepolicy/EUROPELOW?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&StartDate=2017-12-01&EndDate=2017-12-08&birthDate[0]=1982-06-26&title[0]=Mr&firstName[0]=TEST&lastName[0]=TESTInsurance Schemes Availability ResponseNB: This is a shortened example compiled from a full insurance quote response.<?xml version=\"1.0\" ?><API_Reply Product=\"Quote\">    <Itinerary>        <Destination>Europelow</Destination>        <DestNum>6</DestNum>        <StartDate>2017-12-01</StartDate>        <EndDate>2017-12-08</EndDate>        <AnnualStart>30AUG17</AnnualStart>    </Itinerary>    <Quote>        <SchemeCode>8673</SchemeCode>        <SchemeDes></SchemeDes>        <PolicyEnd>2017-12-08</PolicyEnd>        <PolicyStart>2017-12-01</PolicyStart>        <Annual>N</Annual>        <SchemePrice>18.26</SchemePrice>        <SchemeName>OTA</SchemeName>        <CancellationCover>500</CancellationCover>        <CancellationXS>75</CancellationXS>        <MedicalCover>5000000</MedicalCover>        <MedicalXS>100</MedicalXS>        <BaggageCover></BaggageCover>        <BaggageXS></BaggageXS>        <PolicyWording>http://secure.holidayextras.co.uk/images/groups/insurancemagenta/policy_wording/HXMainAgent0317(HX001).pdf</PolicyWording>        <KeyFacts>http://secure.holidayextras.co.uk/images/groups/insurancemagenta/policy_wording/</KeyFacts>        <Wintersports>Y</Wintersports>        <Insolvency>N</Insolvency>        <destinationID>13</destinationID>    </Quote>    <API_Header>        <Request>            <ABTANumber>YourABTANumber</ABTANumber>            <Password>YourPassword</Password>            <key>YourKey</key>            <token>YourToken</token>            <StartDate>2017-12-01</StartDate>            <EndDate>2017-12-08</EndDate>            <birthDate>1982-06-26</birthDate>            <title>Mr</title>            <firstName>TEST</firstName>            <lastName>TEST</lastName>            <v>1</v>        </Request>    </API_Header></API_Reply>",
                                                                                                                                                    -        "url": "/hxapi/insurance/availability/"
                                                                                                                                                    -      }
                                                                                                                                                    -      ,
                                                                                                                                                    -    
                                                                                                                                                           "hxapi-carhire-availability": {
                                                                                                                                                             "title": "Availability",
                                                                                                                                                             "content": "AvailabilityAPI Docs > product:Car Hire > endpoint:availabilityGET: /carHire/productsRequestThe following GET parameters are mandatory:\"key\": 1,\"From\": \"YYYY-MM-DD\",\"ArrivalTime\": \"HHmm\", // 24 hour time format\"To\": \"YYYY-MM-DD\",\"DepartTime\": \"HHmm\", // 24 hour time format\"PickupLocation\": \"FL965\", // code from the locations request\"DropoffLocation\": \"FL965\", // code from the locations request\"DateOfBirth\": \"YYYY-MM-DD\",\"token\": \"123456789\" // user tokenExample request:\tXML\tJSON\thttps://api.holidayextras.co.uk/v1/sandbox/carHire/products?key=1&From=06NOV16&ArrivalTime=1200&To=13NOV&DepartTime=1600&PickupLocation=FL965&DropoffLocation=FL965&DateOfBirth=1990-10-13\thttps://api.holidayextras.co.uk/v1/sandbox/carHire/products.js?key=1&From=06NOV16&ArrivalTime=1200&To=13NOV&DepartTime=1600&PickupLocation=FL965&DropoffLocation=FL965&DateOfBirth=1990-10-13Note the .js extension.ResponseCar Hire returns all of each product’s content within the availability request (repeated elements omitted and represented by {…}).{  \"API_Reply\": {    \"ATTRIBUTES\": {      \"Product\": \"CarHire\",      \"RequestCode\": 1,      \"Result\": \"OK\",      \"expires\": \"2016-11-03 12:53:25\"    },    \"CarHire\": [      {        \"ATTRIBUTES\": [],        \"Name\": \"PEUGEOT 208 AC or Similar\",        \"Code\": \"FLERECMR\",        \"BookingURL\": \"/carHire/FLERECMR.js\",        \"MoreInfoURL\": null,        \"PackageName\": \"Inclusive\",        \"VehicleType\": \"Car\",        \"Surcharge\": {          \"credit\": {            \"calculated\": 400,            \"total\": 26223,            \"percent\": 2.5,            \"min\": 150,            \"max\": 400          },          \"debit\": {            \"calculated\": 0,            \"total\": 25823          }        },        \"Passengers\": 4,        \"Provider\": \"EuropCar\",        \"TotalPrice\": 258.23,        \"VehicleClass\": \"Economy\",        \"LuggageCapacity\": 1,        \"PickupLocation\": {          \"name\": \"Amsterdam (Schipol) Airport\",          \"willDeliverVehicle\": \"\",          \"deliverySurcharge\": null,          \"address1\": \"AANKOMSTPASSAGE 10\",          \"address2\": \"ARRIVAL HALL  WEST 3  'PLAZA'\",          \"address3\": \"AMSTERDAM\",          \"countryName\": \"Netherlands\",          \"postcode\": \"1118 AX\",          \"phone\": \"31 20 3164190\",          \"locationType\": \"At the airport\",          \"openingTimes\": {            \"mon\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"tue\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"wed\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"thu\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"fri\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"sat\": {              \"open\": \"07:00\",              \"close\": \"23:00\"            },            \"sun\": {              \"open\": \"07:00\",              \"close\": \"23:00\"            }          }        },        \"Images\": [          {            \"src\": \"//static.europcar.com/carvisuals/partners/600x350/ECMR_NL.jpeg\",            \"alt\": \"PEUGEOT 208 AC or Similar\"          }        ],        \"AllowNoContent\": null,        \"Terms\": {          \"url\": \"//www.flexibleautos.com/TandCs/ER%20NL.html\",          \"complete\": [            {              \"heading\": \"EXCESS\",              \"text\": \"There is an insurance excess of between 440 EUR and 660 EUR depending on car group.\"            },            {              \"heading\": \"FUEL\",              \"text\": \"Cars will be supplied with a full tank of fuel and should be returned full otherwise the client will be charged for missing fuel plus a refuelling charge of 20 EUR + tax.\"            },            {              \"heading\": \"DEPOSIT\",              \"text\": \"The lead driver must have a credit card in their name. A deposit will be taken from the card to cover fuel and the insurance excess.\"            },            {              \"heading\": \"ADDITIONAL DRIVER\",              \"text\": \"The cost for an additional driver is payable locally 4.2 EUR + tax per day, maximum charge 42 EUR + tax per rental.\"            },            {              \"heading\": \"DRIVING LICENCE REQUIREMENTS\",              \"text\": \"All drivers must have held a full, valid national license. UK License for at least one year. Only the photo card part of the licence is required however if the driver also has a paper part, we recommend that they take this with them.   The driver must also provide an additional form of photographic ID in the form of a Full Valid Passport.\\n\\nOverseas Licence: International driving permit is required with all non-European licences if the driving licence is written in a language or characters different to those of the renting country. Even when an International Driving License is required, a domestic licence must be provided.\"            },            {              \"heading\": \"BABY SEATS / BOOSTER SEATS\",              \"text\": \"Child seats are available on request at a cost of 4.2 EUR + tax per day, maximum charge 42 EUR + tax per rental.\"            },            {              \"heading\": \"AGE RESTRICTIONS\",              \"text\": \"Minimum rental age is 21 years. \\n\\nMinimum driving license period – 1 year.\"            },            {              \"heading\": \"GPS UNITS / NAVIGATION\",              \"text\": \"GPS units are available from airport locations at a cost of 10.08 EUR + tax per day, maximum charge 100.84 EUR + tax per rental.\"            },            {              \"heading\": \"OUT OF HOURS\",              \"text\": \"On a request basis only at a charge of 25 EUR + tax.\"            },            {              \"heading\": \"DRIVING RESTRICTIONS\",              \"text\": \"The renter is allowed to drive in: Andorra, Austria, Belgium, France, Denmark, Finland, Germany, Ireland, Italy, Luxembourg, The Netherlands, Norway, Portugal, Spain (except Ceuta & Melilla), Sweden, Switzerland and the United Kingdom.\"            },            {              \"heading\": \"GRACE PERIOD\",              \"text\": \"Europcar allows a grace period of 30 minutes.\"            },            {              \"heading\": \"WHATS NOT INCLUDED\",              \"text\": \"Personal Accident Insurance \\nOptional extras signed for locally\\nOne Way Rental Charges \\nParking Fines, Toll charges, congestions charges, Key Replacement\\nTow Charges\"            }          ],          \"fuelPolicy\": \"Cars will be supplied with a full tank of fuel and should be returned full otherwise the client will be charged for missing fuel plus a refuelling charge of 20 EUR + tax.<br>\",          \"excessPolicy\": \"There is an insurance excess of between 440 EUR and 660 EUR depending on car group.<br>\",          \"priceIncludes\": [            \"Unlimited Mileage\",            \"Collision Damage Waiver (with Excess)\",            \"Third Party Liability Insurance\",            \"Theft Waiver (with Excess)\",            \"Local Tax\",            \"Airport Fee\"          ]        },        \"Price\": 25823,        \"Doors\": 4,        \"SellingTexts\": [          \"FUEL - Full to Full\",          \"EXCESS - Standard Excess\"        ],        \"OnRequest\": \"\",        \"NonDiscPrice\": 258.23,        \"DropoffLocation\": {          \"name\": \"Amsterdam (Schipol) Airport\",          \"willDeliverVehicle\": \"\",          \"deliverySurcharge\": null,          \"address1\": \"AANKOMSTPASSAGE 10\",          \"address2\": \"ARRIVAL HALL  WEST 3  'PLAZA'\",          \"address3\": \"AMSTERDAM\",          \"countryName\": \"Netherlands\",          \"postcode\": \"1118 AX\",          \"phone\": \"31 20 3164190\",          \"locationType\": \"At the airport\",          \"openingTimes\": {            \"mon\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"tue\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"wed\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"thu\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"fri\": {              \"open\": \"06:30\",              \"close\": \"23:00\"            },            \"sat\": {              \"open\": \"07:00\",              \"close\": \"23:00\"            },            \"sun\": {              \"open\": \"07:00\",              \"close\": \"23:00\"            }          }        },        \"Features\": {          \"airConditioning\": null,          \"automaticTransmission\": \"\"        },        \"Discount\": null,        \"SupplierData\": {          \"rateQualifier\": \"E162281612011054F0\",          \"productId\": 1,          \"baseProductCurrency\": \"GBP\",          \"excessRefundPolicy\": {            \"price\": 4193,            \"discount\": null          }        }      },      {...}    ],    \"Pricing\": {      \"CCardSurchargePercent\": 2.5,      \"CCardSurchargeMin\": 1.5,      \"CCardSurchargeMax\": 4    },    \"API_Header\": {      \"Request\": {        \"key\": 1,        \"From\": \"2016-11-06\",        \"ArrivalTime\": 1200,        \"To\": \"2016-11-13\",        \"DepartTime\": 1600,        \"PickupLocation\": \"FL965\",        \"DropoffLocation\": \"FL965\",        \"DateOfBirth\": \"1990-10-10\",        \"format\": \"js\"      }    }  }}",
                                                                                                                                                    @@ -107,6 +100,13 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    +      "hxapi-insurance-availability": {
                                                                                                                                                    +        "title": "Insurance Schemes Availability",
                                                                                                                                                    +        "content": "Insurance Schemes AvailabilityAPI Docs > product:InsuranceInsurance Schemes Availability RequestThis endpoint will respond with a quotation for a policy to be issued under an insurance scheme.MethodGETEndpointTo request the list of insurance schemes available, the endpoint to use is:https://api.holidayextras.co.uk/v1/insurancepolicy/RegionCodeFor example, to request a quote for a policy covering Europe (low risk), the endpoint is:https://api.holidayextras.co.uk/v1/insurancepolicy/EUROPELOWTo find the list of available regions, please refer to the section on insurance countries.Request ParametersNB: All parameter names are case sensitive.            Name      Data Type      Format      Mandatory?      Additional Information                  ABTANumber      String      [A-Z0-9] 5 chars      Y      This is also known as an ‘agent code’. This will be confirmed to you by your Account Manager during set up.              Password      String      [A-Z0-9] 5 chars      Y      Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.              key      String      [A-Z]      Y      This will be assigned to you by your Account Manager during set up.              token      String      [0-9] 9 chars      Y      Please see user token endpoint for details of how to generate a token.              StartDate      Date      YYYY-MM-DD      Y      Date customer wants policy to start (start date of trip if single trip, or up to 30 days from search date if annual trip)              EndDate      Date      YYYY-MM-DD      N*      Date customer wants policy to end (return date of trip if single trip). NB: If no end date is provided, system will assume you are requesting an annual policy.              birthDate[]      Date      YYYY-MM-DD      Y      Date of birth for customers. All customers requiring inclusion on this policy quote must provide their date of birth. You can add multiple people by ennumerating each date of birth in the format birthDate[0], birthDate[1], birthDate[2], and so on.              title[]      String      [A-Z] 4 chars      Y      Title for customers. All customers requiring inclusion on this policy quote must provide their title. You can add multiple people by ennumerating each title in the format title[0], title[1], title[2], and so on.              firstName[]      String      [A-Z] 15 chars      Y      First name for customers. All customers requiring inclusion on this policy quote must provide their first name. You can add multiple people by ennumerating each first name in the format firstName[0], firstName[1], firstName[2], and so on.              lastName[]      String      [A-Z] 15 chars      Y      Last name for customers. All customers requiring inclusion on this policy quote must provide their last name. You can add multiple people by ennumerating each last name in the format lastName[0], lastName[1], lastName[2], and so on.      Insurance Schemes Availability ResponseThe insurance schemes availability response will return all the products that are available on the requested dates for that region. A summary of the request received can be found in the header field at the end of the response.For a detailed explanation of the fields returned, please see below:            Field      Additional Information                  Itinerary/Destination                     Itinerary/DestNum                     Itinerary/StartDate                     Itinerary/EndDate                     Itinerary/AnnualStart                     Quote/SchemeCode                     Quote/SchemeDes                     Quote/PolicyEnd                     Quote/PolicyStart                     Quote/Annual                     Quote/SchemePrice                     Quote/SchemeName                     Quote/CancellationCover                     Quote/CancellationXS                     Quote/MedicalCover                     Quote/MedicalXS                     Quote/BaggageCover                     Quote/BaggageXS                     Quote/PolicyWording                     Quote/KeyFacts                     Quote/Wintersports                     Quote/Insolvency                     Quote/destinationID                     API_Header      The API returns every parameter and value you sent in the previous request.      Worked ExamplesBelow are worked examples of both the request and response for insurance quote.Insurance Schemes Availability Requesthttps://api.holidayextras.co.uk/v1/insurancepolicy/EUROPELOW?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&StartDate=2017-12-01&EndDate=2017-12-08&birthDate[0]=1982-06-26&title[0]=Mr&firstName[0]=TEST&lastName[0]=TESTInsurance Schemes Availability ResponseNB: This is a shortened example compiled from a full insurance quote response.<?xml version=\"1.0\" ?><API_Reply Product=\"Quote\">    <Itinerary>        <Destination>Europelow</Destination>        <DestNum>6</DestNum>        <StartDate>2017-12-01</StartDate>        <EndDate>2017-12-08</EndDate>        <AnnualStart>30AUG17</AnnualStart>    </Itinerary>    <Quote>        <SchemeCode>8673</SchemeCode>        <SchemeDes></SchemeDes>        <PolicyEnd>2017-12-08</PolicyEnd>        <PolicyStart>2017-12-01</PolicyStart>        <Annual>N</Annual>        <SchemePrice>18.26</SchemePrice>        <SchemeName>OTA</SchemeName>        <CancellationCover>500</CancellationCover>        <CancellationXS>75</CancellationXS>        <MedicalCover>5000000</MedicalCover>        <MedicalXS>100</MedicalXS>        <BaggageCover></BaggageCover>        <BaggageXS></BaggageXS>        <PolicyWording>http://secure.holidayextras.co.uk/images/groups/insurancemagenta/policy_wording/HXMainAgent0317(HX001).pdf</PolicyWording>        <KeyFacts>http://secure.holidayextras.co.uk/images/groups/insurancemagenta/policy_wording/</KeyFacts>        <Wintersports>Y</Wintersports>        <Insolvency>N</Insolvency>        <destinationID>13</destinationID>    </Quote>    <API_Header>        <Request>            <ABTANumber>YourABTANumber</ABTANumber>            <Password>YourPassword</Password>            <key>YourKey</key>            <token>YourToken</token>            <StartDate>2017-12-01</StartDate>            <EndDate>2017-12-08</EndDate>            <birthDate>1982-06-26</birthDate>            <title>Mr</title>            <firstName>TEST</firstName>            <lastName>TEST</lastName>            <v>1</v>        </Request>    </API_Header></API_Reply>",
                                                                                                                                                    +        "url": "/hxapi/insurance/availability/"
                                                                                                                                                    +      }
                                                                                                                                                    +      ,
                                                                                                                                                    +    
                                                                                                                                                           "hxapi-barcode": {
                                                                                                                                                             "title": "Barcode",
                                                                                                                                                             "content": "BarcodeAn increasing number of car parks, and other products, are updating the way they operate to introduce scanning systems in order to speed up arrival procedures. You will be required to include a 2D barcode on every customer confirmation. The only instance where you should not include a 2D barcode is when a car park stipulates that a QR code is required.This endpoint simply enables you to specify a booking reference and receive a Code128 barcode representation of that in return.In our experience, the size can be scaled down, but you must keep the proportions the same to prevent blurring.URL/barcode/{bookingRef}MethodGETParameters            Name      Data Type      Format      Required                  key      Number             Y              angle      Numeric      Multiple of 90      N      The file extension is also required, to tell the API to return the correct image headers.Requesthttps://api.holidayextras.co.uk/sandbox/v1/barcode/ABCDE.png?key=YourKeySo you can include it in your page as easily as…<img src=\"https://api.holidayextras.co.uk/sandbox/v1/barcode/ABCDE.png?key=YourKey\" />The image can be rotated to fit the side of a page:https://api.holidayextras.co.uk/sandbox/v1/barcode/ABCDE.png?key=YourKey&angle=90Orhttps://api.holidayextras.co.uk/sandbox/v1/barcode/ABCDE.png?key=YourKey&angle=270ReplyThe reply in this case will be an image, not XML.QR CodeYou can establish whether a car park requires a QR code by including the parameter ‘&fields=qr_code’ within your request. The response will either be ‘0’ or ‘1’.A QR code can be generated in the same fashion as a barcode, just call the /qrcode/ API.Requesthttps://api.holidayextras.co.uk/sandbox/v1/qrcode/ABCDE.png?key=YourKeySo you can include it in your page as easily as…<img src=\"https://api.holidayextras.co.uk/sandbox/v1/qrcode/ABCDE.png?key=YourKey\" />If the Response contains QRCodeValue propery, you can use HEX Barcode generator to create a QR codehttps://barcode-generator.dock-yard.io/?bcid=qrcode&text=ABCDE&eclevel=QYou can also include it in your page<img src=\"https://barcode-generator.dock-yard.io/?bcid=qrcode&text=ABCDE&eclevel=Q\" />",
                                                                                                                                                    @@ -114,13 +114,6 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-hotel-bkg": {
                                                                                                                                                    -        "title": "Hotel Booking Request",
                                                                                                                                                    -        "content": "Hotel Booking RequestMethodPOSTEndpointThe endpoint to use is:https://api.holidayextras.co.uk/v1/hotel/LocationCodeFor example, for Mercure at London Heathrow the endpoint is:https://api.holidayextras.co.uk/v1/hotel/LHRMEARequest ParametersThe parameters must be sent in the body of the request, as x-www-form-urlencoded data.NB: All parameter names are case sensitive.            Name      Data Type      Format      Mandatory?      Additional Information                  ABTANumber      String      [A-Z0-9] 5 chars      Y      This is also known as an ‘agent code’. This will be confirmed to you by your Account Manager during set up.              Password      String      [A-Z0-9] 5 chars      N*      Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.              Initials      String      [A-Z] 3 chars      N      The initials of the Operator / Agent.              key      String      [A-Z]      Y      This will be assigned to you by your Account Manager during set up.              token      String      [0-9] 9 chars      Y      This is the same token used in the availability request.              ArrivalDate      Date      YYYY-MM-DD      Y      Date customer arrives at hotel.              Nights      Integer      1, 2, 3, etc      Y      Number of nights the customer wants to stay in the hotel. NB: For European products it is only possible to book one night stays.              RoomCode      String      [A-Z0-9] 3 chars      Y      See RoomCodes for a list of valid codes.              Adults      Integer      [1-5] 1 char      Y      The number of adults occupying the room.              Children      Integer      [0-4] 1 char      Y      The number of children occupying the room.              ParkingDays      Integer      [0-9] 2 chars      Y      NB: The maximum duration accepted for ParkingDays is 30.              Title      String      [A-Z] 4 chars      Y      Title of lead passenger              Initial      String      [A-Z] 1 chars      Y      Initial of lead passenger              Surname      String      [A-Z] 20 chars      Y      Surname of lead passenger              Address[]      String      [A-Z0-9] 25 chars      Y      First line of address (house name / number and road) of lead passenger. If you require more than 1 address line, then you can replicate this field and increment the number in square brackets, i.e. “Address[1]” for address line 2, and so on. NB: This field can be set to NA              Town      String      [A-Z] 20 chars      Y      Town of address. NB: This field can be set to NA              County      String      [A-Z] 20 chars      Y      County of address. NB: This field can be set to NA              PostCode      String      [A-Z0-9] 10 chars      Y      Post code of address. NB: This field can be set to NA              DayPhone      Integer      [0-9] 20 chars max      N      The customer’s telephone number.              Email      String      [A-Z0-9] 50 chars      Y      The email address of customer.              CustomerRef      String      [A-Z0-9] 20 chars      N      Enter your Customer Reference to help match bookings for accounting purposes.              Remarks      String      [A-Z0-9] 60 chars      N      Pass in Remarks for notification such as COT REQUESTED in ROOM              Waiver      Boolean      [0,1]      Y      Defaults to 0 if not supplied.              DataProtection      String      [Y,N]      N      Does the customer consent to receiving offers from Holiday Extras? Y = Yes, will receive offers, N = No, customer data is protected. Defaults to No if not supplied.              PriceCheckFlag      String      [Y]      Y      Indicates a price check will be carried out prior to booking. If the price is lower in the system the booking will be made as the customer will benefit from a saving.  If the price has changed and is higher than the price stated on availability, an error will return to explain that the price has increased, the booking can still be made but the customer must confirm that they will pay the higher amount.  You should then resubmit the request changing the PriceCheckPrice with the new price.              PriceCheckPrice      Float      [0-9]      Y      Price of the product, received from the availability request or price check.              System      String      [A-Z] 3 chars      Y*      For European products, you need to pass in the value of System=ABG (the default is System=ABC, which is UK products only).              lang      String      [A-Z] 2 chars      Y*      Required for requests for European products. (Values available are en, de, it, es, pt and nl.)              Supplements/Code      String      [A-Z0-9] 5 chars      N      Product code of the upgrade to book. See below for more info on booking upgrades              Supplements/Date      String      YYYY-MM-DD      Y      The date to book the upgrade for. This should be brought forward from the upgrade availability request.              Supplements/Quantity      Integer      [0-9]1 char      Y*      For per room/booking upgrades, specify the required quantity              Supplements/Adults      Integer      [0-9]1 char      Y*      For per person upgrades, specify the number of adult passes              Supplements/Children      Integer      [0-9]1 char      Y*      For per person upgrades, specify the number of child passes              Supplements/TotalPrice      Float      [0-9]      Y      Mandatory for all upgrades. The total price of the upgrade, accounting for total quantity              Supplements/LoungeArrival      String      YYYY-MM-DD HH:mm      Y*      Mandatory for Lounge upgrades. Specifies the time the client wishes to enter the lounge      Booking UpgradesIt is possible to booking upgrade items at the same time as making a core product booking. Once the core product has been selected you must make an Upgrade availability request. Use the information in the response to pick the upgrades desired for the product. In the booking request any number of Supplements tags may be added but each must be for a unique upgrade. Multiple Supplements can be added in the request using the square bracket([]) notation e.g.POST /v1/hotel/LGWSOF HTTP/1.1Host: api.holidayextras.co.ukContent-Type: application/x-www-form-urlencodedABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2020-11-09&ArrivalTime=12:30&DepartDate=2020-11-17&DepartTime=13:45&Title=Mr&Initial=T&Surname=Test&Address=Holiday Extras Ltd&Address=Ashford Road&Town=Hythe&County=Kent&PostCode=CT214JF&Email=test@test.com&PriceCheckFlag=Y&PriceCheckPrice=50.05&CarColour=White&CarMake=Range Rover&CarModel=Vogue&Registration=TE17 STS&ReturnFlight=VIR19&Supplements[0][Code]=HXOST1&Supplements[0][Quantity]=1&Supplements[0][Date]=2020-11-09&Supplements[0][TotalPrice]=1.99&Supplements[1][Code]=STNSFS&Supplements[1][Date]=2020-11-09&Supplements[1][Adults]=2&Supplements[1][Children]=1&Supplements[1][TotalPrice]=21.00For per Room or per Booking upgrades a Quantity must be supplied.For per Person upgrades the number of Adult and Children passes must be supplied. Depending on the upgrade it may also be necessary to supplier the number of Infants.PricingA TotalPrice must be included with each supplement node. This should be calculated as follows;  Per Room or per Booking - Quantity x Price  Per Person - (Adults x AdPrice) + (Children x ChPrice)*NOTE* When booking upgrades the cost of the upgrades should not be added to the PriceCheckPrice. This should only reflect the price of the core product.FastTrackWhen booking fast track passes you will receive links to the client’s fast track passes in the booking response. These can be added to your own confirmation emails and will be required by the client to use their passes.Multiple rooms on same bookingCurrently, we can only accept a maximum of 2 rooms per booking. If the customer needs more, you will need to make multiple requests. If an intermediary account, you should note that this would lead to multiple transactions on the credit card, and multiple charges, and therefore we advise against it.The additional parameters for including a second room are:            Name      Data Type      Format      Mandatory?      Additional Information                  SecondRoomType      String      [A-Z0-9] 2 chars      N*      This parameter is mandatory if the customer wishes to book two rooms at the same time. The room codes are as per Room Codes.              SecondRoomCode      String      Room Codes      N      NB: Please note that the room codes differ between availability and booking requests.              SecondRoomAdults      Integer      [1-5] 1 char      N      The number of adults occupying the second room.              SecondRoomChildren      Integer      [0-4] 1 char      N      The number of children occupying the second room.      UK Hotels with parkingThe additional parameters for hotel with parking (where parking > 0 days) are:            Name      Data Type      Format      Mandatory?                  CarDropoffDate      Date      YYYY-MM-DD      Y              CarDropoffTime      Time      HHMM      Y              CarPickupDate      Date      YYYY-MM-DD      Y              CarPickupTime      Time      HHMM      Y              ReturnFlight      String      [A-Z0-9] 10 chars      N              TerminalCode      String      [A-Z0-9] 2 chars      N              Registration      String      [A-Z0-9] 20 chars      N              CarMake      String      [A-Z0-9] 20 chars      N              CarModel      String      [A-Z0-9] 20 chars      N              CarColour      String      [A-Z0-9] 20 chars      N      PaymentIn the UK, we are PCI DSS compliant and so we do not accept customers’ payment details being passed to us via the API. Further details can be found in our section on Payment.Please contact your Account Manager if you have any questions concerning payment.Booking Terms and ConditionsIt is important that the customer has access to the Terms and Conditions at the time of placing their booking and after. We highly recommend that these are made clear to the customer before booking.For European products, please use the following link:http://www.holidayextras.de/images/de-hx/pdf/agb.pdfIf you require translations of Terms and Conditions into other languages, you can simply change /de-hx/ (German) into nl-hx (Dutch), it-hex (Italian), pt-hx (Portuguese), fr-hx (French), es-hx (Spanish) or en-hx (English).Hotel Booking ResponseThe hotel booking response will confirm that a booking has been placed in our system.For a detailed explanation of the fields returned, please see below:            Field      Additional Information                  Booking/BookingRef      This is the reference for this booking. It must be referred to in all communication with us concerning this booking. NB: Our booking references are up to 12 char alphanumeric (including 1/I and 0/O/Q).              Booking/AgentComm      Commission you have earned from this booking.              Itinerary      This section confirms details of the hotel on the booking.              Room      This section confirms details of the room booked at the hotel.              ClientDetails      Confirmation of the customer’s details that were sent in the booking request.              Pricing      Confirmation of the price paid by the customer for the hotel room.              CurrentSupplements/Code      Upgrade Code              CurrentSupplements/Name      Name of the upgrade              CurrentSupplements/Price      Price Paid for the upgrade              CurrentSupplements/NonDiscPrice      The original price of the upgrade before any discounts              CurrentSupplements/Per      The pricing basis for the product (booking/room/person)              CurrentSupplements/Adults      The number of adult passes purchased              CurrentSupplements/Children      The number of child passes purchased              CurrentSupplements/Date      The date the upgrade has been purchased for              CurrentSupplements/Remarks      Internal notes              CurrentSupplements/Canx      Whether the upgrade can be cancelled              API_Header/Request      A list of parameters that were sent in the booking request.      Booking ConfirmationWe expect partners to create their own booking confirmations to send to customers, using the information provided in the booking response.However, we also have capability to send booking confirmation emails ourselves on behalf of partners. This feature is not available as standard, and so if you wish to enable this please speak to your Account Manager.Worked ExamplesBelow are worked examples of both the request and response for booking hotels.UK Hotel Booking - Room OnlyRequesthttps://api.holidayextras.co.uk/v1/hotel/LHRMEA<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2017-12-01</ArrivalDate>  <Nights>1</Nights>  <RoomCode>DBL</RoomCode>  <ParkingDays>0</ParkingDays>  <Adults>2</Adults>  <Children>0</Children>  <Title>Mr</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address >1 Test Street</Address >  <Town>Testville</Town>  <County>Testshire</County>  <Postcode>TE1 STS</Postcode>  <DayPhone>01234567890</DayPhone>  <Email>test@test.com</Email>  <DataProtection>N</DataProtection>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>55.00</PriceCheckPrice>  <v>1</v></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"HotelWithParking\" RequestCode=\"5\" Result=\"OK\">    <Booking>        <BookingRef>YourBookingRef</BookingRef>        <AgentComm>6.53</AgentComm>        <VATonComm>0.00</VATonComm>        <MoreInfoURL>/v1/booking/YourBookingRef</MoreInfoURL>    </Booking>    <Hotel/>    <Itinerary>        <TotalPrice>55.00</TotalPrice>        <ArrivalDate>2017-12-01</ArrivalDate>        <Nights>1</Nights>        <BoardBasis>RO</BoardBasis>        <NonSmoking>N</NonSmoking>        <ReturnFlight/>        <TerminalCode/>        <Code>LHRMEA</Code>        <Name>Mercure</Name>        <ParkingDays>0</ParkingDays>        <ParkingSpaces>0</ParkingSpaces>    </Itinerary>    <Room>        <Adults>2</Adults>        <Children>0</Children>        <Infants>0</Infants>        <Code>DBL</Code>    </Room>    <CarDetails>        <Registration/>        <CarMake/>        <CarModel/>        <CarColour/>    </CarDetails>    <ClientDetails>        <Title>MR</Title>        <Initial>T</Initial>        <Surname>TEST</Surname>        <Email>test@test.com</Email>        <Address/>        <Town/>        <County/>        <Postcode/>        <EvePhone/>    </ClientDetails>    <API_Header>        <Request>            <ABTANumber>YourABTANumber</ABTANumber>            <Password>YourPassword</Password>            <key>YourKey</key>            <token>YourToken</token>            <ArrivalDate>2017-12-01</ArrivalDate>            <Nights>1</Nights>            <RoomCode>DBL</RoomCode>            <ParkingDays>0</ParkingDays>            <Adults>2</Adults>            <Children>0</Children>            <Title>Mr</Title>            <Initial>T</Initial>            <Surname>TEST</Surname>            <Address >1 Test Street</Address >            <Town>Testville</Town>            <County>Testshire</County>            <Postcode>TE1 STS</Postcode>            <DayPhone>01234567890</DayPhone>            <Email>test@test.com</Email>            <DataProtection>N</DataProtection>            <PriceCheckFlag>Y</PriceCheckFlag>            <PriceCheckPrice>55.00</PriceCheckPrice>            <v>1</v>        </Request>    </API_Header></API_Reply>European Hotel BookingRequesthttps://api.holidayextras.co.uk/v1/hotel/MUCLAN<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2017-12-01</ArrivalDate>  <Nights>1</Nights>  <RoomCode>DZ</RoomCode>  <ParkingDays>0</ParkingDays>  <Adults>2</Adults>  <Children>0</Children>  <Title>Mr</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address >1 Test Street</Address >  <Town>Testville</Town>  <County>Testshire</County>  <Postcode>TE1 STS</Postcode>  <DayPhone>01234567890</DayPhone>  <Email>test@test.com</Email>  <DataProtection>N</DataProtection>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>120.00</PriceCheckPrice>  <v>1</v></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"HotelWithParking\" RequestCode=\"4\" Result=\"OK\">  <Booking>    <BookingRef>YourBookingRef</BookingRef>    <MoreInfoURL>/v1/booking/YourBookingRef.de</MoreInfoURL>  </Booking>  <Hotel/>  <Itinerary>    <ArrivalDate>2017-12-01</ArrivalDate>    <Nights>1</Nights>    <BoardBasis>F</BoardBasis>    <NonSmoking>N</NonSmoking>    <ParkingDays>0</ParkingDays>    <ParkingSpaces>0</ParkingSpaces>    <Code>MUCLAN</Code>    <Name>Schweigers Landgasthof</Name>  </Itinerary>  <Room>    <Adults>2</Adults>    <Children>0</Children>    <Infants>0</Infants>    <Code>DZ</Code>  </Room>  <ClientDetails>    <Title>Herr</Title>    <Initial>T</Initial>    <Surname>TEST</Surname>    <Email>TEST@TEST.COM</Email>    <Town>TESTVILLE</Town>    <Postcode>TE1 STS</Postcode>    <DayPhone>01234567890</DayPhone>    <Remarks/>    <Address0>1 Test Street</Address0>    <Address1>TBC</Address1>    <DataProtection>N</DataProtection>    <County>TESTSHIRE</County>  </ClientDetails>  <Pricing>    <Price>120.00</Price>  </Pricing>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <key>YourKey</key>      <token>YourToken</token>      <ArrivalDate>2017-12-01</ArrivalDate>      <Nights>1</Nights>      <RoomCode>DBL</RoomCode>      <ParkingDays>0</ParkingDays>      <Adults>2</Adults>      <Children>0</Children>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>TEST</Surname>      <Address0>1 Test Street</Address0>      <Town>Testville</Town>      <County>Testshire</County>      <Postcode>TE1 STS</Postcode>      <DayPhone>01234567890</DayPhone>      <Email>test@test.com</Email>      <DataProtection>N</DataProtection>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>120.00</PriceCheckPrice>      <System>ABG</System>      <lang>de</lang>      <v>1</v>    </Request>  </API_Header></API_Reply>UK Hotel booking with UpgradesRequesthttps://api.holidayextras.co.uk/v1/hotel/LGWSOF<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2020-11-10</ArrivalDate>  <Nights>1</Nights>  <RoomCode>DBL</RoomCode>  <ParkingDays>0</ParkingDays>  <Adults>2</Adults>  <Children>0</Children>  <Title>Mr</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address >1 Test Street</Address >  <Town>Testville</Town>  <County>Testshire</County>  <Postcode>TE1 STS</Postcode>  <DayPhone>01234567890</DayPhone>  <Email>test@test.com</Email>  <DataProtection>N</DataProtection>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>135.00</PriceCheckPrice>  <Supplements>    <Code>LGWSOE</Code>    <Date>2020-11-10</Date>    <Quantity>1</Quantity>    </Adults>    </Children>    <TotalPrice>40.00</TotalPrice>  </Supplements>  <Supplements>    <Code>LGWASC</Code>    <Date>2020-11-11</Date>    <LoungeArrival>2020-11-11 12:30</LoungeArrival>    </Quantity>    <Adults>2</Adults>    <Children>0</Children>    <TotalPrice>56.00</TotalPrice>  </Supplements>  <v>1</v></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"HotelWithParking\" RequestCode=\"5\" Result=\"OK\">  <Booking>    <BookingRef>YourBookingRef</BookingRef>    <AgentComm>13.45</AgentComm>    <VATonComm>0.00</VATonComm>    <MoreInfoURL>/v1/booking/YourBookingRef</MoreInfoURL>  </Booking>  <Hotel/>  <Itinerary>    <TotalPrice>255.55</TotalPrice>    <ArrivalDate>2020-11-10</ArrivalDate>    <Nights>1</Nights>    <BoardBasis>RO</BoardBasis>    <NonSmoking>N</NonSmoking>    <ReturnFlight/>    <TerminalCode/>    <Code>LGWSOF</Code>    <Name>Sofitel</Name>    <ParkingDays>0</ParkingDays>    <ParkingSpaces>0</ParkingSpaces>  </Itinerary>  <Room>    <Adults>2</Adults>    <Children>0</Children>    <Infants>0</Infants>    <Code>DBL</Code>  </Room>  <CarDetails>    <Registration/>    <CarMake/>    <CarModel/>    <CarColour/>  </CarDetails>  <ClientDetails>    <Title>MR</Title>    <Initial>T</Initial>    <Surname>TEST</Surname>    <Email>test@test.com</Email>    <Address/>    <Town/>    <County/>    <Postcode/>    <EvePhone>01234567890</EvePhone>  </ClientDetails>  <CurrentSupplements>    <Code>LGWSOE</Code>    <Name>Luxury room upgrade</Name>    <Price>66.50</Price>    <NonDiscPrice>66.50</NonDiscPrice>    <Per>room</Per>    <Adults>0</Adults>    <Children>0</Children>    <Date>2020-11-10</Date>    <Remarks/>    <Canx>Y</Canx>  </CurrentSupplements>  <CurrentSupplements>    <Code>LGWASC</Code>    <Name>Club Aspire North Lounge</Name>    <Price>47.50</Price>    <NonDiscPrice>47.50</NonDiscPrice>    <Per>person</Per>    <Adults>2</Adults>    <Children>0</Children>    <Date>2020-11-11</Date>    <Remarks/>    <Canx>Y</Canx>  </CurrentSupplements>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <key>YourKey</key>      <token>YourToken</token>      <ArrivalDate>2020-11-10</ArrivalDate>      <ArrivalTime>12:30</ArrivalTime>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>Test</Surname>      <Address>Holiday Extras Ltd</Address>      <Address>Ashford Road</Address>      <Town>Hythe</Town>      <County>Kent</County>      <PostCode>CT214JF</PostCode>      <Email>test@test.com</Email>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>135.00</PriceCheckPrice>      <Adults>2</Adults>      <Children>0</Children>      <Nights>1</Nights>      <RoomCode>DBL</RoomCode>      <ParkingDays>0</ParkingDays>      <Supplements>        <Code>LGWSOE</Code>        <Date>2020-11-10</Date>        <Quantity>1</Quantity>        <TotalPrice>70.00</TotalPrice>      </Supplements>      <Supplements>        <Code>LGWASC</Code>        <Date>2020-11-11</Date>        <Adults>2</Adults>        <Children>0</Children>        <TotalPrice>56.00</TotalPrice>      </Supplements>      <v>1</v>    </Request>  </API_Header></API_Reply>",
                                                                                                                                                    -        "url": "/hxapi/hotel/bkg/"
                                                                                                                                                    -      }
                                                                                                                                                    -      ,
                                                                                                                                                    -    
                                                                                                                                                           "hxapi-lounge-bkg": {
                                                                                                                                                             "title": "Book Lounge",
                                                                                                                                                             "content": "Book LoungeLounge Booking RequestMethodPOSTEndpointThe endpoint to use is:https://api.holidayextras.co.uk/v1/lounge/LoungeCodeFor example, for Plaza Premium T5 lounge - 3 hours at London Heathrow Airport the endpoint is:https://api.holidayextras.co.uk/v1/lounge/LHRPA5Request ParametersThe parameters must be sent in the body of the request, as x-www-form-urlencoded data.NB: All parameter names are case sensitive.            Name      Data Type      Format      Mandatory?      Additional Information                  ABTANumber      String      [A-Z0-9] 5 chars      Y      This is also known as an ‘agent code’. This will be confirmed to you by your Account Manager during set up.              Password      String      [A-Z0-9] 5 chars      N*      Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.              Initials      String      [A-Z] 3 chars      N      The initials of the Operator / Agent.              key      String      [A-Z]      Y      This will be assigned to you by your Account Manager during set up.              token      String      [0-9] 9 chars      Y      This is the same token used in the availability request.              ArrivalDate      Date      YYYY-MM-DD      Y      Date customer wishes to enter the lounge.              ArrivalTime      Time      HHMM      Y      Time customer wishes to enter the lounge.              Adults      Integer      [0-4] 1 char      Y      Number of adults requiring entry to the lounge. Please note: a maximum of 6 passengers is permitted on any one booking.              Children      Integer      [0-3] 1 char      N      Number of children requiring entry to the lounge. Please note: a maximum of 6 passengers is permitted on any one booking.              Infants      Integer      1 char      Y      Number of infants requiring entry to the lounge. Please note: a maximum of 6 passengers is permitted on any one booking.              Title      String      [A-Z] 4 chars      Y      Title of lead passenger              Initial      String      [A-Z] 1 chars      Y      Initial of lead passenger              Surname      String      [A-Z] 20 chars      Y      Surname of lead passenger              Address[]      String      [A-Z0-9] 25 chars      Y      First line of address (house name / number and road) of lead passenger If you require more than 1 address line, then you can replicate this field and increment the number in square brackets, i.e. “Address[1]” for address line 2, and so on.NB: This field can be set to NA              Town      String      [A-Z] 20 chars      Y      Town of address NB: This field can be set to NA              County      String      [A-Z] 20 chars      Y      County of address NB: This field can be set to NA              PostCode      String      [A-Z0-9] 10 chars      Y      Post code of address NB: This field can be set to NA              Email      String      [A-Z0-9] 50 chars      Y      Email of lead passenger              MobileNum      String      [0-9] 20 char      Y      Mobile phone number of lead passenger.              CustomerRef      String      [A-Z0-9] 20 chars      N      A unique reference code associated with the customer’s booking for tracking and reference purposes.              PriceCheckFlag      String      Y      Y      Indicates a price check will be carried out prior to booking. If the price is lower in the system the booking will be made as the customer will benefit from a saving.  If the price has changed and is higher than the price stated on availability, an error will return to explain that the price has increased, the booking can still be made but the customer must confirm that they will pay the higher amount.  You should then resubmit the request changing the PriceCheckPrice with the new price.              PriceCheckPrice      Float      [0-9] 8 chars      Y      Price of the product, received from the availability request or price check.              System      String      [A-Z] 3 chars      Y*      For European products, you need to pass in the value of System=ABG (the default is System=ABC, which is UK products only).              Waiver      Boolean      [0,1]      Y      Defaults to 0 if not supplied.              Supplements/Code      String      [A-Z0-9] 5 chars      N      Product code of the upgrade to book. See below for more info on booking upgrades              Supplements/Date      String      YYYY-MM-DD      Y      The date to book the upgrade for. This should be brought forward from the upgrade availability request.              Supplements/Quantity      Integer      [0-9]1 char      Y*      For per room/booking upgrades, specify the required quantity              Supplements/Adults      Integer      [0-9]1 char      Y*      For per person upgrades, specify the number of adult passes              Supplements/Children      Integer      [0-9]1 char      Y*      For per person upgrades, specify the number of child passes              Supplements/TotalPrice      Float      [0-9]      Y      Mandatory for all upgrades. The total price of the upgrade, accounting for total quantity              Supplements/LoungeArrival      String      YYYY-MM-DD HH:mm      Y*      Mandatory for Lounge upgrades. Specifies the time the client wishes to enter the lounge      Booking UpgradesIt is possible to booking upgrade items at the same time as making a core product booking. Once the core product has been selected you must make an Upgrade availability request. Use the information in the response to pick the upgrades desired for the product. In the booking request any number of Supplements tags may be added but each must be for a unique upgrade. Multiple Supplements can be added in the request using the square bracket([]) notation e.g.POST /v1/lounge/LHRNN3 HTTP/1.1Host: api.holidayextras.co.ukContent-Type: application/x-www-form-urlencodedABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2020-11-09&ArrivalTime=12:30&DepartDate=2020-11-17&DepartTime=13:45&Title=Mr&Initial=T&Surname=Test&Address=Holiday Extras Ltd&Address=Ashford Road&Town=Hythe&County=Kent&PostCode=CT214JF&Email=test@test.com&PriceCheckFlag=Y&PriceCheckPrice=50.05&CarColour=White&CarMake=Range Rover&CarModel=Vogue&Registration=TE17 STS&ReturnFlight=VIR19&Supplements[0][Code]=HXOST1&Supplements[0][Quantity]=1&Supplements[0][Date]=2020-11-09&Supplements[0][TotalPrice]=1.99&Supplements[1][Code]=STNSFS&Supplements[1][Date]=2020-11-09&Supplements[1][Adults]=2&Supplements[1][Children]=1&Supplements[1][TotalPrice]=21.00For per Room or per Booking upgrades a Quantity must be supplied.For per Person upgrades the number of Adult and Children passes must be supplied. Depending on the upgrade it may also be necessary to supplier the number of Infants.PricingA TotalPrice must be included with each supplement node. This should be calculated as follows;  Per Room or per Booking - Quantity x Price  Per Person - (Adults x AdPrice) + (Children x ChPrice)*NOTE* When booking upgrades the cost of the upgrades should not be added to the PriceCheckPrice. This should only reflect the price of the core product.FastTrackWhen booking fast track passes you will receive links to the client’s fast track passes in the booking response. These can be added to your own confirmation emails and will be required by the client to use their passes.PaymentIn the UK, we are PCI DSS compliant and so we do not accept customers’ payment details being passed to us via the API. Further details can be found in our section on Payment.Please contact your Account Manager if you have any questions concerning payment.Lounge Booking ResponseThe lounge booking response will confirm that a booking has been placed in our system.For a detailed explanation of the fields returned, please see below:            Field      Additional Information                  Booking/BookingRef      This is the reference for this booking. It must be referred to in all communication with us concerning this booking. NB: Our booking references are up to 12 char alphanumeric (including 1/I and 0/O/Q).              Booking/AgentComm      Commission you have earned from this booking.              Booking/MoreInfoURL      The URL for viewing the booking. See view booking for more details.              CurrentSupplements/Code      Upgrade Code              CurrentSupplements/Name      Name of the upgrade              CurrentSupplements/Price      Price Paid for the upgrade              CurrentSupplements/NonDiscPrice      The original price of the upgrade before any discounts              CurrentSupplements/Per      The pricing basis for the product (booking/room/person)              CurrentSupplements/Adults      The number of adult passes purchased              CurrentSupplements/Children      The number of child passes purchased              CurrentSupplements/Date      The date the upgrade has been purchased for              CurrentSupplements/Remarks      Internal notes              CurrentSupplements/Canx      Whether the upgrade can be cancelled              API_Header/Request      A list of parameters that were sent in the booking request.      Booking ConfirmationWe expect partners to create their own booking confirmations to send to customers, using the information provided in the booking response.However, we also have capability to send booking confirmation emails ourselves on behalf of partners. This feature is not available as standard, and so if you wish to enable this please speak to your Account Manager.Worked ExamplesBelow are worked examples of both the request and response for booking a lounge.UK Products BookingRequesthttps://api.holidayextras.co.uk/v1/lounge/LHRPO3<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <Initials>YourInitials</Initials>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2018-12-01</ArrivalDate>  <ArrivalTime>1200</ArrivalTime>  <Adults>2</Adults>  <Children>0</Children>  <Infants>0</Infants>  <Title>MR</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address>123 Test Street</Address>  <Town>Testville</Town>  <County>Testshire</County>  <PostCode>TE12 3ST</PostCode>  <Email>test@test.com</Email>  <MobileNum>01234567890</MobileNum>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>70.00</PriceCheckPrice></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"Lounge\" RequestCode=\"5\" Result=\"OK\">  <Booking>    <BookingRef>YourBookingRef</BookingRef>    <AgentComm>7.00</AgentComm>    <VATonComm>0.00</VATonComm>    <MoreInfoURL>/v1/booking/YourBookingRef</MoreInfoURL>  </Booking>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <key>YourKey</key>      <token>YourToken</token>      <Initials>YourInitials</Initials>      <ArrivalDate>2018-12-01</ArrivalDate>      <ArrivalTime>1200</ArrivalTime>      <Adults>2</Adults>      <Children>0</Children>      <Infants>0</Infants>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>TEST</Surname>      <Address>123 Test Street</Address>      <Town>Testville</Town>      <County>Testshire</County>      <PostCode>TE12 3ST</PostCode>      <Email>test@test.com</Email>      <MobileNum>01234567890</MobileNum>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>70.00</PriceCheckPrice>      <v>1</v>    </Request>  </API_Header></API_Reply>European Products BookingRequesthttps://api.holidayextras.co.uk/v1/lounge/HAMLHL<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <Initials>YourInitials</Initials>  <key>YourKey</key>  <token>YourToken</token>  <System>ABG</System>  <ArrivalDate>2018-12-01</ArrivalDate>  <ArrivalTime>1200</ArrivalTime>  <Adults>2</Adults>  <Children>0</Children>  <Infants>0</Infants>  <Title>MR</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address>123 Test Street</Address>  <Town>Testville</Town>  <County>Testshire</County>  <PostCode>TE12 3ST</PostCode>  <Email>test@test.com</Email>  <MobileNum>01234567890</MobileNum>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>70.00</PriceCheckPrice></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"Lounge\" RequestCode=\"5\" Result=\"OK\">  <Booking>    <BookingRef>YourBookingRef</BookingRef>    <AgentComm>5.44</AgentComm>    <VATonComm>0.00</VATonComm>    <MoreInfoURL>/v1/booking/YourBookingRef</MoreInfoURL>  </Booking>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <Initials>YourInitials</Initials>      <key>YourKey</key>      <token>YourToken</token>      <System>ABG</System>      <ArrivalDate>2018-12-01</ArrivalDate>      <ArrivalTime>1200</ArrivalTime>      <Adults>2</Adults>      <Children>0</Children>      <Infants>0</Infants>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>TEST</Surname>      <Address>123 Test Street</Address>      <Town>Testville</Town>      <County>Testshire</County>      <PostCode>TE12 3ST</PostCode>      <Email>test@test.com</Email>      <MobileNum>01234567890</MobileNum>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>70.00</PriceCheckPrice>      <v>1</v>    </Request>  </API_Header></API_Reply>UK Product Booking with UpgradesRequesthttps://api.holidayextras.co.uk/v1/lounge/LHRPO3<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <Initials>YourInitials</Initials>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2020-11-08</ArrivalDate>  <ArrivalTime>1200</ArrivalTime>  <Adults>2</Adults>  <Children>0</Children>  <Infants>0</Infants>  <Title>MR</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address>123 Test Street</Address>  <Town>Testville</Town>  <County>Testshire</County>  <PostCode>TE12 3ST</PostCode>  <Email>test@test.com</Email>  <MobileNum>01234567890</MobileNum>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>70.00</PriceCheckPrice>  <Supplements>    <Code>HXODC1</Code>    <Date>2020-11-08</Date>    <Quantity>1</Quantity>    </Adults>    </Children>    <TotalPrice>2.99</TotalPrice>  </Supplements></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"Lounge\" RequestCode=\"5\" Result=\"OK\">  <Booking>    <BookingRef>YourBookingRef</BookingRef>    <AgentComm>7.00</AgentComm>    <VATonComm>0.00</VATonComm>    <MoreInfoURL>/v1/booking/YourBookingRef</MoreInfoURL>  </Booking>  <CurrentSupplements>    <Code>HXODC1</Code>    <Name>Outbound Delay Cover</Name>    <Price>2.99</Price>    <NonDiscPrice>2.99</NonDiscPrice>    <Per>booking</Per>    <Adults>0</Adults>    <Children>0</Children>    <Date>2020-11-08</Date>    <Remarks/>    <Canx>Y</Canx>  </CurrentSupplements>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <key>YourKey</key>      <token>YourToken</token>      <Initials>YourInitials</Initials>      <ArrivalDate>2020-11-08</ArrivalDate>      <ArrivalTime>1200</ArrivalTime>      <Adults>2</Adults>      <Children>0</Children>      <Infants>0</Infants>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>TEST</Surname>      <Address>123 Test Street</Address>      <Town>Testville</Town>      <County>Testshire</County>      <PostCode>TE12 3ST</PostCode>      <Email>test@test.com</Email>      <MobileNum>01234567890</MobileNum>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>70.00</PriceCheckPrice>      <Supplements>        <Code>HXODC1</Code>        <Quantity>1</Quantity>        <TotalPrice>2.99</TotalPrice>      </Supplements>      <v>1</v>    </Request>  </API_Header></API_Reply>",
                                                                                                                                                    @@ -135,6 +128,13 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    +      "hxapi-hotel-bkg": {
                                                                                                                                                    +        "title": "Hotel Booking Request",
                                                                                                                                                    +        "content": "Hotel Booking RequestMethodPOSTEndpointThe endpoint to use is:https://api.holidayextras.co.uk/v1/hotel/LocationCodeFor example, for Mercure at London Heathrow the endpoint is:https://api.holidayextras.co.uk/v1/hotel/LHRMEARequest ParametersThe parameters must be sent in the body of the request, as x-www-form-urlencoded data.NB: All parameter names are case sensitive.            Name      Data Type      Format      Mandatory?      Additional Information                  ABTANumber      String      [A-Z0-9] 5 chars      Y      This is also known as an ‘agent code’. This will be confirmed to you by your Account Manager during set up.              Password      String      [A-Z0-9] 5 chars      N*      Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.              Initials      String      [A-Z] 3 chars      N      The initials of the Operator / Agent.              key      String      [A-Z]      Y      This will be assigned to you by your Account Manager during set up.              token      String      [0-9] 9 chars      Y      This is the same token used in the availability request.              ArrivalDate      Date      YYYY-MM-DD      Y      Date customer arrives at hotel.              Nights      Integer      1, 2, 3, etc      Y      Number of nights the customer wants to stay in the hotel. NB: For European products it is only possible to book one night stays.              RoomCode      String      [A-Z0-9] 3 chars      Y      See RoomCodes for a list of valid codes.              Adults      Integer      [1-5] 1 char      Y      The number of adults occupying the room.              Children      Integer      [0-4] 1 char      Y      The number of children occupying the room.              ParkingDays      Integer      [0-9] 2 chars      Y      NB: The maximum duration accepted for ParkingDays is 30.              Title      String      [A-Z] 4 chars      Y      Title of lead passenger              Initial      String      [A-Z] 1 chars      Y      Initial of lead passenger              Surname      String      [A-Z] 20 chars      Y      Surname of lead passenger              Address[]      String      [A-Z0-9] 25 chars      Y      First line of address (house name / number and road) of lead passenger. If you require more than 1 address line, then you can replicate this field and increment the number in square brackets, i.e. “Address[1]” for address line 2, and so on. NB: This field can be set to NA              Town      String      [A-Z] 20 chars      Y      Town of address. NB: This field can be set to NA              County      String      [A-Z] 20 chars      Y      County of address. NB: This field can be set to NA              PostCode      String      [A-Z0-9] 10 chars      Y      Post code of address. NB: This field can be set to NA              DayPhone      Integer      [0-9] 20 chars max      N      The customer’s telephone number.              Email      String      [A-Z0-9] 50 chars      Y      The email address of customer.              CustomerRef      String      [A-Z0-9] 20 chars      N      Enter your Customer Reference to help match bookings for accounting purposes.              Remarks      String      [A-Z0-9] 60 chars      N      Pass in Remarks for notification such as COT REQUESTED in ROOM              Waiver      Boolean      [0,1]      Y      Defaults to 0 if not supplied.              DataProtection      String      [Y,N]      N      Does the customer consent to receiving offers from Holiday Extras? Y = Yes, will receive offers, N = No, customer data is protected. Defaults to No if not supplied.              PriceCheckFlag      String      [Y]      Y      Indicates a price check will be carried out prior to booking. If the price is lower in the system the booking will be made as the customer will benefit from a saving.  If the price has changed and is higher than the price stated on availability, an error will return to explain that the price has increased, the booking can still be made but the customer must confirm that they will pay the higher amount.  You should then resubmit the request changing the PriceCheckPrice with the new price.              PriceCheckPrice      Float      [0-9]      Y      Price of the product, received from the availability request or price check.              System      String      [A-Z] 3 chars      Y*      For European products, you need to pass in the value of System=ABG (the default is System=ABC, which is UK products only).              lang      String      [A-Z] 2 chars      Y*      Required for requests for European products. (Values available are en, de, it, es, pt and nl.)              Supplements/Code      String      [A-Z0-9] 5 chars      N      Product code of the upgrade to book. See below for more info on booking upgrades              Supplements/Date      String      YYYY-MM-DD      Y      The date to book the upgrade for. This should be brought forward from the upgrade availability request.              Supplements/Quantity      Integer      [0-9]1 char      Y*      For per room/booking upgrades, specify the required quantity              Supplements/Adults      Integer      [0-9]1 char      Y*      For per person upgrades, specify the number of adult passes              Supplements/Children      Integer      [0-9]1 char      Y*      For per person upgrades, specify the number of child passes              Supplements/TotalPrice      Float      [0-9]      Y      Mandatory for all upgrades. The total price of the upgrade, accounting for total quantity              Supplements/LoungeArrival      String      YYYY-MM-DD HH:mm      Y*      Mandatory for Lounge upgrades. Specifies the time the client wishes to enter the lounge      Booking UpgradesIt is possible to booking upgrade items at the same time as making a core product booking. Once the core product has been selected you must make an Upgrade availability request. Use the information in the response to pick the upgrades desired for the product. In the booking request any number of Supplements tags may be added but each must be for a unique upgrade. Multiple Supplements can be added in the request using the square bracket([]) notation e.g.POST /v1/hotel/LGWSOF HTTP/1.1Host: api.holidayextras.co.ukContent-Type: application/x-www-form-urlencodedABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2020-11-09&ArrivalTime=12:30&DepartDate=2020-11-17&DepartTime=13:45&Title=Mr&Initial=T&Surname=Test&Address=Holiday Extras Ltd&Address=Ashford Road&Town=Hythe&County=Kent&PostCode=CT214JF&Email=test@test.com&PriceCheckFlag=Y&PriceCheckPrice=50.05&CarColour=White&CarMake=Range Rover&CarModel=Vogue&Registration=TE17 STS&ReturnFlight=VIR19&Supplements[0][Code]=HXOST1&Supplements[0][Quantity]=1&Supplements[0][Date]=2020-11-09&Supplements[0][TotalPrice]=1.99&Supplements[1][Code]=STNSFS&Supplements[1][Date]=2020-11-09&Supplements[1][Adults]=2&Supplements[1][Children]=1&Supplements[1][TotalPrice]=21.00For per Room or per Booking upgrades a Quantity must be supplied.For per Person upgrades the number of Adult and Children passes must be supplied. Depending on the upgrade it may also be necessary to supplier the number of Infants.PricingA TotalPrice must be included with each supplement node. This should be calculated as follows;  Per Room or per Booking - Quantity x Price  Per Person - (Adults x AdPrice) + (Children x ChPrice)*NOTE* When booking upgrades the cost of the upgrades should not be added to the PriceCheckPrice. This should only reflect the price of the core product.FastTrackWhen booking fast track passes you will receive links to the client’s fast track passes in the booking response. These can be added to your own confirmation emails and will be required by the client to use their passes.Multiple rooms on same bookingCurrently, we can only accept a maximum of 2 rooms per booking. If the customer needs more, you will need to make multiple requests. If an intermediary account, you should note that this would lead to multiple transactions on the credit card, and multiple charges, and therefore we advise against it.The additional parameters for including a second room are:            Name      Data Type      Format      Mandatory?      Additional Information                  SecondRoomType      String      [A-Z0-9] 2 chars      N*      This parameter is mandatory if the customer wishes to book two rooms at the same time. The room codes are as per Room Codes.              SecondRoomCode      String      Room Codes      N      NB: Please note that the room codes differ between availability and booking requests.              SecondRoomAdults      Integer      [1-5] 1 char      N      The number of adults occupying the second room.              SecondRoomChildren      Integer      [0-4] 1 char      N      The number of children occupying the second room.      UK Hotels with parkingThe additional parameters for hotel with parking (where parking > 0 days) are:            Name      Data Type      Format      Mandatory?                  CarDropoffDate      Date      YYYY-MM-DD      Y              CarDropoffTime      Time      HHMM      Y              CarPickupDate      Date      YYYY-MM-DD      Y              CarPickupTime      Time      HHMM      Y              ReturnFlight      String      [A-Z0-9] 10 chars      N              TerminalCode      String      [A-Z0-9] 2 chars      N              Registration      String      [A-Z0-9] 20 chars      N              CarMake      String      [A-Z0-9] 20 chars      N              CarModel      String      [A-Z0-9] 20 chars      N              CarColour      String      [A-Z0-9] 20 chars      N      PaymentIn the UK, we are PCI DSS compliant and so we do not accept customers’ payment details being passed to us via the API. Further details can be found in our section on Payment.Please contact your Account Manager if you have any questions concerning payment.Booking Terms and ConditionsIt is important that the customer has access to the Terms and Conditions at the time of placing their booking and after. We highly recommend that these are made clear to the customer before booking.For European products, please use the following link:http://www.holidayextras.de/images/de-hx/pdf/agb.pdfIf you require translations of Terms and Conditions into other languages, you can simply change /de-hx/ (German) into nl-hx (Dutch), it-hex (Italian), pt-hx (Portuguese), fr-hx (French), es-hx (Spanish) or en-hx (English).Hotel Booking ResponseThe hotel booking response will confirm that a booking has been placed in our system.For a detailed explanation of the fields returned, please see below:            Field      Additional Information                  Booking/BookingRef      This is the reference for this booking. It must be referred to in all communication with us concerning this booking. NB: Our booking references are up to 12 char alphanumeric (including 1/I and 0/O/Q).              Booking/AgentComm      Commission you have earned from this booking.              Itinerary      This section confirms details of the hotel on the booking.              Room      This section confirms details of the room booked at the hotel.              ClientDetails      Confirmation of the customer’s details that were sent in the booking request.              Pricing      Confirmation of the price paid by the customer for the hotel room.              CurrentSupplements/Code      Upgrade Code              CurrentSupplements/Name      Name of the upgrade              CurrentSupplements/Price      Price Paid for the upgrade              CurrentSupplements/NonDiscPrice      The original price of the upgrade before any discounts              CurrentSupplements/Per      The pricing basis for the product (booking/room/person)              CurrentSupplements/Adults      The number of adult passes purchased              CurrentSupplements/Children      The number of child passes purchased              CurrentSupplements/Date      The date the upgrade has been purchased for              CurrentSupplements/Remarks      Internal notes              CurrentSupplements/Canx      Whether the upgrade can be cancelled              API_Header/Request      A list of parameters that were sent in the booking request.      Booking ConfirmationWe expect partners to create their own booking confirmations to send to customers, using the information provided in the booking response.However, we also have capability to send booking confirmation emails ourselves on behalf of partners. This feature is not available as standard, and so if you wish to enable this please speak to your Account Manager.Worked ExamplesBelow are worked examples of both the request and response for booking hotels.UK Hotel Booking - Room OnlyRequesthttps://api.holidayextras.co.uk/v1/hotel/LHRMEA<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2017-12-01</ArrivalDate>  <Nights>1</Nights>  <RoomCode>DBL</RoomCode>  <ParkingDays>0</ParkingDays>  <Adults>2</Adults>  <Children>0</Children>  <Title>Mr</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address >1 Test Street</Address >  <Town>Testville</Town>  <County>Testshire</County>  <Postcode>TE1 STS</Postcode>  <DayPhone>01234567890</DayPhone>  <Email>test@test.com</Email>  <DataProtection>N</DataProtection>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>55.00</PriceCheckPrice>  <v>1</v></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"HotelWithParking\" RequestCode=\"5\" Result=\"OK\">    <Booking>        <BookingRef>YourBookingRef</BookingRef>        <AgentComm>6.53</AgentComm>        <VATonComm>0.00</VATonComm>        <MoreInfoURL>/v1/booking/YourBookingRef</MoreInfoURL>    </Booking>    <Hotel/>    <Itinerary>        <TotalPrice>55.00</TotalPrice>        <ArrivalDate>2017-12-01</ArrivalDate>        <Nights>1</Nights>        <BoardBasis>RO</BoardBasis>        <NonSmoking>N</NonSmoking>        <ReturnFlight/>        <TerminalCode/>        <Code>LHRMEA</Code>        <Name>Mercure</Name>        <ParkingDays>0</ParkingDays>        <ParkingSpaces>0</ParkingSpaces>    </Itinerary>    <Room>        <Adults>2</Adults>        <Children>0</Children>        <Infants>0</Infants>        <Code>DBL</Code>    </Room>    <CarDetails>        <Registration/>        <CarMake/>        <CarModel/>        <CarColour/>    </CarDetails>    <ClientDetails>        <Title>MR</Title>        <Initial>T</Initial>        <Surname>TEST</Surname>        <Email>test@test.com</Email>        <Address/>        <Town/>        <County/>        <Postcode/>        <EvePhone/>    </ClientDetails>    <API_Header>        <Request>            <ABTANumber>YourABTANumber</ABTANumber>            <Password>YourPassword</Password>            <key>YourKey</key>            <token>YourToken</token>            <ArrivalDate>2017-12-01</ArrivalDate>            <Nights>1</Nights>            <RoomCode>DBL</RoomCode>            <ParkingDays>0</ParkingDays>            <Adults>2</Adults>            <Children>0</Children>            <Title>Mr</Title>            <Initial>T</Initial>            <Surname>TEST</Surname>            <Address >1 Test Street</Address >            <Town>Testville</Town>            <County>Testshire</County>            <Postcode>TE1 STS</Postcode>            <DayPhone>01234567890</DayPhone>            <Email>test@test.com</Email>            <DataProtection>N</DataProtection>            <PriceCheckFlag>Y</PriceCheckFlag>            <PriceCheckPrice>55.00</PriceCheckPrice>            <v>1</v>        </Request>    </API_Header></API_Reply>European Hotel BookingRequesthttps://api.holidayextras.co.uk/v1/hotel/MUCLAN<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2017-12-01</ArrivalDate>  <Nights>1</Nights>  <RoomCode>DZ</RoomCode>  <ParkingDays>0</ParkingDays>  <Adults>2</Adults>  <Children>0</Children>  <Title>Mr</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address >1 Test Street</Address >  <Town>Testville</Town>  <County>Testshire</County>  <Postcode>TE1 STS</Postcode>  <DayPhone>01234567890</DayPhone>  <Email>test@test.com</Email>  <DataProtection>N</DataProtection>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>120.00</PriceCheckPrice>  <v>1</v></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"HotelWithParking\" RequestCode=\"4\" Result=\"OK\">  <Booking>    <BookingRef>YourBookingRef</BookingRef>    <MoreInfoURL>/v1/booking/YourBookingRef.de</MoreInfoURL>  </Booking>  <Hotel/>  <Itinerary>    <ArrivalDate>2017-12-01</ArrivalDate>    <Nights>1</Nights>    <BoardBasis>F</BoardBasis>    <NonSmoking>N</NonSmoking>    <ParkingDays>0</ParkingDays>    <ParkingSpaces>0</ParkingSpaces>    <Code>MUCLAN</Code>    <Name>Schweigers Landgasthof</Name>  </Itinerary>  <Room>    <Adults>2</Adults>    <Children>0</Children>    <Infants>0</Infants>    <Code>DZ</Code>  </Room>  <ClientDetails>    <Title>Herr</Title>    <Initial>T</Initial>    <Surname>TEST</Surname>    <Email>TEST@TEST.COM</Email>    <Town>TESTVILLE</Town>    <Postcode>TE1 STS</Postcode>    <DayPhone>01234567890</DayPhone>    <Remarks/>    <Address0>1 Test Street</Address0>    <Address1>TBC</Address1>    <DataProtection>N</DataProtection>    <County>TESTSHIRE</County>  </ClientDetails>  <Pricing>    <Price>120.00</Price>  </Pricing>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <key>YourKey</key>      <token>YourToken</token>      <ArrivalDate>2017-12-01</ArrivalDate>      <Nights>1</Nights>      <RoomCode>DBL</RoomCode>      <ParkingDays>0</ParkingDays>      <Adults>2</Adults>      <Children>0</Children>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>TEST</Surname>      <Address0>1 Test Street</Address0>      <Town>Testville</Town>      <County>Testshire</County>      <Postcode>TE1 STS</Postcode>      <DayPhone>01234567890</DayPhone>      <Email>test@test.com</Email>      <DataProtection>N</DataProtection>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>120.00</PriceCheckPrice>      <System>ABG</System>      <lang>de</lang>      <v>1</v>    </Request>  </API_Header></API_Reply>UK Hotel booking with UpgradesRequesthttps://api.holidayextras.co.uk/v1/hotel/LGWSOF<Request>  <ABTANumber>YourABTANumber</ABTANumber>  <Password>YourPassword</Password>  <key>YourKey</key>  <token>YourToken</token>  <ArrivalDate>2020-11-10</ArrivalDate>  <Nights>1</Nights>  <RoomCode>DBL</RoomCode>  <ParkingDays>0</ParkingDays>  <Adults>2</Adults>  <Children>0</Children>  <Title>Mr</Title>  <Initial>T</Initial>  <Surname>TEST</Surname>  <Address >1 Test Street</Address >  <Town>Testville</Town>  <County>Testshire</County>  <Postcode>TE1 STS</Postcode>  <DayPhone>01234567890</DayPhone>  <Email>test@test.com</Email>  <DataProtection>N</DataProtection>  <PriceCheckFlag>Y</PriceCheckFlag>  <PriceCheckPrice>135.00</PriceCheckPrice>  <Supplements>    <Code>LGWSOE</Code>    <Date>2020-11-10</Date>    <Quantity>1</Quantity>    </Adults>    </Children>    <TotalPrice>40.00</TotalPrice>  </Supplements>  <Supplements>    <Code>LGWASC</Code>    <Date>2020-11-11</Date>    <LoungeArrival>2020-11-11 12:30</LoungeArrival>    </Quantity>    <Adults>2</Adults>    <Children>0</Children>    <TotalPrice>56.00</TotalPrice>  </Supplements>  <v>1</v></Request>Response<?xml version=\"1.0\"?><API_Reply Product=\"HotelWithParking\" RequestCode=\"5\" Result=\"OK\">  <Booking>    <BookingRef>YourBookingRef</BookingRef>    <AgentComm>13.45</AgentComm>    <VATonComm>0.00</VATonComm>    <MoreInfoURL>/v1/booking/YourBookingRef</MoreInfoURL>  </Booking>  <Hotel/>  <Itinerary>    <TotalPrice>255.55</TotalPrice>    <ArrivalDate>2020-11-10</ArrivalDate>    <Nights>1</Nights>    <BoardBasis>RO</BoardBasis>    <NonSmoking>N</NonSmoking>    <ReturnFlight/>    <TerminalCode/>    <Code>LGWSOF</Code>    <Name>Sofitel</Name>    <ParkingDays>0</ParkingDays>    <ParkingSpaces>0</ParkingSpaces>  </Itinerary>  <Room>    <Adults>2</Adults>    <Children>0</Children>    <Infants>0</Infants>    <Code>DBL</Code>  </Room>  <CarDetails>    <Registration/>    <CarMake/>    <CarModel/>    <CarColour/>  </CarDetails>  <ClientDetails>    <Title>MR</Title>    <Initial>T</Initial>    <Surname>TEST</Surname>    <Email>test@test.com</Email>    <Address/>    <Town/>    <County/>    <Postcode/>    <EvePhone>01234567890</EvePhone>  </ClientDetails>  <CurrentSupplements>    <Code>LGWSOE</Code>    <Name>Luxury room upgrade</Name>    <Price>66.50</Price>    <NonDiscPrice>66.50</NonDiscPrice>    <Per>room</Per>    <Adults>0</Adults>    <Children>0</Children>    <Date>2020-11-10</Date>    <Remarks/>    <Canx>Y</Canx>  </CurrentSupplements>  <CurrentSupplements>    <Code>LGWASC</Code>    <Name>Club Aspire North Lounge</Name>    <Price>47.50</Price>    <NonDiscPrice>47.50</NonDiscPrice>    <Per>person</Per>    <Adults>2</Adults>    <Children>0</Children>    <Date>2020-11-11</Date>    <Remarks/>    <Canx>Y</Canx>  </CurrentSupplements>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <key>YourKey</key>      <token>YourToken</token>      <ArrivalDate>2020-11-10</ArrivalDate>      <ArrivalTime>12:30</ArrivalTime>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>Test</Surname>      <Address>Holiday Extras Ltd</Address>      <Address>Ashford Road</Address>      <Town>Hythe</Town>      <County>Kent</County>      <PostCode>CT214JF</PostCode>      <Email>test@test.com</Email>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>135.00</PriceCheckPrice>      <Adults>2</Adults>      <Children>0</Children>      <Nights>1</Nights>      <RoomCode>DBL</RoomCode>      <ParkingDays>0</ParkingDays>      <Supplements>        <Code>LGWSOE</Code>        <Date>2020-11-10</Date>        <Quantity>1</Quantity>        <TotalPrice>70.00</TotalPrice>      </Supplements>      <Supplements>        <Code>LGWASC</Code>        <Date>2020-11-11</Date>        <Adults>2</Adults>        <Children>0</Children>        <TotalPrice>56.00</TotalPrice>      </Supplements>      <v>1</v>    </Request>  </API_Header></API_Reply>",
                                                                                                                                                    +        "url": "/hxapi/hotel/bkg/"
                                                                                                                                                    +      }
                                                                                                                                                    +      ,
                                                                                                                                                    +    
                                                                                                                                                           "hxapi-fasttrack-bkg": {
                                                                                                                                                             "title": "Book FastTrack",
                                                                                                                                                             "content": "Book FastTrackFastTrack Booking RequestMethodPOSTEndpointThe endpoint to use is:https://api.holidayextras.co.uk/v1/fastTrack/FastTrackCodeFor example, for FastTrack Terminal 1 at Manchester airport the endpoint is:https://api.holidayextras.co.uk/v1/fastTrack/APMANSF1Request ParametersThe parameters must be sent in the body of the request, as x-www-form-urlencoded data.NB: All parameter names are case sensitive.            Name      Data Type      Format      Mandatory?      Additional Information                  ABTANumber      String      [A-Z0-9] 5 chars      Y      This is also known as an ‘agent code’. This will be confirmed to you by your Account Manager during set up.              Password      String      [A-Z0-9] 5 chars      N*      Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.              Initials      String      [A-Z] 3 chars      N      The initials of the Operator / Agent.              key      String      [A-Z]      Y      This will be assigned to you by your Account Manager during set up.              token      String      [0-9] 9 chars      Y      This is the same token used in the availability request.              ArrivalDate      Date      YYYY-MM-DD      Y      Date customer wishes to enter the fasttrack.              ArrivalTime      Time      HHMM      Y      Time customer wishes to enter the fasttrack.              Adults      Integer      [0-4] 1 char      Y      Number of adults requiring entry to the fasttrack.              Children      Integer      [0-3] 1 char      N      Number of children requiring entry to the fasttrack.              Title      String      [A-Z] 4 chars      Y      Title of lead passenger              Initial      String      [A-Z] 1 chars      Y      Initial of lead passenger              Surname      String      [A-Z] 20 chars      Y      Surname of lead passenger              Address[]      String      [A-Z0-9] 25 chars      Y      First line of address (house name / number and road) of lead passenger If you require more than 1 address line, then you can replicate this field and increment the number in square brackets, i.e. “Address[1]” for address line 2, and so on.NB: This field can be set to NA              Town      String      [A-Z] 20 chars      Y      Town of address NB: This field can be set to NA              County      String      [A-Z] 20 chars      Y      County of address NB: This field can be set to NA              PostCode      String      [A-Z0-9] 10 chars      Y      Post code of address NB: This field can be set to NA              Email      String      [A-Z0-9] 50 chars      Y      Email of lead passenger              MobileNum      String      [0-9] 20 char      Y      Mobile phone number of lead passenger.              CustomerRef      String      [A-Z0-9] 20 chars      N      A unique reference code associated with the customer’s booking for tracking and reference purposes.              PriceCheckFlag      String      Y      Y      Indicates a price check will be carried out prior to booking. If the price is lower in the system the booking will be made as the customer will benefit from a saving.  If the price has changed and is higher than the price stated on availability, an error will return to explain that the price has increased, the booking can still be made but the customer must confirm that they will pay the higher amount.  You should then resubmit the request changing the PriceCheckPrice with the new price.              PriceCheckPrice      Float      [0-9] 8 chars      Y      Price of the product, received from the availability request or price check.              System      String      [A-Z] 3 chars      Y*      For European products, you need to pass in the value of System=ABG (the default is System=ABC, which is UK products only).              Waiver      Boolean\t[0,1]             Y      Defaults to 0 if not supplied.      PaymentIn the UK, we are PCI DSS compliant and so we do not accept customers’ payment details being passed to us via the API. Further details can be found in our section on Payment.Please contact your Account Manager if you have any questions concerning payment.FastTrack Booking ResponseThe fasttrack booking response will confirm that a booking has been placed in our system.For a detailed explanation of the fields returned, please see below:            Field      Additional Information                  Booking/BookingRef      This is the reference for this booking. It must be referred to in all communication with us concerning this booking. NB: Our booking references are up to 12 char alphanumeric (including 1/I and 0/O/Q).              Booking/AgentComm      Commission you have earned from this booking.              Booking/MoreInfoURL      The URL for viewing the booking. See view booking for more details.              API_Header/Request      A list of parameters that were sent in the booking request.      Booking ConfirmationWe expect partners to create their own booking confirmations to send to customers, using the information provided in the booking response .Worked ExamplesBelow are worked examples of both the request and response for booking a fasttrack.UK Products Booking Requesthttps://api.holidayextras.co.uk/v1/fastTrack/APMANSF11    <Request>        <ABTANumber>YourABTANumber</ABTANumber>        <Password>YourPassword</Password>        <Initials>YourInitials</Initials>        <key>YourKey</key>        <token>YourToken</token>        <ArrivalDate>2018-12-01</ArrivalDate>        <ArrivalTime>1200</ArrivalTime>        <Adults>2</Adults>        <Children>0</Children>        <Title>MR</Title>        <Initial>T</Initial>        <Surname>TEST</Surname>        <Address>123 Test Street</Address>        <Town>Testville</Town>        <County>Testshire</County>        <PostCode>TE12 3ST</PostCode>        <Email>test@test.com</Email>        <MobileNum>01234567890</MobileNum>        <PriceCheckFlag>Y</PriceCheckFlag>        <PriceCheckPrice>70.00</PriceCheckPrice>    </Request>UK Products Booking Response<?xml version=\"1.0\"?><API_Reply Product=\"FastTrack\" RequestCode=\"5\" Result=\"OK\">  <Booking>    <BookingRef>APBBFKBX</BookingRef>    <AgentComm>1.25</AgentComm>    <VATonComm>0.21</VATonComm>    <MoreInfoURL>v1/booking/APBBFKBX</MoreInfoURL>    <EmailConfirmationAttachments>      <name>Fast Track Voucher</name>      <source>https://voucher-staging.holidayextras.co.uk/voucher/fastTrack?email=dimitar.kod%40gmail.com&booking_ref=APBBFKBX&agent=TESTX&productType=fastTrack&productCode=MANSF1</source>      <type>text/html</type>    </EmailConfirmationAttachments>  </Booking>  <API_Header>    <Request>      <ABTANumber>YourABTANumber</ABTANumber>      <Password>YourPassword</Password>      <key>YourKey</key>      <token>YourToken</token>      <Initials>YourInitials</Initials>      <ArrivalDate>2018-12-01</ArrivalDate>      <ArrivalTime>1200</ArrivalTime>      <Adults>2</Adults>      <Children>0</Children>      <Title>Mr</Title>      <Initial>T</Initial>      <Surname>TEST</Surname>      <Address>123 Test Street</Address>      <Town>Testville</Town>      <County>Testshire</County>      <PostCode>TE12 3ST</PostCode>      <Email>test@test.com</Email>      <MobileNum>01234567890</MobileNum>      <PriceCheckFlag>Y</PriceCheckFlag>      <PriceCheckPrice>70.00</PriceCheckPrice>      <v>1</v>    </Request>  </API_Header></API_Reply>",
                                                                                                                                                    @@ -226,27 +226,6 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-hotel-av": {
                                                                                                                                                    -        "title": "Hotel Availability Request",
                                                                                                                                                    -        "content": "## Hotel Availability Request### MethodGET### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/hotel/LocationCode```For example, for London Heathrow the endpoint is:```https://api.holidayextras.co.uk/v1/hotel/LHR```If you know the specific hotel code, then you can request availability by entering that into the endpoint. For example, for the Hilton at London Heathrow the endpoint is:```https://api.holidayextras.co.uk/v1/hotel/LHRHIL```To find the airport locations available for hotels, please refer to the [locations endpoint.](/hxapi/locations)### Request ParametersNB: All parameter names are case sensitive.| Name           | Data Type | Format                                  | Mandatory? | Additional Information                                                                                                                                                                                                                                                                                                                        ||----------------|-----------|-----------------------------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber     | String    | [A-Z0-9] 5 chars                        | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                               || Password       | String    | [A-Z0-9] 5 chars                        | Y*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                               || Initials       | String    | [A-Z] 3 chars                           | N          | The initials of the Operator / Agent.                                                                                                                                                                                                                                                                                                         || key            | String    | [A-Z]                                   | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                                                                           || token          | String    | [0-9] 9 chars                           | Y          | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token.                                                                                                                                                                                                                                                    || ArrivalDate    | Date      | YYYY-MM-DD                              | Y          | Date customer arrives at hotel.                                                                                                                                                                                                                                                                                                               || Nights         | Integer   | 1                                       | Y          | Number of nights the customer wants to stay in the hotel. NB: It is only possible to book one night stays.                                                                                                                                                                                                                                    || RoomType       | String    | [A-Z0-9] 3 chars                        | Y          | See [RoomCodes](/hxapi/types/roomcode) for a list of valid codes.                                                                                                                                                                                                                                                                             || SecondRoomType | String    | [A-Z0-9] 3 chars                        | N*         | NB: This feature is only available in the UK. This parameter is mandatory if the customer wishes to book two rooms at the same time. (Max 2 rooms) The room codes are as per RoomType.                                                                                                                                                || ParkingDays    | Integer   | [0-9] 2 chars                           | Y          | NB: The maximum duration accepted for ParkingDays is 30.                                                                                                                                                                                                                                                                                      || System         | String    | [A-Z] 3 chars                           | Y*         | For European products, you need to pass in the value of `System=ABG` (the default is `System=ABC`, which is UK products only).                                                                                                                                                                                                                || lang           | String    | [A-Z] 2 chars                           | Y*         | Required for requests for European products. (Values available are `en`, `de`, `it`, `es`, `pt` and `nl`.)                                                                                                                                                                                                                                    || Terminal       | String    | [A-Z1-9] 1 char                         | N          | An optional field when requesting hotel and parking that will filter the availble results to those that serve the given terminal. Terminal options can be found using the [Terminal](/hxapi/terminal) request, where the name of the terminal is a word only the first character is needed for this request ( eg. N for the North terminal ). || fields         | String    | [A-Z] a csv list of product info fields | N          | A list of product info fields can be passed in to return configurable product information e.g. `fields=name,address,latitude,sellingpoint`.                                                                                                                                                                                                   |## Hotel Availability ResponseFor a detailed explanation of the fields returned, please see below:| Field                              | Additional Information                                                                                                                                                                                                                                                                                                                                                                                                            ||------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| Hotel/Name                         | The name of the product                                                                                                                                                                                                                                                                                                                                                                                                           || Hotel/Code                         | The product code                                                                                                                                                                                                                                                                                                                                                                                                                  || Hotel/BookingURL                   | The URL to POST the booking request to for this particular product.                                                                                                                                                                                                                                                                                                                                                               || Hotel/MoreInfoURL                  | The link to more information about this product, sourced from the Product Library.                                                                                                                                                                                                                                                                                                                                                || Hotel/RequestFlags                 | These flags list which details the car park operator requires from the customer. If a flag is returned with a ‘Y’ your application should send the corresponding field/value in the booking request. Flags are only returned when required. The flags which can be returned are: `Registration`, `CarMake`, `CarModel`, `CarColour`, `OutFlight`, `ReturnFlight`, `OutTerminal`, `ReturnTerminal`, `Destination`, `MobileNum` || Hotel/Price                        | The price of product without any surcharges/fees added.                                                                                                                                                                                                                                                                                                                                                                           || Hotel/PriceWithSurcharge           | *NB: Please ignore this field - we no longer accept new agents sending payment details via our API.*                                                                                                                                                                                                                                                                                                                              || Hotel/Adults*                      | The maximum number of adults included in the room occupancy.                                                                                                                                                                                                                                                                                                                                                                      || Hotel/Children*                    | The maximum number of children included in the room occupancy.                                                                                                                                                                                                                                                                                                                                                                    || Hotel/RoomCode                     | *NB: Please ignore this field as it relates to internal systems.*                                                                                                                                                                                                                                                                                                                                                                 || Hotel/BoardBasis                   | *NB: Please ignore this field as it is no longer used and will be deprecated in future versions of the API.*                                                                                                                                                                                                                                                                                                                      || Hotel/ParkingDays                  | This returns the number of days parking available. NB: This may differ from the value requested, due to parking packages usually being set up in the system as either 4, 8 or 15 days.                                                                                                                                                                                                                                        || Hotel/NonDiscPrice                 | The non discounted price. Some agent codes apply a discount so we return this field to enable a comparison.                                                                                                                                                                                                                                                                                                                       || Hotel/CancellationFeeExceptions    | If the hotel has non-standard cancellation fees.                                                                                                                                                                                                                                                                                                                                                                                  || Hotel/AmendmentFeeExceptions       | If the hotel has non-standard amendment fees.                                                                                                                                                                                                                                                                                                                                                                                     || Hotel/noncancellable_nonrefundable | Is this hotel noncancellable or non-refundable?                                                                                                                                                                                                                                                                                                                                                                                   || Hotel/parking_includes_arrival     | If parking during the customer's hotel stay included in their parking package                                                                                                                                                                                                                                                                                                                                                     || Hotel/CarPark                      | If your request included car parking, this is the car park code.                                                                                                                                                                                                                                                                                                                                                                  || Hotel/Filter                       | *NB: Please ignore this field as it is for internal use only.*                                                                                                                                                                                                                                                                                                                                                                    || Hotel/lead_time_cancellation       | This is the number of days before the booking starts that the product will switch from flexible to non-flexible.                                                                                                                                                                                                                                                                                                                  || API_Header/Request                 | The API returns every parameter and value you sent in the previous request.                                                                                                                                                                                                                                                                                                                                                       | \\* Where two rooms have been requested, these fields represent the total of adults and children across all rooms. Additional fields will show the individual room occupancy:  `FirstRoomAdults`, `FirstRoomChildren`, `SecondRoomAdults` and `SecondRoomChildren`.## Key Information on HotelsPlease read this section through carefully, as it contains useful information about restrictions on how hotels must be sold.### Advance purchaseAdvance purchase products are non-refundable and non-cancellable. As a result, Cancellation Waiver must *not* be sold to customers purchasing a product with `advance_purchase` set to 1.### Day Use OnlyThere is a field in the product library for hotels, named `day_use_only`. Day use products must not be sold to customers wishing to have an overnight stay where `day_use_only` is set to 1.### Parking Includes ArrivalIn order to establish whether the package includes parking for the night of the hotel stay the `parking_includes_arrival` field needs to be taken into account.Where this field is set to 0, this means the night of the hotel stay is not included as there is free overnight parking. Parking stay will start from the following day. Where it is set to 1, this means that parking starts from the date the customer checks into the hotel.### Mystery / Un-named ProductsThere are some hotels in which the name field will not provide the name of the hotel e.g `Mystery 4-star hotel`.  The name of these hotels should not be provided to the customer until the booking is made, along with other identifying details such as address, hotel images, restaurant names etc.### Lead time cancellationFlexible bookings become non flexible within a certain timeframe before the stay date ie booking turns non flexible within 30 days of stay.Scenario 1* Flexible booking made outside 60 days of stay.* Cancellation policy - only able to canx up to 30 days before stay date.* Booking is non flex within 30 days of stay date.Scenario 2* Flexible booking made inside 60 days of stay date.* Cancellation policy - only able to canx up to 3 days before stay date.* Booking is non flex within 3 days of stay date.## Worked ExamplesBelow are worked examples of both the requests and responses for hotel availability.### UK Hotel Availability Request - Room Only (zero days parking)```https://api.holidayextras.co.uk/v1/hotel/LHR?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2017-12-01&Nights=1&RoomType=T21&ParkingDays=0```### UK Hotel Availability Response - Room Only (zero days parking)NB: This is a shortened example compiled from a full availability response.```xml            Mercure        LHRMEA        /v1/hotel/HPLHRMEA        /v1/product/LHRMEA                    1                45.00        45.90        2        1        TRL        RO        0        45.00        30        1        1        1                Thistle T5        LHRPAA        /v1/hotel/HPLHRPAA        /v1/product/LHRPAA                85.50        87.21        2        1        TRL        RO        0        85.50        30        1                    0                1                Hilton T5        LHRHLT        /v1/hotel/HPLHRHLT        /v1/product/LHRHLT                    1            1            1                99.00        100.98        2        1        TRL        RO        0        99.00                2.00        0.00        4.00        0.00        0.00        0.00        2.99                                YourABTANumber            YourPassword            YourKey            YourToken            2017-12-01            1            T21            0            1            ```### UK Hotel Availability Request - Room with Parking```https://api.holidayextras.co.uk/v1/hotel/LHR?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2017-12-01&Nights=1&RoomType=T21&ParkingDays=8```### UK Hotel Availability Response - Room with ParkingNB: This is a shortened example compiled from a full availability response.```xml            Mercure with Purple Parking Meet and Greet        LHRMPU        /v1/hotel/HPLHRMPU        /v1/product/LHRMPU                    1            1            1            1            1            1            1                129.00        131.58        2        1        TRL        RO        8        129.00        LHR5        LHR5                    1                        Thistle T5 with parking at the hotel and breakfast        LHRPAT        /v1/hotel/HPLHRPAT        /v1/product/LHRPAT                130.00        132.60        2        1        TRL        RO        8        130.00                    1            1            0                       Sheraton Skyline with parking at the hotel       LHRSKA       /v1/hotel/HPLHRSKA       /v1/product/LHRSKA              134.00       136.68       2       1       TRL       RO       8       134.00                  0                     2.00        0.00        4.00        0.00        0.00        0.00        2.99                                YourABTANumber            YourPassword            YourKey            YourToken            2017-12-01            1            T21            8            1            ```### European Hotel Availability Request - Room with Parking```https://api.holidayextras.co.uk/v1/hotel/MUC?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2017-12-01&Nights=1&RoomType=D20&ParkingDays=8&System=ABG&lang=de```### European Hotel Availability Response - Room with ParkingNB: This is a shortened example compiled from a full availability response.```xml            Schweigers Landgasthof        MUCLAN        /v1/hotel/FRMUCLAN        /v1/product/MUCLAN                120.00        NaN        2        0        DZ        F        15        120.00                Airporthotel Regent        MUCREG        /v1/hotel/FRMUCREG        /v1/product/MUCREG                97.00        NaN        2        0        DZ        F        15        97.00                  NH München Airport          MUCAST          /v1/hotel/FRMUCAST          /v1/product/MUCAST                    113.00          NaN          2          0          DZ          U          8          113.00                0.00        0.00        0.00                                TESTG            Redacted            mytestkey            generate            2017-12-01            1            D20            8            ABG            de            1            ```",
                                                                                                                                                    -        "url": "/hxapi/hotel/av/"
                                                                                                                                                    -      }
                                                                                                                                                    -      ,
                                                                                                                                                    -    
                                                                                                                                                    -      "hxapi-hotel": {
                                                                                                                                                    -        "title": "Hotels",
                                                                                                                                                    -        "content": "# Hotels[API Docs](/hxapi/) > product:[Hotels](index)## Hotel EndpointsHere are the hotel specific endpoints: | Action                                     | Endpoint                                                                         | Method | | ------                                     | --------                                                                         | ------ | | Availability at hotel      | [https://api.holidayextras.co.uk/v1/hotel/LocationCode](av)            | GET    | | Make booking at hotel      | [https://api.holidayextras.co.uk/v1/hotel/LocationCode](bkg)           | POST   | | Pre-booking price check  | [https://api.holidayextras.co.uk/v1/hotel/HotelProductCode/priceCheck](priceCheck) | GET    |Please note: All hotel requests include parking options of zero, 8 and 15 days parking. To make a request for a hotel only product, please select zero days parking.## Hotel User JourneyTo follow -",
                                                                                                                                                    -        "url": "/hxapi/hotel/"
                                                                                                                                                    -      }
                                                                                                                                                    -      ,
                                                                                                                                                    -    
                                                                                                                                                    -      "hxapi-insurance": {
                                                                                                                                                    -        "title": "Insurance",
                                                                                                                                                    -        "content": "# Insurance[API Docs](/hxapi/) > product:[Insurance](index)## Insurance Endpoints | Request | Endpoint | Method | | ------- | -------- | ------ | | List all regions and / or countries | [https://api.holidayextras.co.uk/v1/insurancecountries](countries) | GET | | Request insurance schemes available | [https://api.holidayextras.co.uk/v1/insurancepolicy/RegionCode](availability) | GET | | Request options for insurance scheme | [https://api.holidayextras.co.uk/v1/insurancepolicy/SchemeCode](options) | GET | | Create insurance policy | [https://api.holidayextras.co.uk/v1/insurancepolicy/CertificateRef](createpolicy) | POST |## Insurance User JourneyBelow is a diagram detailing how the endpoints can be used to create an insurance user journey. More information on each endpoint can be found in the detailed guides listed above.![Insurance Workflow](https://github.com/holidayextras/partner-api-docs/raw/master/site/hxapi/insurance/workflow.png)",
                                                                                                                                                    -        "url": "/hxapi/insurance/"
                                                                                                                                                    -      }
                                                                                                                                                    -      ,
                                                                                                                                                    -    
                                                                                                                                                           "hxapi-transfers-bkg": {
                                                                                                                                                             "title": "Transfers Booking",
                                                                                                                                                             "content": "# Transfers Booking## Booking Request### MethodPOST### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/transfers/[CODE]```Where ```[CODE]``` is the product code received in the availability request of the product you want to book.Here is an example for the following Availability response:```TBHT1169922/transfers/TBHT1169922...```Your Make Booking request will have the following URL: https://api.holidayextras.co.uk/v1/transfers/TBHT1169922### Request ParametersThe parameters _must_ be sent in the body of the request, as `x-www-form-urlencoded` data.NB: All parameter names are case sensitive.| Name               | Data Type | Format           | Mandatory? | Additional Information                                                                                                                                                                                                                                                                       ||--------------------|-----------|------------------|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber         | String    | [A-Z0-9] 5 chars | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                  || Password           | String    | [A-Z0-9] 5 chars | Y*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                            || Initials           | String    | [A-Z] 3 chars    | N          | The initials of the Operator/Agent.                                                                                                                                                                                                                                                          || key                | String    | [A-Z]            | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                          || token              | String    | [0-9] 9 chars    | Y          | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token.                                                                                                                                                                                                   || PickUpType         | String    | [A-Z0-9]         | Y          | The type can either be `IATA`, `TTI`, `postal-address` or `PC` (Postcode) (i.e `PickUpType=IATA`).                                                                                                                                                                                           || PickUp             | String    | [A-Z0-9]         | Y*         | The IATA, TTI or Postcode (i.e `PickUp=AGP`).Not required for `postal-address`                                                                                                                                                                                                         || PickUpName         | String    | [A-Z0-9]         | Y [^1]     | The pick up location name.                                                                                                                                                                                                                                                                   || PickUpAddress[]    | String    | [A-Z0-9]         | Y [^1]     | First line of address (house name / number and road) of the destination.If you require more than one address line, then you can replicate this field and increment the number in square brackets, i.e. \"PickUpAddress[1]\" for address line two. Up to a maximum of two address lines.  || PickUpTown         | String    | [A-Z0-9]         | Y [^1]     | The pick up town name.                                                                                                                                                                                                                                                                       || PickUpCounty       | String    | [A-Z0-9]         | Y [^1]     | The pick up county name.                                                                                                                                                                                                                                                                     || PickUpPostcode     | String    | [A-Z0-9]         | Y [^1]     | The pick up postcode.                                                                                                                                                                                                                                                                        || PickUpCountryCode  | String    | [A-Z] 2 chars    | Y [^1]     | The pick up country code in [ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html) format.                                                                                                                                                                                    || PickUpLongitude    | Float     | [0-9]            | Y [^1]     | The pick up location longitude.                                                                                                                                                                                                                                                              || PickUpLatitude     | Float     | [0-9]            | Y [^1]     | The pick up location latitude.                                                                                                                                                                                                                                                               || DropOffType        | String    | [A-Z0-9]         | Y          | The type can either be `IATA`, `TTI`, `postal-address` or `PC` (Postcode) (i.e `DropOffType=TTI`).                                                                                                                                                                                           || DropOff            | String    | [A-Z0-9]         | Y*         | The IATA, TTI or Postcode (i.e `DropOff=85101062`).Not required for `postal-address`                                                                                                                                                                                                   || DropOffName        | String    | [A-Z0-9]         | Y [^1]     | The drop off location name.                                                                                                                                                                                                                                                                  || DropOffAddress[]   | String    | [A-Z0-9]         | Y [^1]     | First line of address (house name / number and road) of the destination.If you require more than one address line, then you can replicate this field and increment the number in square brackets, i.e. \"DropOffAddress[1]\" for address line two. Up to a maximum of two address lines. || DropOffTown        | String    | [A-Z0-9]         | Y [^1]     | The drop off town name.                                                                                                                                                                                                                                                                      || DropOffCounty      | String    | [A-Z0-9]         | Y [^1]     | The drop off county name.                                                                                                                                                                                                                                                                    || DropOffPostcode    | String    | [A-Z0-9]         | Y [^1]     | The drop off postcode.                                                                                                                                                                                                                                                                       || DropOffCountryCode | String    | [A-Z] 2 chars    | Y [^1]     | The drop off country code in [ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html) format.                                                                                                                                                                                   || DropOffLongitude   | Float     | [0-9]            | Y [^1]     | The drop off location longitude.                                                                                                                                                                                                                                                             || DropOffLatitude    | Float     | [0-9]            | Y [^1]     | The drop off location latitude.                                                                                                                                                                                                                                                              || FromDate           | Date      | YYYY-MM-DD       | Y          | Flight Arrival Date (`PickUpType` = `IATA`), Flight Departure Date (`DropOffType` = `IATA`), Preferred Date.                                                                                                                                                                                 || FromTime           | Time      | HHMM             | Y          | Flight Arrival Time (`PickUpType` = `IATA`), Flight Departure Time (`DropOffType` = `IATA`), Preferred Time.                                                                                                                                                                                 || ReturnDate         | Date      | YYYY-MM-DD       | N          | Flight Arrival Date (`DropOffType` = `IATA`), Flight Departure Date (`PickUpType` = `IATA`), Preferred Date.                                                                                                                                                                                 || ReturnTime         | Time      | HHMM             | N          | Flight Arrival Time (`DropOffType` = `IATA`), Flight Departure Time (`PickUpType` = `IATA`), Preferred Time.                                                                                                                                                                                 || Adults             | Integer   | [0-9]            | Y          | Number of Adults requiring a transfer.                                                                                                                                                                                                                                                       || Children           | Integer   | [0-9]            | N          | Number of Children requiring a transfer.                                                                                                                                                                                                                                                     || Infants            | Integer   | [0-9]            | N          | Number of Infants requiring a transfer.                                                                                                                                                                                                                                                      || OutFlight          | String    | [A-Z0-9]         | Y*         | A flight number is required if the journey involves being picked up or dropped off at an Airport.                                                                                                                                                                                            || ReturnFlight       | String    | [A-Z0-9]         | N*         | A flight number is required if the return journey involves being picked up or dropped off at an Airport.                                                                                                                                                                                     || Title              | String    | [A-Z]            | Y          | The lead passenger's title (i.e 'Mr', 'Mrs', etc.).                                                                                                                                                                                                                                          || FirstName          | String    | [A-Z]            | Y          | The lead passenger's first name.                                                                                                                                                                                                                                                             || LastName           | String    | [A-Z]            | Y          | The lead passenger's last name.                                                                                                                                                                                                                                                              || Email              | String    | [A-Z] 50 chars   | Y          | The lead passenger's email address.                                                                                                                                                                                                                                                          || DayPhone           | Integer   | [0-9] 20 chars   | Y          | The lead passenger's contact telephone number.                                                                                                                                                                                                                                               || Price              | Float     | [0-9]            | Y          | The total price of the Transfer/s (This will be the value of the `TotalPrice` property returned in the availability response).                                                                                                                                                               |#### PaymentIn the UK, we are PCI DSS compliant and so we do not accept customers' payment details being passed to us via the API. Further details can be found in our section on [Payment](/hxapi/payment).Please contact your Account Manager if you have any questions concerning payment.## Booking ResponseIf the booking has been successful, the response will contain a `Booking` field which will have a `BookingRef` property. A summary of the request received can be found in the header field at the end of the response.For a detailed explanation of the fields returned, please see below:| Field                      | Additional Information                                                                                      ||----------------------------|-------------------------------------------------------------------------------------------------------------|| Booking/BookingRef         | The reference for the booking, use this reference in all communication with us relating to this booking.    || Booking/AgentComm          | Commission earned from this booking.                                                                        || Booking/MoreInfoURL        | The URL to GET more information about the booking (view [View Booking Request](/hxapi/viewamendcancel/view/) for more information).|### Example```json{    \"API_Reply\": {        \"Booking\": {            \"BookingRef\": \"TBBGNHMT\",            \"AgentComm\": \"0.17\",            \"VATonComm\": \"0.00\",            \"MoreInfoURL\": \"/v1/booking/TBBGNHMT.js\"        },        \"ATTRIBUTES\": {            \"Product\": \"Transfers\",            \"RequestCode\": 5,            \"Result\": \"OK\"        },        \"API_Header\": {            \"Request\": {                \"key\": \"TEST\",                \"token\": \"d2d6dedd-606f-4f00-aa8c-526a358e927c\",                \"ABTANumber\": \"TESTL\",                \"Password\": \"Redacted\",                \"FromDate\": \"2020-08-01\",                \"FromTime\": 1255,                \"ReturnDate\": \"2020-08-10\",                \"ReturnTime\": 1355,                \"PickUp\": \"AGP\",                \"PickUpType\": \"IATA\",                \"DropOff\": 85101062,                \"DropOffType\": \"TTI\",                \"Adults\": 2,                \"Title\": \"MR\",                \"FirstName\": \"Test\",                \"LastName\": \"Test\",                \"Email\": \"test@holidayextras.com\",                \"DayPhone\": \"07123456789\",                \"Price\": 103.52,                \"OutFlight\": \"LS1405\",                \"ReturnFlight\": \"LS1406\",                \"v\": 1,                \"format\": \"js\"            }        }    }}```[^1]: Only required when the location type is `postal-address`.",
                                                                                                                                                    @@ -268,6 +247,13 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    +      "hxapi-upgrade": {
                                                                                                                                                    +        "title": "Product Upgrades",
                                                                                                                                                    +        "content": "# Product Upgrades[API Docs](/hxapi/) > [Product Upgrades](/hxapi/upgrade)## Upgrades Availability RequestUpgrades are currently only supported for parking, hotel and lounge bookings. Upgrades can be requested on a per product basis.#### MethodGET#### Endpoint/upgrade/{productCode}NB: Where `productCode` is the code of the base product i.e. the parking/hotel/lounge etc. product.```https://api.holidayextras.co.uk/v1/upgrade/LGV4```## Request Parameters| Name        | Data Type | Format           | Mandatory? | Additional Information                                                                                                                                          ||-------------|-----------|------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber  | String    | [A-Z0-9] 5 chars | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                 || Password    | String    | [A-Z0-9] 5 chars | Y*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up. || Initials    | String    | [A-Z] 3 chars    | N          | The initials of the Operator / Agent.                                                                                                                           || key         | String    | [A-Z]            | Y          | This will be assigned to you by your Account Manager during set up.                                                                                             || token       | String    | [0-9] 9 chars    | Y          | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token.                                                                      || ArrivalDate | String    | YYYY-MM-DD       | Y          | This should be the same as the `ArrivalDate` from the base product request.                                                                                     || ArrivalTime | Time      | HHMM             | Y          | This should be the same as the `ArrivalTime` from the base product request.                                                                                     || DepartDate  | Date      | YYYY-MM-DD       | N          | This should be the same as the `DepartDate` from the base product request.                                                                                      || DepartTime  | Time      | HHMM             | N          | This should be the same as the `DepartTime` from the base product request.                                                                                      || Adults      | Integer   | [0-9]            | Y*         | Mandatory for Lounge upgrade requests. Number of adults in the party                                                                                            || Children    | Integer   | [0-9]            | Y*         | Mandatory for Lounge upgrade requests. Number of children in the party                                                                                          |## Upgrade Availability ResponseThe response will return a list of available upgrades.Upgrades are sold on a per booking, per person, or per room basis.Upgrades can be for the day before travel, day of departure or day of return.| Field              | Additional Information                                                                      ||--------------------|---------------------------------------------------------------------------------------------|| Code               | Product code for the upgrade                                                                || Name               | Name of the upgrade                                                                         || Per                | Pricing basis, either per *P*erson, per *B*ooking, per *R*oom                               || Canx               | Whether the upgrade is cancellable (Y/N)                                                    || description        |                                                                                             || supplement_type    | Type classification for the upgrade                                                         || Date               | Date the upgrade is to be booked for. Format YYYY-MM-DD                                     || only_for_adults    | Upgrades restricted to adult only parties e.g. Adult only lounges                           || Price              | The price of the upgrade minus any discounts. Only present for per booking upgrades         || NonDiscPrice       | The total price of the upgrade before discounts. Only present for per booking upgrades      || DiscAmt            | The amount of any discount applied. Only present for per booking upgrades                   || AdPrice            | The per adult price minus any discounts. Only present for per person upgrades               || NonDiscAdPrice     | The per adult price before any discounts. Only present for per person upgrades              || AdDiscAmt          | The amount of discount applied to the per adult price. Only present for per person upgrades || ChPrice            | The per child price minus any discounts. Only present for per person upgrades               || NonDiscChPrice     | The per child price before any discounts. Only present for per person upgrades              || ChDiscAmt          | The amount of discount applied to the child price. Only present for per person upgrades     || API_Header/Request | The API returns every parameter and value you sent in the request.                          |## Examples### Example 1 - Carpark Upgrades#### Request{% codetabs %}  {% codetab XML %}  ```https://api.holidayextras.co.uk/v1/upgrade/STN5?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45  ```  {% endcodetab %}  {% codetab JSON %}```https://api.holidayextras.co.uk/v1/upgrade/STN5.js?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45```  {% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative examples/_example_1_response.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative examples/_example_1_response.json %}```{% endcodetab %}{% endcodetabs %}### Example 1 - Hotel Upgrades#### Request{% codetabs %}{% codetab XML %}```https://api.holidayextras.co.uk/v1/upgrade/LGWSOF?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45```{% endcodetab %}{% codetab JSON %}```https://api.holidayextras.co.uk/v1/upgrade/LGWSOF.js?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45```{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative examples/_example_2_response.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative examples/_example_2_response.json %}```{% endcodetab %}{% endcodetabs %}",
                                                                                                                                                    +        "url": "/hxapi/upgrade/"
                                                                                                                                                    +      }
                                                                                                                                                    +      ,
                                                                                                                                                    +    
                                                                                                                                                           "hxapi-lounge": {
                                                                                                                                                             "title": "Lounge",
                                                                                                                                                             "content": "# LoungeHere are the lounge specific endpoints:| Request | Endpoint | Method || --- | --- | --- || Availability of lounges at airport | [https://api.holidayextras.co.uk/v1/lounge/AirportCode](av/airport) | GET || Make booking for lounge | [https://api.holidayextras.co.uk/v1/lounge/LoungeCode](bkg) | POST |",
                                                                                                                                                    @@ -275,17 +261,17 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-viewamendcancel": {
                                                                                                                                                    -        "title": "Manage A Booking",
                                                                                                                                                    -        "content": "# Manage A Booking[API Docs](/hxapi/) > product:[viewamendcancel](index)## Manage A Booking EndpointsHere are the endpoints for managing a booking:| View booking | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](view) | GET || Amend booking - Simple | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](amend_simple) | POST || Amend booking - Complex | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](amend_complex) | POST || Cancel booking | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](cancel) | POST |## Manage A Booking Top TipsThe three methods provided will enable your customers via your integration to manage their own booking online.### Amending a bookingWe allow both simple and complex amends:- A ***simple amend*** is where the booking details are updated, without affecting the price. This is also known as an \"amend no re-price\". For example, adding a car registration number to a parking booking.- A ***complex amend*** is where the booking details are updated and this does affect the price. This is also known as an \"amend re-price\". For example, changing the date of a booking.",
                                                                                                                                                    -        "url": "/hxapi/viewamendcancel/"
                                                                                                                                                    +      "hxapi-productlibrary": {
                                                                                                                                                    +        "title": "Product Library",
                                                                                                                                                    +        "content": "# Product LibraryThe data returned from a Product Library request depends on the type of product you ask for. A request for a car park returns different fields than a request for a hotel.By default, only fields that contain a value are returned.You can specify the fields you want returned. Simply add the parameter fields and specify the field names. An error/warning element will be returned for any fields which do not exist, but the request will still return those elements for which there is a value. If you request a valid field, but there is no value, it will not be returned.The purpose of most of the fields should be self-explanatory. If there is anything you do not understand, please email . There are no guarantees about the types of data returned, you should make no assumptions about a specific field being an integer etc.Data returned should not be cached locally for periods of time greater than one day (24 hours).### URL/product/{productCode}### MethodGET### Parameters| Name   | Format | Required ||--------|--------|----------|| token  | String | N        || key    | String | Y        || fields | String | N        |## Available FieldsThe available fields vary by product type. For each product type there is a recommended list of fields which should be requested to get the information required to effectively sell the product.{% codetabs %}{% codetab Parking %}{% include_relative _parkingFields.md %}{% endcodetab %}{% codetab Hotel room only %}{% include_relative _hotelOnlyFields.md %}{% endcodetab %}{% codetab Hotel with parking %}{% include_relative _hotelParkingFields.md %}{% endcodetab %}{% codetab Lounge %}{% include_relative _loungeFields.md %}{% endcodetab %}{% codetab Fast track %}{% include_relative _fastTrackFields.md %}{% endcodetab %}{% endcodetabs %}---## Examples### Example 1 - Default Response#### Request{% codetabs %}{% codetab Live (XML) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite?token=000015778&key=mytestkey```{% endcodetab %}{% codetab Live (JSON) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite.js?token=000015778&key=mytestkey```Note the `.js` extension.{% endcodetab %}{% codetab Sandbox (XML) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite?token=000015778&key=mytestkey```{% endcodetab %}{% codetab Sandbox (JSON) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite.js?token=000015778&key=mytestkey```Note the `.js` extension.{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative _examples/parking_reply_1.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative _examples/parking_reply_1.json %}```{% endcodetab %}{% endcodetabs %}---### Example 2 - Restricted field list#### Request{% codetabs %}{% codetab Live (XML) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite?token=000015778&key=mytestkey&fields=name,longitude,latitude```{% endcodetab %}{% codetab Live (JSON) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite.js?token=000015778&key=mytestkey&fields=name,longitude,latitude```Note the `.js` extension.{% endcodetab %}{% codetab Sandbox (XML) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite?token=000015778&key=mytestkey&fields=name,longitude,latitude```{% endcodetab %}{% codetab Sandbox (JSON) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite.js?token=000015778&key=mytestkey&fields=name,longitude,latitude```Note the `.js` extension.{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative _examples/parking_reply_2.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative _examples/parking_reply_2.json %}```{% endcodetab %}{% endcodetabs %}---### Example 3 - German Parking Request#### RequestRequests for German products return a different set of fields. Explanation of fields not currently available.{% codetabs %}{% codetab Live (XML) %}```https://api.holidayextras.co.uk/v1/product/FRA0?key=mytestkey```{% endcodetab %}{% codetab Live (JSON) %}```https://api.holidayextras.co.uk/v1/product/FRA0.js?key=mytestkey```Note the `.js` extension.{% endcodetab %}{% codetab Sandbox (XML) %}```https://api.holidayextras.co.uk/sandbox/v1/product/FRA0?key=mytestkey```{% endcodetab %}{% codetab Sandbox (JSON) %}```https://api.holidayextras.co.uk/sandbox/v1/product/FRA0.js?key=mytestkey```Note the `.js` extension.{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative _examples/parking_reply_3.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative _examples/parking_reply_3.json %}```{% endcodetab %}{% endcodetabs %}",
                                                                                                                                                    +        "url": "/hxapi/productlibrary/"
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-upgrade": {
                                                                                                                                                    -        "title": "Product Upgrades",
                                                                                                                                                    -        "content": "# Product Upgrades[API Docs](/hxapi/) > [Product Upgrades](/hxapi/upgrade)## Upgrades Availability RequestUpgrades are currently only supported for parking, hotel and lounge bookings. Upgrades can be requested on a per product basis.#### MethodGET#### Endpoint/upgrade/{productCode}NB: Where `productCode` is the code of the base product i.e. the parking/hotel/lounge etc. product.```https://api.holidayextras.co.uk/v1/upgrade/LGV4```## Request Parameters| Name        | Data Type | Format           | Mandatory? | Additional Information                                                                                                                                          ||-------------|-----------|------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber  | String    | [A-Z0-9] 5 chars | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                 || Password    | String    | [A-Z0-9] 5 chars | Y*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up. || Initials    | String    | [A-Z] 3 chars    | N          | The initials of the Operator / Agent.                                                                                                                           || key         | String    | [A-Z]            | Y          | This will be assigned to you by your Account Manager during set up.                                                                                             || token       | String    | [0-9] 9 chars    | Y          | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token.                                                                      || ArrivalDate | String    | YYYY-MM-DD       | Y          | This should be the same as the `ArrivalDate` from the base product request.                                                                                     || ArrivalTime | Time      | HHMM             | Y          | This should be the same as the `ArrivalTime` from the base product request.                                                                                     || DepartDate  | Date      | YYYY-MM-DD       | N          | This should be the same as the `DepartDate` from the base product request.                                                                                      || DepartTime  | Time      | HHMM             | N          | This should be the same as the `DepartTime` from the base product request.                                                                                      || Adults      | Integer   | [0-9]            | Y*         | Mandatory for Lounge upgrade requests. Number of adults in the party                                                                                            || Children    | Integer   | [0-9]            | Y*         | Mandatory for Lounge upgrade requests. Number of children in the party                                                                                          |## Upgrade Availability ResponseThe response will return a list of available upgrades.Upgrades are sold on a per booking, per person, or per room basis.Upgrades can be for the day before travel, day of departure or day of return.| Field              | Additional Information                                                                      ||--------------------|---------------------------------------------------------------------------------------------|| Code               | Product code for the upgrade                                                                || Name               | Name of the upgrade                                                                         || Per                | Pricing basis, either per *P*erson, per *B*ooking, per *R*oom                               || Canx               | Whether the upgrade is cancellable (Y/N)                                                    || description        |                                                                                             || supplement_type    | Type classification for the upgrade                                                         || Date               | Date the upgrade is to be booked for. Format YYYY-MM-DD                                     || only_for_adults    | Upgrades restricted to adult only parties e.g. Adult only lounges                           || Price              | The price of the upgrade minus any discounts. Only present for per booking upgrades         || NonDiscPrice       | The total price of the upgrade before discounts. Only present for per booking upgrades      || DiscAmt            | The amount of any discount applied. Only present for per booking upgrades                   || AdPrice            | The per adult price minus any discounts. Only present for per person upgrades               || NonDiscAdPrice     | The per adult price before any discounts. Only present for per person upgrades              || AdDiscAmt          | The amount of discount applied to the per adult price. Only present for per person upgrades || ChPrice            | The per child price minus any discounts. Only present for per person upgrades               || NonDiscChPrice     | The per child price before any discounts. Only present for per person upgrades              || ChDiscAmt          | The amount of discount applied to the child price. Only present for per person upgrades     || API_Header/Request | The API returns every parameter and value you sent in the request.                          |## Examples### Example 1 - Carpark Upgrades#### Request{% codetabs %}  {% codetab XML %}  ```https://api.holidayextras.co.uk/v1/upgrade/STN5?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45  ```  {% endcodetab %}  {% codetab JSON %}```https://api.holidayextras.co.uk/v1/upgrade/STN5.js?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45```  {% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative examples/_example_1_response.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative examples/_example_1_response.json %}```{% endcodetab %}{% endcodetabs %}### Example 1 - Hotel Upgrades#### Request{% codetabs %}{% codetab XML %}```https://api.holidayextras.co.uk/v1/upgrade/LGWSOF?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45```{% endcodetab %}{% codetab JSON %}```https://api.holidayextras.co.uk/v1/upgrade/LGWSOF.js?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2020-11-03&ArrivalTime=12:30&DepartDate=2020-11-11&DepartTime=13:45```{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative examples/_example_2_response.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative examples/_example_2_response.json %}```{% endcodetab %}{% endcodetabs %}",
                                                                                                                                                    -        "url": "/hxapi/upgrade/"
                                                                                                                                                    +      "hxapi-carhire": {
                                                                                                                                                    +        "title": "Car Hire",
                                                                                                                                                    +        "content": "# Car Hire[API Docs](/hxapi/) > product:[Car Hire](index)These are the car hire requests.| Action | Endpoint | Method || --- | --- | --- || Lookup Locations | [https://api.holidayextras.co.uk/v1/carHire/locations](locations) | GET || Availability | [https://api.holidayextras.co.uk/v1/carHire/products](availability) | GET || Make Booking | [https://api.holidayextras.co.uk/v1/carHire/](booking/make) | POST || Lookup Booking | [https://api.holidayextras.co.uk/v1/carHire-booking/](booking/lookup) | GET |",
                                                                                                                                                    +        "url": "/hxapi/carhire/"
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    @@ -303,16 +289,37 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-carhire": {
                                                                                                                                                    -        "title": "Car Hire",
                                                                                                                                                    -        "content": "# Car Hire[API Docs](/hxapi/) > product:[Car Hire](index)These are the car hire requests.| Action | Endpoint | Method || --- | --- | --- || Lookup Locations | [https://api.holidayextras.co.uk/v1/carHire/locations](locations) | GET || Availability | [https://api.holidayextras.co.uk/v1/carHire/products](availability) | GET || Make Booking | [https://api.holidayextras.co.uk/v1/carHire/](booking/make) | POST || Lookup Booking | [https://api.holidayextras.co.uk/v1/carHire-booking/](booking/lookup) | GET |",
                                                                                                                                                    -        "url": "/hxapi/carhire/"
                                                                                                                                                    +      "hxapi-hotel-av": {
                                                                                                                                                    +        "title": "Hotel Availability Request",
                                                                                                                                                    +        "content": "## Hotel Availability Request### MethodGET### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/hotel/LocationCode```For example, for London Heathrow the endpoint is:```https://api.holidayextras.co.uk/v1/hotel/LHR```If you know the specific hotel code, then you can request availability by entering that into the endpoint. For example, for the Hilton at London Heathrow the endpoint is:```https://api.holidayextras.co.uk/v1/hotel/LHRHIL```To find the airport locations available for hotels, please refer to the [locations endpoint.](/hxapi/locations)### Request ParametersNB: All parameter names are case sensitive.| Name           | Data Type | Format                                  | Mandatory? | Additional Information                                                                                                                                                                                                                                                                                                                        ||----------------|-----------|-----------------------------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber     | String    | [A-Z0-9] 5 chars                        | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                               || Password       | String    | [A-Z0-9] 5 chars                        | Y*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                               || Initials       | String    | [A-Z] 3 chars                           | N          | The initials of the Operator / Agent.                                                                                                                                                                                                                                                                                                         || key            | String    | [A-Z]                                   | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                                                                           || token          | String    | [0-9] 9 chars                           | Y          | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token.                                                                                                                                                                                                                                                    || ArrivalDate    | Date      | YYYY-MM-DD                              | Y          | Date customer arrives at hotel.                                                                                                                                                                                                                                                                                                               || Nights         | Integer   | 1                                       | Y          | Number of nights the customer wants to stay in the hotel. NB: It is only possible to book one night stays.                                                                                                                                                                                                                                    || RoomType       | String    | [A-Z0-9] 3 chars                        | Y          | See [RoomCodes](/hxapi/types/roomcode) for a list of valid codes.                                                                                                                                                                                                                                                                             || SecondRoomType | String    | [A-Z0-9] 3 chars                        | N*         | NB: This feature is only available in the UK. This parameter is mandatory if the customer wishes to book two rooms at the same time. (Max 2 rooms) The room codes are as per RoomType.                                                                                                                                                || ParkingDays    | Integer   | [0-9] 2 chars                           | Y          | NB: The maximum duration accepted for ParkingDays is 30.                                                                                                                                                                                                                                                                                      || System         | String    | [A-Z] 3 chars                           | Y*         | For European products, you need to pass in the value of `System=ABG` (the default is `System=ABC`, which is UK products only).                                                                                                                                                                                                                || lang           | String    | [A-Z] 2 chars                           | Y*         | Required for requests for European products. (Values available are `en`, `de`, `it`, `es`, `pt` and `nl`.)                                                                                                                                                                                                                                    || Terminal       | String    | [A-Z1-9] 1 char                         | N          | An optional field when requesting hotel and parking that will filter the availble results to those that serve the given terminal. Terminal options can be found using the [Terminal](/hxapi/terminal) request, where the name of the terminal is a word only the first character is needed for this request ( eg. N for the North terminal ). || fields         | String    | [A-Z] a csv list of product info fields | N          | A list of product info fields can be passed in to return configurable product information e.g. `fields=name,address,latitude,sellingpoint`.                                                                                                                                                                                                   |## Hotel Availability ResponseFor a detailed explanation of the fields returned, please see below:| Field                              | Additional Information                                                                                                                                                                                                                                                                                                                                                                                                            ||------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| Hotel/Name                         | The name of the product                                                                                                                                                                                                                                                                                                                                                                                                           || Hotel/Code                         | The product code                                                                                                                                                                                                                                                                                                                                                                                                                  || Hotel/BookingURL                   | The URL to POST the booking request to for this particular product.                                                                                                                                                                                                                                                                                                                                                               || Hotel/MoreInfoURL                  | The link to more information about this product, sourced from the Product Library.                                                                                                                                                                                                                                                                                                                                                || Hotel/RequestFlags                 | These flags list which details the car park operator requires from the customer. If a flag is returned with a ‘Y’ your application should send the corresponding field/value in the booking request. Flags are only returned when required. The flags which can be returned are: `Registration`, `CarMake`, `CarModel`, `CarColour`, `OutFlight`, `ReturnFlight`, `OutTerminal`, `ReturnTerminal`, `Destination`, `MobileNum` || Hotel/Price                        | The price of product without any surcharges/fees added.                                                                                                                                                                                                                                                                                                                                                                           || Hotel/PriceWithSurcharge           | *NB: Please ignore this field - we no longer accept new agents sending payment details via our API.*                                                                                                                                                                                                                                                                                                                              || Hotel/Adults*                      | The maximum number of adults included in the room occupancy.                                                                                                                                                                                                                                                                                                                                                                      || Hotel/Children*                    | The maximum number of children included in the room occupancy.                                                                                                                                                                                                                                                                                                                                                                    || Hotel/RoomCode                     | *NB: Please ignore this field as it relates to internal systems.*                                                                                                                                                                                                                                                                                                                                                                 || Hotel/BoardBasis                   | *NB: Please ignore this field as it is no longer used and will be deprecated in future versions of the API.*                                                                                                                                                                                                                                                                                                                      || Hotel/ParkingDays                  | This returns the number of days parking available. NB: This may differ from the value requested, due to parking packages usually being set up in the system as either 4, 8 or 15 days.                                                                                                                                                                                                                                        || Hotel/NonDiscPrice                 | The non discounted price. Some agent codes apply a discount so we return this field to enable a comparison.                                                                                                                                                                                                                                                                                                                       || Hotel/CancellationFeeExceptions    | If the hotel has non-standard cancellation fees.                                                                                                                                                                                                                                                                                                                                                                                  || Hotel/AmendmentFeeExceptions       | If the hotel has non-standard amendment fees.                                                                                                                                                                                                                                                                                                                                                                                     || Hotel/noncancellable_nonrefundable | Is this hotel noncancellable or non-refundable?                                                                                                                                                                                                                                                                                                                                                                                   || Hotel/parking_includes_arrival     | If parking during the customer's hotel stay included in their parking package                                                                                                                                                                                                                                                                                                                                                     || Hotel/CarPark                      | If your request included car parking, this is the car park code.                                                                                                                                                                                                                                                                                                                                                                  || Hotel/Filter                       | *NB: Please ignore this field as it is for internal use only.*                                                                                                                                                                                                                                                                                                                                                                    || Hotel/lead_time_cancellation       | This is the number of days before the booking starts that the product will switch from flexible to non-flexible.                                                                                                                                                                                                                                                                                                                  || API_Header/Request                 | The API returns every parameter and value you sent in the previous request.                                                                                                                                                                                                                                                                                                                                                       | \\* Where two rooms have been requested, these fields represent the total of adults and children across all rooms. Additional fields will show the individual room occupancy:  `FirstRoomAdults`, `FirstRoomChildren`, `SecondRoomAdults` and `SecondRoomChildren`.## Key Information on HotelsPlease read this section through carefully, as it contains useful information about restrictions on how hotels must be sold.### Advance purchaseAdvance purchase products are non-refundable and non-cancellable. As a result, Cancellation Waiver must *not* be sold to customers purchasing a product with `advance_purchase` set to 1.### Day Use OnlyThere is a field in the product library for hotels, named `day_use_only`. Day use products must not be sold to customers wishing to have an overnight stay where `day_use_only` is set to 1.### Parking Includes ArrivalIn order to establish whether the package includes parking for the night of the hotel stay the `parking_includes_arrival` field needs to be taken into account.Where this field is set to 0, this means the night of the hotel stay is not included as there is free overnight parking. Parking stay will start from the following day. Where it is set to 1, this means that parking starts from the date the customer checks into the hotel.### Mystery / Un-named ProductsThere are some hotels in which the name field will not provide the name of the hotel e.g `Mystery 4-star hotel`.  The name of these hotels should not be provided to the customer until the booking is made, along with other identifying details such as address, hotel images, restaurant names etc.### Lead time cancellationFlexible bookings become non flexible within a certain timeframe before the stay date ie booking turns non flexible within 30 days of stay.Scenario 1* Flexible booking made outside 60 days of stay.* Cancellation policy - only able to canx up to 30 days before stay date.* Booking is non flex within 30 days of stay date.Scenario 2* Flexible booking made inside 60 days of stay date.* Cancellation policy - only able to canx up to 3 days before stay date.* Booking is non flex within 3 days of stay date.## Worked ExamplesBelow are worked examples of both the requests and responses for hotel availability.### UK Hotel Availability Request - Room Only (zero days parking)```https://api.holidayextras.co.uk/v1/hotel/LHR?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2017-12-01&Nights=1&RoomType=T21&ParkingDays=0```### UK Hotel Availability Response - Room Only (zero days parking)NB: This is a shortened example compiled from a full availability response.```xml            Mercure        LHRMEA        /v1/hotel/HPLHRMEA        /v1/product/LHRMEA                    1                45.00        45.90        2        1        TRL        RO        0        45.00        30        1        1        1                Thistle T5        LHRPAA        /v1/hotel/HPLHRPAA        /v1/product/LHRPAA                85.50        87.21        2        1        TRL        RO        0        85.50        30        1                    0                1                Hilton T5        LHRHLT        /v1/hotel/HPLHRHLT        /v1/product/LHRHLT                    1            1            1                99.00        100.98        2        1        TRL        RO        0        99.00                2.00        0.00        4.00        0.00        0.00        0.00        2.99                                YourABTANumber            YourPassword            YourKey            YourToken            2017-12-01            1            T21            0            1            ```### UK Hotel Availability Request - Room with Parking```https://api.holidayextras.co.uk/v1/hotel/LHR?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2017-12-01&Nights=1&RoomType=T21&ParkingDays=8```### UK Hotel Availability Response - Room with ParkingNB: This is a shortened example compiled from a full availability response.```xml            Mercure with Purple Parking Meet and Greet        LHRMPU        /v1/hotel/HPLHRMPU        /v1/product/LHRMPU                    1            1            1            1            1            1            1                129.00        131.58        2        1        TRL        RO        8        129.00        LHR5        LHR5                    1                        Thistle T5 with parking at the hotel and breakfast        LHRPAT        /v1/hotel/HPLHRPAT        /v1/product/LHRPAT                130.00        132.60        2        1        TRL        RO        8        130.00                    1            1            0                       Sheraton Skyline with parking at the hotel       LHRSKA       /v1/hotel/HPLHRSKA       /v1/product/LHRSKA              134.00       136.68       2       1       TRL       RO       8       134.00                  0                     2.00        0.00        4.00        0.00        0.00        0.00        2.99                                YourABTANumber            YourPassword            YourKey            YourToken            2017-12-01            1            T21            8            1            ```### European Hotel Availability Request - Room with Parking```https://api.holidayextras.co.uk/v1/hotel/MUC?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2017-12-01&Nights=1&RoomType=D20&ParkingDays=8&System=ABG&lang=de```### European Hotel Availability Response - Room with ParkingNB: This is a shortened example compiled from a full availability response.```xml            Schweigers Landgasthof        MUCLAN        /v1/hotel/FRMUCLAN        /v1/product/MUCLAN                120.00        NaN        2        0        DZ        F        15        120.00                Airporthotel Regent        MUCREG        /v1/hotel/FRMUCREG        /v1/product/MUCREG                97.00        NaN        2        0        DZ        F        15        97.00                  NH München Airport          MUCAST          /v1/hotel/FRMUCAST          /v1/product/MUCAST                    113.00          NaN          2          0          DZ          U          8          113.00                0.00        0.00        0.00                                TESTG            Redacted            mytestkey            generate            2017-12-01            1            D20            8            ABG            de            1            ```",
                                                                                                                                                    +        "url": "/hxapi/hotel/av/"
                                                                                                                                                    +      }
                                                                                                                                                    +      ,
                                                                                                                                                    +    
                                                                                                                                                    +      "hxapi-hotel": {
                                                                                                                                                    +        "title": "Hotels",
                                                                                                                                                    +        "content": "# Hotels[API Docs](/hxapi/) > product:[Hotels](index)## Hotel EndpointsHere are the hotel specific endpoints: | Action                                     | Endpoint                                                                         | Method | | ------                                     | --------                                                                         | ------ | | Availability at hotel      | [https://api.holidayextras.co.uk/v1/hotel/LocationCode](av)            | GET    | | Make booking at hotel      | [https://api.holidayextras.co.uk/v1/hotel/LocationCode](bkg)           | POST   | | Pre-booking price check  | [https://api.holidayextras.co.uk/v1/hotel/HotelProductCode/priceCheck](priceCheck) | GET    |Please note: All hotel requests include parking options of zero, 8 and 15 days parking. To make a request for a hotel only product, please select zero days parking.## Hotel User JourneyTo follow -",
                                                                                                                                                    +        "url": "/hxapi/hotel/"
                                                                                                                                                    +      }
                                                                                                                                                    +      ,
                                                                                                                                                    +    
                                                                                                                                                    +      "hxapi-viewamendcancel": {
                                                                                                                                                    +        "title": "Manage A Booking",
                                                                                                                                                    +        "content": "# Manage A Booking[API Docs](/hxapi/) > product:[viewamendcancel](index)## Manage A Booking EndpointsHere are the endpoints for managing a booking:| View booking | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](view) | GET || Amend booking - Simple | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](amend_simple) | POST || Amend booking - Complex | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](amend_complex) | POST || Cancel booking | [https://api.holidayextras.co.uk/v1/booking/YourBookingRef](cancel) | POST |## Manage A Booking Top TipsThe three methods provided will enable your customers via your integration to manage their own booking online.### Amending a bookingWe allow both simple and complex amends:- A ***simple amend*** is where the booking details are updated, without affecting the price. This is also known as an \"amend no re-price\". For example, adding a car registration number to a parking booking.- A ***complex amend*** is where the booking details are updated and this does affect the price. This is also known as an \"amend re-price\". For example, changing the date of a booking.",
                                                                                                                                                    +        "url": "/hxapi/viewamendcancel/"
                                                                                                                                                    +      }
                                                                                                                                                    +      ,
                                                                                                                                                    +    
                                                                                                                                                    +      "hxapi-insurance": {
                                                                                                                                                    +        "title": "Insurance",
                                                                                                                                                    +        "content": "# Insurance[API Docs](/hxapi/) > product:[Insurance](index)## Insurance Endpoints | Request | Endpoint | Method | | ------- | -------- | ------ | | List all regions and / or countries | [https://api.holidayextras.co.uk/v1/insurancecountries](countries) | GET | | Request insurance schemes available | [https://api.holidayextras.co.uk/v1/insurancepolicy/RegionCode](availability) | GET | | Request options for insurance scheme | [https://api.holidayextras.co.uk/v1/insurancepolicy/SchemeCode](options) | GET | | Create insurance policy | [https://api.holidayextras.co.uk/v1/insurancepolicy/CertificateRef](createpolicy) | POST |## Insurance User JourneyBelow is a diagram detailing how the endpoints can be used to create an insurance user journey. More information on each endpoint can be found in the detailed guides listed above.![Insurance Workflow](https://github.com/holidayextras/partner-api-docs/raw/master/site/hxapi/insurance/workflow.png)",
                                                                                                                                                    +        "url": "/hxapi/insurance/"
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                           "hxapi-fasttrack-av": {
                                                                                                                                                             "title": "Availability At FastTrack",
                                                                                                                                                    -        "content": "# Availability At FastTrack## FastTrack Availability Request### MethodGET### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/fasttrack/AirportCode```For example, for fasttrack availability at Manchester the endpoint is:```https://api.holidayextras.co.uk/v1/fasttrack/MAN```To find the airport locations available for fasttrack, please refer to the [locations endpoint.](/hxapi/locations)### Request ParametersNB: All parameter names are case sensitive.| Name        | Data Type | Format           | Mandatory? | Additional Information                                                                                                                                                                                                                                                                                                                        ||-------------|-----------|------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber  | String    | [A-Z0-9] 5 chars | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                               || Password    | String    | [A-Z0-9] 5 chars | Y*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                               || Initials    | String    | [A-Z] 3 chars    | N          | The initials of the Operator / Agent.                                                                                                                                                                                                                                                                                                         || key         | String    | [A-Z]            | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                                                                           || token       | String    | [0-9] 9 chars    | Y          | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token.                                                                                                                                                                                                                                                    || ArrivalDate | Date      | YYYY-MM-DD       | Y          | Date customer enters the fasttrack.                                                                                                                                                                                                                                                                                                           || ArrivalTime | Time      | HHMM             | Y          | Time customer enters the fasttrack.                                                                                                                                                                                                                                                                                                           || Adults      | Integer   | [0-4] 1 char     | Y          | Number of adults requiring entry to the fasttrack.                                                                                                                                                                                                                                                                                            || Children    | Integer   | [0-3] 1 char     | N          | Number of children requiring entry to the fasttrack.                                                                                                                                                                                                                                                                                          || OutFlight   | String    | [A-Z0-9] 9 chars | N          | This is also known as an 'flight number'. Used to establish which terminal the customer is flying from using our look up tool and return products specific to that terminal.                                                                                                                                                              || Terminal    | String    | [A-Z1-9] 1 char  | N          | An optional field when requesting hotel and parking that will filter the availble results to those that serve the given terminal. Terminal options can be found using the [Terminal](/hxapi/terminal) request, where the name of the terminal is a word only the first character is needed for this request ( eg. N for the North terminal ). |## FastTrack Availability ResponseThe fasttrack availability response will return the specific product requested, so long as it has availability on the specific dates and times. A summary of the request received can be found in the header field at the end of the response.For a detailed explanation of the fields returned, please see below:| Field                      | Additional Information                                                                                      ||----------------------------|-------------------------------------------------------------------------------------------------------------|| FastTrack/Name             | The name of the fasttrack.                                                                                  || FastTrack/Code             | The product code for the fasttrack, which must be used in the booking request.                              || FastTrack/BookingURL       | The URL to POST the booking request to for this particular product.                                         || FastTrack/MoreInfoURL      | The link to more information about this product, sourced from the Product Library.                          || FastTrack/Price            | The price of product _without_ any surcharges/fees added.                                                   || FastTrack/NonDiscPrice     | The non discounted price. Some agent codes apply a discount so we return this field to enable a comparison. || FastTrack/SalesCurrency    | Three character identifier for the sale currency to qualify the price                                       || FastTrack/Images/Src       | Link to a image for the product. Prepend with `https:`                                                      || FastTrack/Description      | Product description                                                                                         || FastTrack/Logo             | Link to a logo for the product. Prepend with `https:`                                                       || FastTrack/ExtraInformation | Extended description of the product                                                                         || IsRefundable               | Whether the product can be refunded                                                                         || AirportLocation            | The location code for the product airport                                                                   || Terminal                   | The airport terminal of the product                                                                         |## Worked ExamplesBelow are worked examples of both the request and response for availability at an airport.### UK Products Availability Request```https://api.holidayextras.co.uk/v1/fasttrack/MAN/?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2019-10-22&ArrivalTime=1200&Adults=2&Children=0```### UK Products Availability Response ```xml      FastTrack Terminal 1    APMANSF1    /v1/fastTrack/APMANSF1    /v1/product/MANSF1    10.00    GBP          //d1xcii4rs5n6co.cloudfront.net/libraryimages/85558-manchester-airport-security-fasttrack-T1.png                                                          Short on time? Take the fast track through security and you’ll fly through.    //d1xcii4rs5n6co.cloudfront.net/libraryimages/81386-MAN-fasttrack-core.png          What is it?     The Security FastTrack pass gives you access to the priority lane at the airport’s security checks. You’ll whizz past the standard queue, giving you more time to relax in departures before your flight.       Once you book we’ll email you the passes, so make sure you print them and take them with you, or have them ready on your mobile phone. There’ll be a voucher each with a barcode, which you’ll need to scan at the entrance before you go through.      When can I use it?     Available 2.30am - 11pm.      Is it the same price for children?     Yes, the pass is £5 per person.     The small print:     You won't need this service if you have mobility issues or small children with pushchairs as there's already a dedicated lane.     Jet 2 passengers who have purchased FastTrack tickets must use the security lanes located on Departure level 5, in Terminal 1.      Security FastTrack tickets can only be used once for the date you have booked.      If you have booked more than one ticket the vouchers will all be in the lead passenger’s name.     All FastTrack's terms and conditions will apply to you, so please read them here.                      0        0        0        0        1000                    0        0        0        0        1000                    MAN      Manchester      airport              1        1                    2        2                    3        3              1    //d1xcii4rs5n6co.cloudfront.net/libraryimages/fasttrack.jpg          With this special, VIP pass through security, you could be the first through the gate. We'll give you one voucher for all passengers, so make sure you hold the square, patterned barcode on your own voucher under the special camera at the entrance before you go through. You’ll then need to do the same with your boarding pass.  You can only use the Fast Track once, on the day you’ve booked. Even though Fast Track customers get their own lane through security, all the normal airport security rules will still apply. Since the airport already has its own special lanes for customers with mobility issues or those with small children, they won't need to use this service.      Jet 2 customers who have purchased Fast Track tickets must use the security lanes located on Departure level 5 in Terminal 1.        Please ensure you have read the Airport's Terms and Conditions.        Manchester    1    10.00    1        FastTrack Terminal 2    APMANSF2    /v1/fastTrack/APMANSF2    /v1/product/MANSF2    10.00    GBP          //d1xcii4rs5n6co.cloudfront.net/libraryimages/85558-manchester-airport-security-fasttrack-T2.png                                                          Short on time? Take the fast track through security and you’ll fly through.    //d1xcii4rs5n6co.cloudfront.net/libraryimages/81386-MAN-fasttrack-core.png    <h2> What is it?</h2> <p>The Security FastTrack pass gives you access to the priority lane at the airport’s security checks. You’ll whizz past the standard queue, giving you more time to relax in departures before your flight. </p> <p> Once you book we’ll email you the passes, so make sure you print them and take them with you. There’ll be a voucher each with a barcode, which you’ll need to scan at the entrance before you go through. </p> <h2>When can I use it?</h2> <p>Available 2.30am - 11pm.</p> <h2> Is it the same price for children?</h2> <p>Yes, the pass is £5 per person.</p> <h2>The small print:</h2> <p>You won't need this service if you have mobility issues or small children with pushchairs as there's already a dedicated lane.</p><p>Security FastTrack tickets can only be used once for the date you have booked.</p> <p> If you have booked more than one ticket the vouchers will all be in the lead passenger’s name.</p> <p>All FastTrack's terms and conditions will apply to you, so please read them <a href=\"http://www.manchesterairport.co.uk/terms-and-conditions/fasttrack/\" target=\"_blank\">here.</a></p>                  0        0        0        0        1000                    0        0        0        0        1000                    MAN      Manchester      airport              1        1                    2        2                    3        3              1    //d1xcii4rs5n6co.cloudfront.net/libraryimages/fasttrack.jpg          With this special, VIP pass through security, you could be the first through the gate. We'll give you one voucher for all passengers, so make sure you hold the square, patterned barcode on your own voucher under the special camera at the entrance before you go through. You’ll then need to do the same with your boarding pass.  You can only use the Fast Track once, on the day you’ve booked. Even though Fast Track customers get their own lane through security, all the normal airport security rules will still apply. Since the airport already has its own special lanes for customers with mobility issues or those with small children, they won't need to use this service.      Jet 2 customers who have purchased Fast Track tickets must use the security lanes located on Departure level 5 in Terminal 1.        Please ensure you have read the Airport's Terms and Conditions.        Manchester    2    10.00    1        FastTrack Terminal 3    APMANSF3    /v1/fastTrack/APMANSF3    /v1/product/MANSF3    10.00    GBP          //d1xcii4rs5n6co.cloudfront.net/libraryimages/85558-manchester-airport-security-fasttrack-T3.png                                                          Short on time? Take the fast track through security and you’ll fly through.    //d1xcii4rs5n6co.cloudfront.net/libraryimages/81386-MAN-fasttrack-core.png    <h2> What is it?</h2> <p>The Security FastTrack pass gives you access to the priority lane at the airport’s security checks. You’ll whizz past the standard queue, giving you more time to relax in departures before your flight. </p> <p> Once you book we’ll email you the passes, so make sure you print them and take them with you. There’ll be a voucher each with a barcode, which you’ll need to scan at the entrance before you go through. </p> <h2>When can I use it?</h2> <p>Available 2.30am - 11pm.</p> <h2> Is it the same price for children?</h2> <p>Yes, the pass is £5 per person.</p> <h2>The small print:</h2> <p>You won't need this service if you have mobility issues or small children with pushchairs as there's already a dedicated lane.</p> <p>Security FastTrack tickets can only be used once for the date you have booked.</p> <p> If you have booked more than one ticket the vouchers will all be in the lead passenger’s name.</p> <p>All FastTrack's terms and conditions will apply to you, so please read them <a href=\"http://www.manchesterairport.co.uk/terms-and-conditions/fasttrack/\" target=\"_blank\">here.</a></p>                  0        0        0        0        1000                    0        0        0        0        1000                    MAN      Manchester      airport              1        1                    2        2                    3        3              1    //d1xcii4rs5n6co.cloudfront.net/libraryimages/fasttrack.jpg          With this special, VIP pass through security, you could be the first through the gate. We'll give you one voucher for all passengers, so make sure you hold the square, patterned barcode on your own voucher under the special camera at the entrance before you go through. You’ll then need to do the same with your boarding pass.  You can only use the Fast Track once, on the day you’ve booked. Even though Fast Track customers get their own lane through security, all the normal airport security rules will still apply. Since the airport already has its own special lanes for customers with mobility issues or those with small children, they won't need to use this service.      Jet 2 customers who have purchased Fast Track tickets must use the security lanes located on Departure level 5 in Terminal 1.        Please ensure you have read the Airport's Terms and Conditions.        Manchester    3    10.00    1        0.00    0.00    0.00    0.00    0.00    0.00                TESTX      Redacted      partnerapitest      generate      2019-10-22      1200      0      2      1      ```",
                                                                                                                                                    +        "content": "# Availability At FastTrack## FastTrack Availability Request### MethodGET### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/fasttrack/AirportCode```For example, for fasttrack availability at Manchester the endpoint is:```https://api.holidayextras.co.uk/v1/fasttrack/MAN```Available locations for the FastTrack product are| IATA | Location Name   ||------|-----------------|| BOH  | Bournemouth     || BRS  | Bristol         || EDI  | Edinburgh       || EMA  | East Midlands   || LPL  | Liverpool       || LBA  | Leeds Bradford  || MAN  | Manchester      || NCL  | Newcastle       || STN  | Stansted        |### Request ParametersNB: All parameter names are case sensitive.| Name        | Data Type | Format           | Mandatory? | Additional Information                                                                                                                                                                                                                                                                                                                        ||-------------|-----------|------------------|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber  | String    | [A-Z0-9] 5 chars | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                               || Password    | String    | [A-Z0-9] 5 chars | Y*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                               || Initials    | String    | [A-Z] 3 chars    | N          | The initials of the Operator / Agent.                                                                                                                                                                                                                                                                                                         || key         | String    | [A-Z]            | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                                                                           || token       | String    | [0-9] 9 chars    | Y          | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token.                                                                                                                                                                                                                                                    || ArrivalDate | Date      | YYYY-MM-DD       | Y          | Date customer enters the fasttrack.                                                                                                                                                                                                                                                                                                           || ArrivalTime | Time      | HHMM             | Y          | Time customer enters the fasttrack.                                                                                                                                                                                                                                                                                                           || Adults      | Integer   | [0-4] 1 char     | Y          | Number of adults requiring entry to the fasttrack.                                                                                                                                                                                                                                                                                            || Children    | Integer   | [0-3] 1 char     | N          | Number of children requiring entry to the fasttrack.                                                                                                                                                                                                                                                                                          || OutFlight   | String    | [A-Z0-9] 9 chars | N          | This is also known as an 'flight number'. Used to establish which terminal the customer is flying from using our look up tool and return products specific to that terminal.                                                                                                                                                              || Terminal    | String    | [A-Z1-9] 1 char  | N          | An optional field when requesting hotel and parking that will filter the availble results to those that serve the given terminal. Terminal options can be found using the [Terminal](/hxapi/terminal) request, where the name of the terminal is a word only the first character is needed for this request ( eg. N for the North terminal ). |## FastTrack Availability ResponseThe fasttrack availability response will return the specific product requested, so long as it has availability on the specific dates and times. A summary of the request received can be found in the header field at the end of the response.For a detailed explanation of the fields returned, please see below:| Field                      | Additional Information                                                                                      ||----------------------------|-------------------------------------------------------------------------------------------------------------|| FastTrack/Name             | The name of the fasttrack.                                                                                  || FastTrack/Code             | The product code for the fasttrack, which must be used in the booking request.                              || FastTrack/BookingURL       | The URL to POST the booking request to for this particular product.                                         || FastTrack/MoreInfoURL      | The link to more information about this product, sourced from the Product Library.                          || FastTrack/Price            | The price of product _without_ any surcharges/fees added.                                                   || FastTrack/NonDiscPrice     | The non discounted price. Some agent codes apply a discount so we return this field to enable a comparison. || FastTrack/SalesCurrency    | Three character identifier for the sale currency to qualify the price                                       || FastTrack/Images/Src       | Link to a image for the product. Prepend with `https:`                                                      || FastTrack/Description      | Product description                                                                                         || FastTrack/Logo             | Link to a logo for the product. Prepend with `https:`                                                       || FastTrack/ExtraInformation | Extended description of the product                                                                         || IsRefundable               | Whether the product can be refunded                                                                         || AirportLocation            | The location code for the product airport                                                                   || Terminal                   | The airport terminal of the product                                                                         |## Worked ExamplesBelow are worked examples of both the request and response for availability at an airport.### UK Products Availability Request```https://api.holidayextras.co.uk/v1/fasttrack/MAN/?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2019-10-22&ArrivalTime=1200&Adults=2&Children=0```### UK Products Availability Response ```xml      FastTrack Terminal 1    APMANSF1    /v1/fastTrack/APMANSF1    /v1/product/MANSF1    10.00    GBP          //d1xcii4rs5n6co.cloudfront.net/libraryimages/85558-manchester-airport-security-fasttrack-T1.png                                                          Short on time? Take the fast track through security and you’ll fly through.    //d1xcii4rs5n6co.cloudfront.net/libraryimages/81386-MAN-fasttrack-core.png          What is it?     The Security FastTrack pass gives you access to the priority lane at the airport’s security checks. You’ll whizz past the standard queue, giving you more time to relax in departures before your flight.       Once you book we’ll email you the passes, so make sure you print them and take them with you, or have them ready on your mobile phone. There’ll be a voucher each with a barcode, which you’ll need to scan at the entrance before you go through.      When can I use it?     Available 2.30am - 11pm.      Is it the same price for children?     Yes, the pass is £5 per person.     The small print:     You won't need this service if you have mobility issues or small children with pushchairs as there's already a dedicated lane.     Jet 2 passengers who have purchased FastTrack tickets must use the security lanes located on Departure level 5, in Terminal 1.      Security FastTrack tickets can only be used once for the date you have booked.      If you have booked more than one ticket the vouchers will all be in the lead passenger’s name.     All FastTrack's terms and conditions will apply to you, so please read them here.                      0        0        0        0        1000                    0        0        0        0        1000                    MAN      Manchester      airport              1        1                    2        2                    3        3              1    //d1xcii4rs5n6co.cloudfront.net/libraryimages/fasttrack.jpg          With this special, VIP pass through security, you could be the first through the gate. We'll give you one voucher for all passengers, so make sure you hold the square, patterned barcode on your own voucher under the special camera at the entrance before you go through. You’ll then need to do the same with your boarding pass.  You can only use the Fast Track once, on the day you’ve booked. Even though Fast Track customers get their own lane through security, all the normal airport security rules will still apply. Since the airport already has its own special lanes for customers with mobility issues or those with small children, they won't need to use this service.      Jet 2 customers who have purchased Fast Track tickets must use the security lanes located on Departure level 5 in Terminal 1.        Please ensure you have read the Airport's Terms and Conditions.        Manchester    1    10.00    1        FastTrack Terminal 2    APMANSF2    /v1/fastTrack/APMANSF2    /v1/product/MANSF2    10.00    GBP          //d1xcii4rs5n6co.cloudfront.net/libraryimages/85558-manchester-airport-security-fasttrack-T2.png                                                          Short on time? Take the fast track through security and you’ll fly through.    //d1xcii4rs5n6co.cloudfront.net/libraryimages/81386-MAN-fasttrack-core.png    <h2> What is it?</h2> <p>The Security FastTrack pass gives you access to the priority lane at the airport’s security checks. You’ll whizz past the standard queue, giving you more time to relax in departures before your flight. </p> <p> Once you book we’ll email you the passes, so make sure you print them and take them with you. There’ll be a voucher each with a barcode, which you’ll need to scan at the entrance before you go through. </p> <h2>When can I use it?</h2> <p>Available 2.30am - 11pm.</p> <h2> Is it the same price for children?</h2> <p>Yes, the pass is £5 per person.</p> <h2>The small print:</h2> <p>You won't need this service if you have mobility issues or small children with pushchairs as there's already a dedicated lane.</p><p>Security FastTrack tickets can only be used once for the date you have booked.</p> <p> If you have booked more than one ticket the vouchers will all be in the lead passenger’s name.</p> <p>All FastTrack's terms and conditions will apply to you, so please read them <a href=\"http://www.manchesterairport.co.uk/terms-and-conditions/fasttrack/\" target=\"_blank\">here.</a></p>                  0        0        0        0        1000                    0        0        0        0        1000                    MAN      Manchester      airport              1        1                    2        2                    3        3              1    //d1xcii4rs5n6co.cloudfront.net/libraryimages/fasttrack.jpg          With this special, VIP pass through security, you could be the first through the gate. We'll give you one voucher for all passengers, so make sure you hold the square, patterned barcode on your own voucher under the special camera at the entrance before you go through. You’ll then need to do the same with your boarding pass.  You can only use the Fast Track once, on the day you’ve booked. Even though Fast Track customers get their own lane through security, all the normal airport security rules will still apply. Since the airport already has its own special lanes for customers with mobility issues or those with small children, they won't need to use this service.      Jet 2 customers who have purchased Fast Track tickets must use the security lanes located on Departure level 5 in Terminal 1.        Please ensure you have read the Airport's Terms and Conditions.        Manchester    2    10.00    1        FastTrack Terminal 3    APMANSF3    /v1/fastTrack/APMANSF3    /v1/product/MANSF3    10.00    GBP          //d1xcii4rs5n6co.cloudfront.net/libraryimages/85558-manchester-airport-security-fasttrack-T3.png                                                          Short on time? Take the fast track through security and you’ll fly through.    //d1xcii4rs5n6co.cloudfront.net/libraryimages/81386-MAN-fasttrack-core.png    <h2> What is it?</h2> <p>The Security FastTrack pass gives you access to the priority lane at the airport’s security checks. You’ll whizz past the standard queue, giving you more time to relax in departures before your flight. </p> <p> Once you book we’ll email you the passes, so make sure you print them and take them with you. There’ll be a voucher each with a barcode, which you’ll need to scan at the entrance before you go through. </p> <h2>When can I use it?</h2> <p>Available 2.30am - 11pm.</p> <h2> Is it the same price for children?</h2> <p>Yes, the pass is £5 per person.</p> <h2>The small print:</h2> <p>You won't need this service if you have mobility issues or small children with pushchairs as there's already a dedicated lane.</p> <p>Security FastTrack tickets can only be used once for the date you have booked.</p> <p> If you have booked more than one ticket the vouchers will all be in the lead passenger’s name.</p> <p>All FastTrack's terms and conditions will apply to you, so please read them <a href=\"http://www.manchesterairport.co.uk/terms-and-conditions/fasttrack/\" target=\"_blank\">here.</a></p>                  0        0        0        0        1000                    0        0        0        0        1000                    MAN      Manchester      airport              1        1                    2        2                    3        3              1    //d1xcii4rs5n6co.cloudfront.net/libraryimages/fasttrack.jpg          With this special, VIP pass through security, you could be the first through the gate. We'll give you one voucher for all passengers, so make sure you hold the square, patterned barcode on your own voucher under the special camera at the entrance before you go through. You’ll then need to do the same with your boarding pass.  You can only use the Fast Track once, on the day you’ve booked. Even though Fast Track customers get their own lane through security, all the normal airport security rules will still apply. Since the airport already has its own special lanes for customers with mobility issues or those with small children, they won't need to use this service.      Jet 2 customers who have purchased Fast Track tickets must use the security lanes located on Departure level 5 in Terminal 1.        Please ensure you have read the Airport's Terms and Conditions.        Manchester    3    10.00    1        0.00    0.00    0.00    0.00    0.00    0.00                TESTX      Redacted      partnerapitest      generate      2019-10-22      1200      0      2      1      ```",
                                                                                                                                                             "url": "/hxapi/fasttrack/av/"
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                    @@ -324,13 +331,6 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-productlibrary": {
                                                                                                                                                    -        "title": "Product Library",
                                                                                                                                                    -        "content": "# Product LibraryThe data returned from a Product Library request depends on the type of product you ask for. A request for a car park returns different fields than a request for a hotel.By default, only fields that contain a value are returned.You can specify the fields you want returned. Simply add the parameter fields and specify the field names. An error/warning element will be returned for any fields which do not exist, but the request will still return those elements for which there is a value. If you request a valid field, but there is no value, it will not be returned.The purpose of most of the fields should be self-explanatory. If there is anything you do not understand, please email . There are no guarantees about the types of data returned, you should make no assumptions about a specific field being an integer etc.Data returned should not be cached locally for periods of time greater than one day (24 hours).### URL/product/{productCode}### MethodGET### Parameters| Name   | Format | Required ||--------|--------|----------|| token  | String | N        || key    | String | Y        || fields | String | N        |## Available FieldsThe available fields vary by product type. For each product type there is a recommended list of fields which should be requested to get the information required to effectively sell the product.{% codetabs %}{% codetab Parking %}{% include_relative _parkingFields.md %}{% endcodetab %}{% codetab Hotel room only %}{% include_relative _hotelOnlyFields.md %}{% endcodetab %}{% codetab Hotel with parking %}{% include_relative _hotelParkingFields.md %}{% endcodetab %}{% codetab Lounge %}{% include_relative _loungeFields.md %}{% endcodetab %}{% codetab Fast track %}{% include_relative _fastTrackFields.md %}{% endcodetab %}{% endcodetabs %}---## Examples### Example 1 - Default Response#### Request{% codetabs %}{% codetab Live (XML) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite?token=000015778&key=mytestkey```{% endcodetab %}{% codetab Live (JSON) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite.js?token=000015778&key=mytestkey```Note the `.js` extension.{% endcodetab %}{% codetab Sandbox (XML) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite?token=000015778&key=mytestkey```{% endcodetab %}{% codetab Sandbox (JSON) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite.js?token=000015778&key=mytestkey```Note the `.js` extension.{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative _examples/parking_reply_1.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative _examples/parking_reply_1.json %}```{% endcodetab %}{% endcodetabs %}---### Example 2 - Restricted field list#### Request{% codetabs %}{% codetab Live (XML) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite?token=000015778&key=mytestkey&fields=name,longitude,latitude```{% endcodetab %}{% codetab Live (JSON) %}```https://api.holidayextras.co.uk/v1/product/LGW4/lite.js?token=000015778&key=mytestkey&fields=name,longitude,latitude```Note the `.js` extension.{% endcodetab %}{% codetab Sandbox (XML) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite?token=000015778&key=mytestkey&fields=name,longitude,latitude```{% endcodetab %}{% codetab Sandbox (JSON) %}```https://api.holidayextras.co.uk/sandbox/v1/product/LGW4/lite.js?token=000015778&key=mytestkey&fields=name,longitude,latitude```Note the `.js` extension.{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative _examples/parking_reply_2.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative _examples/parking_reply_2.json %}```{% endcodetab %}{% endcodetabs %}---### Example 3 - German Parking Request#### RequestRequests for German products return a different set of fields. Explanation of fields not currently available.{% codetabs %}{% codetab Live (XML) %}```https://api.holidayextras.co.uk/v1/product/FRA0?key=mytestkey```{% endcodetab %}{% codetab Live (JSON) %}```https://api.holidayextras.co.uk/v1/product/FRA0.js?key=mytestkey```Note the `.js` extension.{% endcodetab %}{% codetab Sandbox (XML) %}```https://api.holidayextras.co.uk/sandbox/v1/product/FRA0?key=mytestkey```{% endcodetab %}{% codetab Sandbox (JSON) %}```https://api.holidayextras.co.uk/sandbox/v1/product/FRA0.js?key=mytestkey```Note the `.js` extension.{% endcodetab %}{% endcodetabs %}#### Response{% codetabs %}{% codetab XML %}```xml{% include_relative _examples/parking_reply_3.xml %}```{% endcodetab %}{% codetab JSON %}```json{% include_relative _examples/parking_reply_3.json %}```{% endcodetab %}{% endcodetabs %}",
                                                                                                                                                    -        "url": "/hxapi/productlibrary/"
                                                                                                                                                    -      }
                                                                                                                                                    -      ,
                                                                                                                                                    -    
                                                                                                                                                           "hxapi-de-start": {
                                                                                                                                                             "title": "DE-Start",
                                                                                                                                                             "content": "# DE-StartThis documentation relates to an existing partner integration - it is NOT to be used or considered for any new partner integrations. The documentation relates to parking products only.## DE-Start EndpointsHere are the DE-Start specific endpoints: | Request | Endpoint | Method | | ------ | -------- | ------ | | Availability at airport  | [https://api.holidayextras.co.uk/de-start/v1/carpark/AirportCode](/hxapi/de-start/airport)| GET    | | Booking at car park | [https://api.holidayextras.co.uk/de-start/v1/carpark/CarParkCode](/hxapi/de-start/bkg)| POST   | | Cancel booking | [https://api.holidayextras.co.uk/de-start/v1/booking/YourBookingRef](/hxapi/de-start/cancel)| GET / POST   |",
                                                                                                                                                    @@ -403,7 +403,7 @@
                                                                                                                                                         
                                                                                                                                                           "hxapi-locations": {
                                                                                                                                                             "title": "Locations Request",
                                                                                                                                                    -        "content": "## Locations RequestAll available locations can be requested by specific product type, e.g. car parking. ### MethodGET### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/location```### Request ParametersNB: All parameter names are case sensitive. | Name        | Data Type    | Format | Mandatory? | Additional Information | | ----        | ----    | ------ | -------- | ---------------------- | | key         | String  | [A-Z]                                  | Y        | This will be assigned to you by your Account Manager during set up.| | token       | String  | [0-9] 9 chars                         | Y        | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token. |  Product and market specific parameters:  | Market | Product | Parameters             |  |--------|---------|------------------------| | UK     | Parking | type=1                 | | UK     | Hotels  | type=2                 | | UK     | Lounges | type=3                 | | EU     | Parking | type=carpark&system=de | | EU     | Hotels  | type=hotel&system=de   | | EU     | Lounges | type=lounge&system=de  |  ## Hotel Availability ResponseFor a detailed explanation of the fields returned, please see below: | Field                | Additional Information | |----------------------|------------------------| | Code | Location code to be used in the product specific request. | | Name | Location name. | | MoreInfoURL |  Link to the location entry in product library - this URL can be called to retrieve content relating to that location. | | Type | Type of location. | | API_Header/Request | The API returns every parameter and value you sent in the previous request.  |## Worked ExamplesBelow are worked examples of both the requests and responses for locations.### UK Parking Location Request```https://api.holidayextras.co.uk/v1/location?key=YourKey&token=YourToken&type=1```### UK Parking Location ResponseNB: This is a shortened example compiled from a full UK parking location response.```xml            ABZ        Aberdeen        /v1/product/ABZ        airport                BFS        Belfast International        /v1/product/BFS        airport                BHD        Belfast City (George Best)        /v1/product/BHD        airport                         YourABTANumber            YourPassword            YourKey            YourToken            1            mytestkey            1            ```### EU Hotel Location Request```https://api.holidayextras.co.uk/v1/location?key=YourKey&token=YourToken&type=hotel&system=de```### EU Hotel Location ResponseNB: This is a shortened example compiled from a full EU hotel location response.```xml            AMS        Amsterdam (Schiphol)        /v1/product/AMS        german_airport                BER        Berlin Brandenburg        /v1/product/BER        german_airport                BGY        Bergamo        /v1/product/BGY        german_airport                         YourKey            YourToken            hotel            de            1            ```",
                                                                                                                                                    +        "content": "## Locations RequestAll available locations can be requested by specific product type, e.g. car parking. ### MethodGET### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/location```### Request ParametersNB: All parameter names are case sensitive. | Name        | Data Type    | Format | Mandatory? | Additional Information | | ----        | ----    | ------ | -------- | ---------------------- | | key         | String  | [A-Z]                                  | Y        | This will be assigned to you by your Account Manager during set up.| | token       | String  | [0-9] 9 chars                         | Y        | Please see [user token endpoint](/hxapi/usertoken) for details of how to generate a token. |  Product and market specific parameters:  | Market | Product | Parameters             |  |--------|---------|------------------------| | UK     | Parking | type=1                 | | UK     | Hotels  | type=2                 | | UK     | Lounges | type=3                 | | EU     | Parking | type=carpark&system=de | | EU     | Hotels  | type=hotel&system=de   | | EU     | Lounges | type=lounge&system=de  |  ## Locations ResponseFor a detailed explanation of the fields returned, please see below: | Field                | Additional Information | |----------------------|------------------------| | Code | Location code to be used in the product specific request. | | Name | Location name. | | MoreInfoURL |  Link to the location entry in product library - this URL can be called to retrieve content relating to that location. | | Type | Type of location. | | API_Header/Request | The API returns every parameter and value you sent in the previous request.  |## Worked ExamplesBelow are worked examples of both the requests and responses for locations.### UK Parking Location Request```https://api.holidayextras.co.uk/v1/location?key=YourKey&token=YourToken&type=1```### UK Parking Location ResponseNB: This is a shortened example compiled from a full UK parking location response.```xml            ABZ        Aberdeen        /v1/product/ABZ        airport                BFS        Belfast International        /v1/product/BFS        airport                BHD        Belfast City (George Best)        /v1/product/BHD        airport                         YourABTANumber            YourPassword            YourKey            YourToken            1            mytestkey            1            ```### EU Hotel Location Request```https://api.holidayextras.co.uk/v1/location?key=YourKey&token=YourToken&type=hotel&system=de```### EU Hotel Location ResponseNB: This is a shortened example compiled from a full EU hotel location response.```xml            AMS        Amsterdam (Schiphol)        /v1/product/AMS        german_airport                BER        Berlin Brandenburg        /v1/product/BER        german_airport                BGY        Bergamo        /v1/product/BGY        german_airport                         YourKey            YourToken            hotel            de            1            ```",
                                                                                                                                                             "url": "/hxapi/locations/"
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                    @@ -450,13 +450,6 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    -      "hxapi-hotel-pricecheck": {
                                                                                                                                                    -        "title": "Hotel Price Check",
                                                                                                                                                    -        "content": "# Hotel Price CheckThe price check is an optional step to retrieve an up-to-date total price prior to booking.The parameters are similar to the Book request; the total price retrieved will include all ugprades specified.## MethodGET## EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/hotel/HotelProductCode/priceCheck```For example, for _Mercure at London Heathrow_ the endpoint is:```https://api.holidayextras.co.uk/v1/hotel/LHRMEA/priceCheck```## Request ParametersNB: All parameter names are case sensitive.| Name                   | Data Type | Format             | Mandatory? | Additional Information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ||------------------------|-----------|--------------------|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber             | String    | [A-Z0-9] 5 chars   | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                                                                              || Password               | String    | [A-Z0-9] 5 chars   | N*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                              || Initials               | String    | [A-Z] 3 chars      | N          | The initials of the Operator / Agent.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        || key                    | String    | [A-Z]              | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                                                                                                                          || token                  | String    | [0-9] 9 chars      | Y          | This is the same token used in the availability request.                                                                                                                                                                                                                                                                                                                                                                                                                                                     || ArrivalDate            | Date      | YYYY-MM-DD         | Y          | Date customer arrives at hotel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              || Nights                 | Integer   | 1, 2, 3, etc       | Y          | Number of nights the customer wants to stay in the hotel. NB: For European products it is only possible to book one night stays.                                                                                                                                                                                                                                                                                                                                                                             || RoomCode               | String    | [A-Z0-9] 3 chars   | Y          | See [RoomCodes](/hxapi/types/roomcode) for a list of valid codes.                                                                                                                                                                                                                                                                                                                                                                                                                                            || Adults                 | Integer   | [1-5] 1 char       | Y          | The number of adults occupying the room.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     || Children               | Integer   | [0-4] 1 char       | Y          | The number of children occupying the room.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   || ParkingDays            | Integer   | [0-9] 2 chars      | Y          | NB: The maximum duration accepted for ParkingDays is 30.                                                                                                                                                                                                                                                                                                                                                                                                                                                     || CustomerRef            | String    | [A-Z0-9] 20 chars  | N          | Enter your Customer Reference to help match bookings for accounting purposes.                                                                                                                                                                                                                                                                                                                                                                                                                                || Remarks                | String    | [A-Z0-9] 60 chars  | N          | Pass in Remarks for notification such as COT REQUESTED in ROOM                                                                                                                                                                                                                                                                                                                                                                                                                                               || Waiver                 | Boolean   | [0,1]              | Y          | Defaults to 0 if not supplied.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               || DataProtection         | String    | [Y,N]              | N          | Does the customer consent to receiving offers from Holiday Extras? Y = Yes, will receive offers, N = No, customer data is protected. Defaults to No if not supplied.                                                                                                                                                                                                                                                                                                                                         || System                 | String    | [A-Z] 3 chars      | Y*         | For European products, you need to pass in the value of `System=ABG` (the default is `System=ABC`, which is UK products only).                                                                                                                                                                                                                                                                                                                                                                               || lang                   | String    | [A-Z] 2 chars      | Y*         | Required for requests for European products. (Values available are `en`, `de`, `it`, `es`, `pt` and `nl`.)                                                                                                                                                                                                                                                                                                                                                                                                   |{% include _booking_request_supplement_params.md %}For further details on the upgrade parameters, see the [Booking request](/hxapi/hotel/bkg).## Multiple rooms on same bookingThe additional parameters for including a second room are:| Name               | Data Type | Format                              | Mandatory? | Additional Information                                                                                                                                ||--------------------|-----------|-------------------------------------|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|| SecondRoomType     | String    | [A-Z0-9] 2 chars                    | N*         | This parameter is mandatory if the customer wishes to book two rooms at the same time. The room codes are as per [Room Codes](/hxapi/types/roomcode). || SecondRoomCode     | String    | [Room Codes](/hxapi/types/roomcode) | N          | NB: Please note that the room codes differ between availability and booking requests.                                                                 || SecondRoomAdults   | Integer   | [1-5] 1 char                        | N          | The number of adults occupying the second room.                                                                                                       || SecondRoomChildren | Integer   | [0-4] 1 char                        | N          | The number of children occupying the second room.                                                                                                     |## UK Hotels with parkingThe additional parameters for hotel with parking (where parking > 0 days) are:| Name           | Data Type | Format            | Mandatory? ||----------------|-----------|-------------------|------------|| CarDropoffDate | Date      | YYYY-MM-DD        | Y          || CarDropoffTime | Time      | HHMM              | Y          || CarPickupDate  | Date      | YYYY-MM-DD        | Y          || CarPickupTime  | Time      | HHMM              | Y          |# Hotel Price Check Response| Field                   | Additional Information                                                                                                                                                                                        ||-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| TotalPrice      | This is the total price for the booking including all upgrades || API_Header/Request | A list of parameters that were sent in the booking request.                                                                                                                                               |# Worked ExamplesBelow are worked examples of both the request and response for the price check for hotels.## UK Hotel price check### Request```https://api.holidayextras.co.uk/v1/hotel/LHRMEA/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2025-07-01&Nights=1&RoomCode=DBL&ParkingDays=0&Adults=2&Children=0```### Response```xml{% include_relative examples/_uk_room_only_price_check_response.xml %}```## UK Hotel price check with Upgrades### Request```https://api.holidayextras.co.uk/v1/hotel/LHRMEA/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2025-07-10&Nights=1&RoomCode=DBL&ParkingDays=0&Adults=2&Children=0&Supplements[0][Code]=LGWSOE&Supplements[0][Date]=2025-07-10&Supplements[0][Quantity]=1&Supplements[0][TotalPrice]=40.00&Supplements[1][Code]=LGWASC&Supplements[1][Date]=2025-07-11&Supplements[1][Adults]=2&Supplements[1][Children]=0&Supplements[1][TotalPrice]=82.00```### Response```xml{% include_relative examples/_uk_upgrade_price_check_response.xml %}```## Error example: no availability### Request```https://api.holidayextras.co.uk/v1/hotel/LGWEUL/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&RoomCode=DBL&Adults=2&Children=0&Nights=1&ArrivalDate=2024-10-15```### Response```xml{% include_relative examples/_uk_booking_room_only_price_check_no_availability_response.xml %}```## Error example: validation error### Request```https://api.holidayextras.co.uk/v1/hotel/LGWEUL/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&RoomCode=DBL&Adults=2&Children=2&Nights=1&ArrivalDate=2024-11-15```### Response```xml{% include_relative examples/_uk_booking_room_only_price_check_validation_error_response.xml %}```",
                                                                                                                                                    -        "url": "/hxapi/hotel/priceCheck/"
                                                                                                                                                    -      }
                                                                                                                                                    -      ,
                                                                                                                                                    -    
                                                                                                                                                           "hxapi-parking-pricecheck": {
                                                                                                                                                             "title": "Car Park Price Check",
                                                                                                                                                             "content": "# Car Park Price Check[API Docs](/hxapi/) > product:[Parking](/hxapi/parking) > endpoint:[carpark](/hxapi/parking/av) > [Price Check](/hxapi/parking/priceCheck)## Car Park Pre-booking Price Check RequestThe price check is an optional step to retrieve an up-to-date total price prior to booking.The parameters are similar to the Book request; the total price retrieved will include all ugprades specified.### MethodGET### EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/carpark/CarParkProductCode/priceCheck```For example, for _Maple Manor Meet and Greet at London Gatwick North terminal_ the endpoint is:```https://api.holidayextras.co.uk/v1/carpark/LGW4/priceCheck```### Request ParametersNB: All parameter names are case sensitive.| Name                   | Data Type | Format            | Mandatory? | Additional Information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ||------------------------|-----------|-------------------|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber             | String    | [A-Z0-9] 5 chars  | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                                                                                  || Password               | String    | [A-Z0-9] 5 chars  | N*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                                  || Initials               | String    | [A-Z] 3 chars     | N          | The initials of the Operator / Agent.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            || key                    | String    | [A-Z]             | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                                                                                                                              || token                  | String    | [0-9] 9 chars     | Y          | This is the same token used in the availability request.                                                                                                                                                                                                                                                                                                                                                                                                                                                         || ArrivalDate            | Date      | YYYY-MM-DD        | Y          | Date customer drops vehicle at car park.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         || ArrivalTime            | Time      | HHMM              | Y          | Time customer drops vehicle at car park.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         || DepartDate             | Date      | YYYY-MM-DD        | Y          | Date customer picks up vehicle from car park.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    || DepartTime             | Time      | HHMM              | Y          | Time customer picks up vehicle from car park.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    || NumberOfPax            | Integer   | [0-9] 2 chars     | Y          | Number of passengers.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            || System                 | String    | [A-Z] 3 chars     | Y*         | For European products, you need to pass in the value of `System=ABG` (the default is `System=ABC`, which is UK products only).                                                                                                                                                                                                                                                                                                                                                                                   |{% include _booking_request_supplement_params.md %}For further details on the upgrade parameters, see the [Booking request](/hxapi/parking/bkg).## Car Park Price Check Response| Field                   | Additional Information                                                                                                                                                                                        ||-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| TotalPrice      | This is the total price for the booking including all upgrades || API_Header/Request      | A list of parameters that were sent in the booking request.                                                                                                                                                   |## Worked ExamplesBelow are worked examples of both the request and response for the price check for parking.### UK Parking price check#### Request```https://api.holidayextras.co.uk/carpark/LHH6/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2025-07-01&ArrivalTime=1200&DepartDate=2025-07-08&DepartTime=1200&NumberOfPax=1```#### Response```xml{% include_relative examples/_uk_price_check_response.xml %}```### UK Parking price check with Upgrades#### Request```https://api.holidayextras.co.uk/carpark/LHH6/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&ArrivalDate=2025-07-01&ArrivalTime=1230&DepartDate=2025-07-08&DepartTime=1345&NumberOfPax=1&Supplements[0][Code]=HXOST1&Supplements[0][Date]=2025-07-01&Supplements[0][Quantity]=1&Supplements[1][Code]=LHRSFS&Supplements[1][Date]=2025-07-01&Supplements[1][Adults]=2&Supplements[1][Children]=1```#### Response```xml{% include_relative examples/_uk_upgrade_price_check_response.xml %}```### Error example: no availability#### Request```https://api.holidayextras.co.uk/v1/carpark/GLF2/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&System=ABC&lang=en&ArrivalDate=2024-09-15&ArrivalTime=1300&DepartDate=2024-09-17&NumberOfPax=1```#### Response```xml{% include_relative examples/_uk_price_check_no_availability_response.xml %}```### Error example: request which is incorrect or can't be actioned#### Request```https://api.holidayextras.co.uk/v1/carpark/GLF2/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&Initials=YourInitials&key=YourKey&token=YourToken&System=ABC&lang=en&ArrivalDate=2024-11-15&ArrivalTime=2500&DepartDate=2024-11-17&NumberOfPax=1```#### Response```xml{% include_relative examples/_uk_price_check_incorrect_request_response.xml %}```",
                                                                                                                                                    @@ -464,6 +457,13 @@
                                                                                                                                                           }
                                                                                                                                                           ,
                                                                                                                                                         
                                                                                                                                                    +      "hxapi-hotel-pricecheck": {
                                                                                                                                                    +        "title": "Hotel Price Check",
                                                                                                                                                    +        "content": "# Hotel Price CheckThe price check is an optional step to retrieve an up-to-date total price prior to booking.The parameters are similar to the Book request; the total price retrieved will include all ugprades specified.## MethodGET## EndpointThe endpoint to use is:```https://api.holidayextras.co.uk/v1/hotel/HotelProductCode/priceCheck```For example, for _Mercure at London Heathrow_ the endpoint is:```https://api.holidayextras.co.uk/v1/hotel/LHRMEA/priceCheck```## Request ParametersNB: All parameter names are case sensitive.| Name                   | Data Type | Format             | Mandatory? | Additional Information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ||------------------------|-----------|--------------------|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| ABTANumber             | String    | [A-Z0-9] 5 chars   | Y          | This is also known as an 'agent code'. This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                                                                              || Password               | String    | [A-Z0-9] 5 chars   | N*         | Password required for retail agent requests - intermediaries do not require a password.This will be confirmed to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                              || Initials               | String    | [A-Z] 3 chars      | N          | The initials of the Operator / Agent.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        || key                    | String    | [A-Z]              | Y          | This will be assigned to you by your Account Manager during set up.                                                                                                                                                                                                                                                                                                                                                                                                                                          || token                  | String    | [0-9] 9 chars      | Y          | This is the same token used in the availability request.                                                                                                                                                                                                                                                                                                                                                                                                                                                     || ArrivalDate            | Date      | YYYY-MM-DD         | Y          | Date customer arrives at hotel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              || Nights                 | Integer   | 1, 2, 3, etc       | Y          | Number of nights the customer wants to stay in the hotel. NB: For European products it is only possible to book one night stays.                                                                                                                                                                                                                                                                                                                                                                             || RoomCode               | String    | [A-Z0-9] 3 chars   | Y          | See [RoomCodes](/hxapi/types/roomcode) for a list of valid codes.                                                                                                                                                                                                                                                                                                                                                                                                                                            || Adults                 | Integer   | [1-5] 1 char       | Y          | The number of adults occupying the room.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     || Children               | Integer   | [0-4] 1 char       | Y          | The number of children occupying the room.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   || ParkingDays            | Integer   | [0-9] 2 chars      | Y          | NB: The maximum duration accepted for ParkingDays is 30.                                                                                                                                                                                                                                                                                                                                                                                                                                                     || CustomerRef            | String    | [A-Z0-9] 20 chars  | N          | Enter your Customer Reference to help match bookings for accounting purposes.                                                                                                                                                                                                                                                                                                                                                                                                                                || Remarks                | String    | [A-Z0-9] 60 chars  | N          | Pass in Remarks for notification such as COT REQUESTED in ROOM                                                                                                                                                                                                                                                                                                                                                                                                                                               || Waiver                 | Boolean   | [0,1]              | Y          | Defaults to 0 if not supplied.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               || DataProtection         | String    | [Y,N]              | N          | Does the customer consent to receiving offers from Holiday Extras? Y = Yes, will receive offers, N = No, customer data is protected. Defaults to No if not supplied.                                                                                                                                                                                                                                                                                                                                         || System                 | String    | [A-Z] 3 chars      | Y*         | For European products, you need to pass in the value of `System=ABG` (the default is `System=ABC`, which is UK products only).                                                                                                                                                                                                                                                                                                                                                                               || lang                   | String    | [A-Z] 2 chars      | Y*         | Required for requests for European products. (Values available are `en`, `de`, `it`, `es`, `pt` and `nl`.)                                                                                                                                                                                                                                                                                                                                                                                                   |{% include _booking_request_supplement_params.md %}For further details on the upgrade parameters, see the [Booking request](/hxapi/hotel/bkg).## Multiple rooms on same bookingThe additional parameters for including a second room are:| Name               | Data Type | Format                              | Mandatory? | Additional Information                                                                                                                                ||--------------------|-----------|-------------------------------------|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|| SecondRoomType     | String    | [A-Z0-9] 2 chars                    | N*         | This parameter is mandatory if the customer wishes to book two rooms at the same time. The room codes are as per [Room Codes](/hxapi/types/roomcode). || SecondRoomCode     | String    | [Room Codes](/hxapi/types/roomcode) | N          | NB: Please note that the room codes differ between availability and booking requests.                                                                 || SecondRoomAdults   | Integer   | [1-5] 1 char                        | N          | The number of adults occupying the second room.                                                                                                       || SecondRoomChildren | Integer   | [0-4] 1 char                        | N          | The number of children occupying the second room.                                                                                                     |## UK Hotels with parkingThe additional parameters for hotel with parking (where parking > 0 days) are:| Name           | Data Type | Format            | Mandatory? ||----------------|-----------|-------------------|------------|| CarDropoffDate | Date      | YYYY-MM-DD        | Y          || CarDropoffTime | Time      | HHMM              | Y          || CarPickupDate  | Date      | YYYY-MM-DD        | Y          || CarPickupTime  | Time      | HHMM              | Y          |# Hotel Price Check Response| Field                   | Additional Information                                                                                                                                                                                        ||-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| TotalPrice      | This is the total price for the booking including all upgrades || API_Header/Request | A list of parameters that were sent in the booking request.                                                                                                                                               |# Worked ExamplesBelow are worked examples of both the request and response for the price check for hotels.## UK Hotel price check### Request```https://api.holidayextras.co.uk/v1/hotel/LHRMEA/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2025-07-01&Nights=1&RoomCode=DBL&ParkingDays=0&Adults=2&Children=0```### Response```xml{% include_relative examples/_uk_room_only_price_check_response.xml %}```## UK Hotel price check with Upgrades### Request```https://api.holidayextras.co.uk/v1/hotel/LHRMEA/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&ArrivalDate=2025-07-10&Nights=1&RoomCode=DBL&ParkingDays=0&Adults=2&Children=0&Supplements[0][Code]=LGWSOE&Supplements[0][Date]=2025-07-10&Supplements[0][Quantity]=1&Supplements[0][TotalPrice]=40.00&Supplements[1][Code]=LGWASC&Supplements[1][Date]=2025-07-11&Supplements[1][Adults]=2&Supplements[1][Children]=0&Supplements[1][TotalPrice]=82.00```### Response```xml{% include_relative examples/_uk_upgrade_price_check_response.xml %}```## Error example: no availability### Request```https://api.holidayextras.co.uk/v1/hotel/LGWEUL/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&RoomCode=DBL&Adults=2&Children=0&Nights=1&ArrivalDate=2024-10-15```### Response```xml{% include_relative examples/_uk_booking_room_only_price_check_no_availability_response.xml %}```## Error example: validation error### Request```https://api.holidayextras.co.uk/v1/hotel/LGWEUL/priceCheck?ABTANumber=YourABTANumber&Password=YourPassword&key=YourKey&token=YourToken&RoomCode=DBL&Adults=2&Children=2&Nights=1&ArrivalDate=2024-11-15```### Response```xml{% include_relative examples/_uk_booking_room_only_price_check_validation_error_response.xml %}```",
                                                                                                                                                    +        "url": "/hxapi/hotel/priceCheck/"
                                                                                                                                                    +      }
                                                                                                                                                    +      ,
                                                                                                                                                    +    
                                                                                                                                                           "payment-gateway-v1-refund": {
                                                                                                                                                             "title": "Payment Gateway: Refund",
                                                                                                                                                             "content": "# Payment Gateway: Refund[API Docs](/) > [Payment Gateway](/payment-gateway/) > [Refund](/payment-gateway/v1/refund)## Refund RequestThis endpoint will make a refund based on existing payments.### MethodPOST### EndpointTo make a refund, the endpoint to use is:```https://payment-gateway.holidayextras.co.uk/refund```### Request Headers| Name  | Data Type | Format | Mandatory? | Additional Information || ----  | --------- | ------ | ---------- | ---------------------- || Content-Type | String | `application/json` | Y | This should always be `application/json` || Authorization   | String | `Basic dXNlcm5hbWU6cGFzc3dvcmQ=` | Y | Base64 encoded string for the `username:password` credentials which will be created and provided to you. This header is required with every request.|| Accept | String | `application/vnd.holidayextras.v1+json` | N | To use a different version please provide a different value. |### Request ParametersNB: All parameter names are case sensitive. | Name  | Data Type | Format | Mandatory? | Additional Information | | ----  | --------- | ------ | ---------- | ---------------------- | | channel | String | [A-Z] | Y | This will be supplied with your authentication credentials. | | payments | Array | [String, String] | Y | An array listing all payments made for this booking. | | amount | String | [0-9] | Y | The price (in pence) to be refunded. |## Refund ResponseFor a detailed explanation of the fields returned, please see below: | Field | Additional Information | | ----- | ---------------------- | | amount | The amount that has been refunded | | status | The status of the refund | | error | The error if the refund fails |## ExamplesBelow are examples of both the request and response for a refund.### Refund Request**POST**  `https://payment-gateway.holidayextras.co.uk/refund`**HEADERS** `Content-Type: application/json` `Accept: application/vnd.holidayextras.v1+json` `Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=````{  \"channel\": \"channel\",  \"payments\": [\"testPaymentId1\", \"testPaymentId2\"],  \"amount\": \"1234\"}```### Refund Response#### Successful Refund```{    \"amount\": 12.34,    \"id\": \"REFUND-testPaymentId1\",    \"status\": \"SUCCESS\"}```#### Failed Refund```{    \"amount\": 12.34,    \"status\": \"FAIL\",    \"error\": \"Failed making refund\"}```",
                                                                                                                                                    diff --git a/docs/versioning/index.html b/docs/versioning/index.html
                                                                                                                                                    index c7deb0ef..f9e520b6 100644
                                                                                                                                                    --- a/docs/versioning/index.html
                                                                                                                                                    +++ b/docs/versioning/index.html
                                                                                                                                                    @@ -61,6 +61,11 @@ 

                                                                                                                                                    Changelog

                                                                                                                                                    + + 1.27.0 + 21st May 2025 + Adding list of available locations for FastTrack. + 1.26.0 25th April 2025