Defining a deep link for an activity search

Table I: Mandatory Parameters

The deep link syntax for an activity search with only mandatory parameters is as follows:

http://[localhost]/ui_net/Products/Activities/Activities.aspx?AreaName=[destination name]&Date=[ddMMMyy]&NumberOfAdults=[number of adults]

 

The NumberOfAdults parameter is only mandatory if there is no NumberOfChildren parameter defined.

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

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17&NumberOfAdults=2

Parameter Name

Description

Mandatory

Example of Use

localhost

URL of your website

Yes

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17

AreaName

Destination of activity.

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

Yes

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17

Date

Date of activity.

Date format: ddMMMyy

Yes

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17

NumberOfAdults

The number of adults participating in the activity.

Only if NumberOfChildren is not defined

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17&NumberOfAdults=2

NumberOfChildren

The number of children participating in the activity.

Only if NumberOfAdults is not defined

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17&NumberOfAdults=2&NumberOfChildren=2&ChdAge1=10&ChdAge2=12

ChdAge[1..n]

Age of child(ren) participating in the activity according to the number of children in the activity.

Only if NumberOfChildren is defined

 

Table II: Conditionally Mandatory and Optional Parameters

Parameter Name

Description

Mandatory

Example of Use

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/Activities/Activities.aspx?CountryName=Netherlands&AreaName=Amsterdam&Date=15MAR16

CategoryName

The category type of the activity.

The category type value must match the value entered in Setup - Product Definitions - Categories.

No

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17&NumberOfAdults=2&CategoryName=Museum

DeltaDays

The date range (number of days before and after the Date) in which the search for the activity will be executed.

No

http://www.companyTBsite.com/ui_net/Products/Activities/Activities.aspx?AreaName=London&Date=30MAR17&NumberOfAdults=2&DeltaDays=2

 

In this example, the search date range for the activity is March 28 - April 1.

Currency

Currency in which activity 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/Activities/Activities.aspx?AreaName=London&Date=30MAR17&NumberOfAdults=2&CategoryName=Museum&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/Activities/Activities.aspx?AreaName=London&Date=30MAR17&NumberOfAdults=2&CategoryName=Museum&Culture=fr-FR