Defining a deep link for a flight and hotel dynamic package search

Table I: Mandatory Parameters

The deep link syntax for a flight and hotel dynamic package search with only mandatory parameters is as follows:

http://[localhost]/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=[IATA code of departure]&AreaName=[destination name]&Departing=[ddMMMyy]&Returning=[ddMMMyy]&NumOfAdult=[X]&NumOfChildren=[X]&ChdAge1=[X]

 

An example of the above syntax populated with values is as follows:

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

Parameter Name

Description

Mandatory

Example of Use

localhost

URL of your website

Yes

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

LeavingFrom

IATA code of departure airport

Yes

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

AreaName

Dynamic package destination

The destination value must match the value entered in Setup - Geography - Destinations.

Yes

 

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

Departing

Departure date

Date format: ddMMMyy

Yes

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

Returning

Return date

Date format: ddMMMyy

Yes

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

NumOfAdult

The number of adults in the package

Only if NumOfChildren is not defined

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

NumOfChildren

The number of children in the package

Only if NumOfAdult is not defined

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

ChdAge[1..4]

Age of child(ren) in the room.

A maximum of 4 children can be defined in the room

Only if NumOfChildren is defined

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9

 

Table II: Conditionally Mandatory and Optional Parameters

Parameter Name

Description

Mandatory

Example of Use

NumOfAdult[B..E]

The number of adults in additional rooms of the reservation.

B denotes the second room of the reservation, C denotes the third room of the reservation, D and E, the fourth and fifth respectively.

The first room of the reservation does not require a letter.

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&ChdAge1=4&ChdAge2=6

NumOfChildren[B..E]

The number of children in additional rooms of the reservation.

B denotes the second room of the reservation, C denotes the third room of the reservation, D and E, the fourth and fifth respectively.

The first room of the reservation does not require a letter.

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=6&ChdAge2B=5

ChdAge[X][B..E]

The ages of children in additional rooms of the reservation.

B denotes the second room of the reservation, C denotes the third room of the reservation, D and E, the fourth and fifth respectively.

The first room of the reservation does not require a letter.

 

The letter follows the number for the child.

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=6&ChdAge2B=5

CountryName

IATA code of destination.
Used in instances when you have more than one destination that share the same name, such as Sydney, Canada and Sydney, Australia

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&CountryName=AMS&AreaName=Amsterdam&Departing=15MAR16&Returning=23MAR16&
NumOfAdult=[2]&NumOfChildren=[1]&ChdAge1=[9]

HotelName

The name of the hotel (in the first destination of the dynamic package) as entered in Products – Contracts – [Hotel Name] or in the content interface.

All hotels containing this name will be retrieved (e.g. Sheraton will retrieve Sheraton Park Tower).

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=6&ChdAge2B=5&HotelName=Radisson

Airline

IATA code of airline in the dynamic package.

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&Airline=BA

IncludeCharterFlight

Indicates if to include charter flights in the search results for the dynamic package.

0 = No

1 = Yes (default)

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2&
NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=5&IncludeCharterFlight=1

IncludeFullyBooked

Indicates if to include fully booked flights in the search results for the dynamic package.

0 = No

1 = Yes

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=5&IncludeFullyBooked=0

DirectFlightsOnly

Indicates if to include only direct flights in the search results for the dynamic package.

0 = No

1 = Yes

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=5&DirectFlightsOnly=0

HotelCheckIn

For partial stays, the hotel check in date

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=5&HotelCheckIn=08MAR11

HotelCheckOut

For partial stays, the hotel check out date

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=5&HotelCheckOut=08MAR11

Currency

Currency in which dynamic package price will be displayed.

  1. Only currency codes defined in Setup - Business Environment - Currencies can be used.

  2. In Setup - Website Definitions - Currency, select the following options:

    • Enable display and travel file currency change

    • Currency mode - Changeable

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=5&Currency=GBP

Culture

The language in which results will be displayed.

 

The default language is English (American).

 

The culture (language) value must match the value in the table of languages.

No

http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?
LeavingFrom=LHR&AreaName=Amsterdam&Departing=01MAR11&Returning=15MAR11&NumOfAdult=2&NumOfAdultB=2
&NumOfChildren=2&NumofChildrenB=1&ChdAge1=4&ChdAge2=6&ChdAge1B=5&Culture=fr-FR