Defining a deep link for an event-led package search

Table I: Mandatory Parameters

The deep link syntax for an event-led package search with only mandatory parameters is as follows:

http://[localhost]/ui_net/Products/DynamicPackage/FlightAndHotels.aspx?LeavingFrom=[departure name]
&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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

LeavingFrom

IATA code of departure airport

Yes

Only if dpName or packageid are 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&dpName=MadonnaAmsterdamTour

AreaName

Dynamic package destination

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

Yes

Only if dpName or packageid are 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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

dpName

The name of the event-led package.

Yes.

Only if LeavingFrom and AreaName and packageid are not defined.

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&dpName=MadonnaAmsterdamTour

packageid

The event-led package ID number

Yes.

Only if LeavingFrom and AreaName and dpName are not defined.

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&packageid=123

NumOfAdult

The number of adults in the first room.

Only if NumOfChildren is not defined

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&dpName=MadonnaAmsterdamTour

NumOfChildren

The number of children in the first room.

Only if NumOfAdult is not defined

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&dpName=MadonnaAmsterdamTour

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&CountryName=AMS&AreaName=Amsterdam&Departing=15MAR16
&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9&dpName=MadonnaAmsterdamTour

 

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

CountryName

The country of the 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=Netherlands&AreaName=Amsterdam&Departing=15MAR16
&Returning=23MAR16&NumOfAdult=2&NumOfChildren=1&ChdAge1=9
&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour

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&dpName=MadonnaAmsterdamTour