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 |
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 |
|
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? |
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? |
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? |
CountryName |
IATA code of destination. |
No |
http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx? |
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? |
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? |
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? |
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? |
HotelCheckIn |
For partial stays, the hotel check in date |
No |
http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx? |
HotelCheckOut |
For partial stays, the hotel check out date |
No |
http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx? |
Currency |
Currency in which dynamic package price will be displayed.
|
No |
http://www.companyTBsite.com/ui_net/Products/DynamicPackage/FlightAndHotels.aspx? |
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? |