Table I: Mandatory Parameters |
|||
The deep link syntax for a stand-alone flight search with only mandatory parameters is as follows: http://[localhost]/UI_NET/Products/Flight/Flight.aspx?FlightMode=[Flight mode option]&LeavingFrom=[IATA code of departure]&GoingTo=[IATA code of arrival]&Departing=[ddMMMyy]&NumberOfAdults=[X]
An example of the above syntax populated with values is as follows: http://www.companyTBsite.com/ui_net/Products/Flight/Flight.aspx?FlightMode=1&LeavingFrom=LHR&GoingTo=AMS&Departing=15MAR19&Returning=23MAR19&NumberOfAdults=2 |
|||
Parameter Name |
Description |
Mandatory |
Example of Use |
localhost |
URL of your website |
Yes |
http://www.companyTBsite.com/ui_net/ |
FlightMode |
Flight mode option:
|
Yes |
Round trip http://www.companyTBsite.com/ui_net/ One way http://www.companyTBsite.com/ui_net/ Multi city http://www.companyTBsite.com/ui_net/Products/Flight/Flight.aspx?FlightMode=2 &LeavingFrom=LHR&GoingTo=AMS &Departing=15MAR19&LeavingFrom2=AMS &GoingTo2=JFK&Departing2=23MAR19 &NumberOfAdults=2 |
LeavingFrom |
IATA code of departure airport |
Yes |
http://www.companyTBsite.com/ui_net/ |
GoingTo |
IATA code of arrival airport |
Yes |
http://www.companyTBsite.com/ui_net/ |
Departing |
Departure date: Date format: ddMMMyy |
Yes |
http://www.companyTBsite.com/ui_net/ |
|
|
You need to have one or more of these parameters |
http://www.companyTBsite.com/ui_net/ |
Table II: Conditionally Mandatory and Optional Parameters |
|||
Parameter Name |
Description |
Mandatory |
Example of Use |
The return date: Date format: ddMMMyy |
Yes if FlightMode = 1 or RoundTrip |
http://www.companyTBsite.com/ui_net |
|
LeavingFrom[2..X] |
IATA code of departure airport for additional legs. 2 is for the second leg of the flight, 3 is for the third leg of the flight, and each additional number adds another leg to the flight. |
Yes if FlightMode = 2 or MultiCity |
http://www.companyTBsite.com/ui_net/ Products/Flight/Flight.aspx?FlightMode=2 &LeavingFrom=LHR&GoingTo=AMS&Departing=15MAR19 &LeavingFrom2=AMS&GoingTo2=JFK&Departing2=23MAR19 &LeavingFrom3=JFK&GoingTo3=JORD&Departing3=27MAR19 &LeavingFrom4=ORD&GoingTo4=LAX&Departing4=03APR19 &NumberOfAdults=2 |
GoingTo[2..X] |
IATA code of arrival airport for additional legs. 2 is for the second leg of the flight, 3 is for the third leg of the flight, and each additional number adds another leg to the flight. |
Yes if FlightMode = 2 or MultiCity |
http://www.companyTBsite.com/ui_net/ |
Departing[2..X] |
The departure date for additional legs. Date format: ddMMMyy 2 is for the second leg of the flight, 3 is for the third leg of the flight, and each additional number adds another leg to the flight. |
Yes if FlightMode = 2 or MultiCity |
http://www.companyTBsite.com/ui_net/ |