Flight
The following operations are supported. For a formal definition, please review the Service Description.
-
GetAirport
Description: Gets Airports.
Parameters Sent:
token: Key number given upon login to system
location: Location Id of Airport
minRecordDate = If minRecordDate is 01.01.0001, it gets all records. Otherwise, if minRecordDate is bigger than 01.01.1900 (it can not be less than 01.01.1900 except 01.01.0001 or it returns error), it gets records which added or changed after this date.
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Airport classes return as Dataset.
-
GetArrCityForFlight
Description: Gets all arrival cities appropriate to departure cities.
Parameters Sent:
token: Key number given upon login to system
depCity: Departure city. If it's 0 or less, all arrival cities appropriate to departure cities are listed.
country: Country of arrival city.
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Arrival cities return as Dataset.
-
GetArrCityForOnlyTicket
Description: Gets all arrival cities appropriate to departure cities.
Parameters Sent:
token: Key number given upon login to system
depCity: Departure city. If it's 0 or less, all arrival cities appropriate to departure cities are listed.
isRT: is true return Round Trip, not a return One Way
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Arrival cities return as Dataset.
-
GetDepCityForFlight
Description: Gets all departure cities appropriate to arrival cities.
Parameters Sent:
token: Key number given upon login to system
arrCity: Arrival city. If it's 0 or less,all departure cities appropriate to arrival cities are listed.
flightType: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Departure cities return as Dataset.
-
GetDepCityForFlightbyMarketCountry
Description: Gets all departure cities of market country appropriate to arrival cities.
Parameters Sent:
token: Key number given upon login to system
arrCity: Arrival city. If it's 0 or less,all departure cities appropriate to arrival cities are listed.
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Departure cities return as Dataset.
-
GetDepCityForOnlyTicket
Description: Gets all departure cities appropriate to arrival cities.
Parameters Sent:
token: Key number given upon login to system
isRT: is true return Round Trip, not a return One Way
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Departure cities return as Dataset.
- GetFerryPrice
-
GetFlightAllotListXML
For TourVisio Team -
GetFlightClass
Description: Gets all flight classes.
Parameters Sent:
token: Key number given upon login to system
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Flight classes return as Dataset.
-
GetFlightCustomerInfo
Description: Flight customer info from given reservation number
Parameters Sent
token: Key number given upon login to system
resNumber: Reservation number of flight customer
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters
Flight Customer Information returns as DataSet
-
GetFlightDays
Description: Gets all flight days from selected departure city to selected arrival city.
Parameters Sent:
token: Key number given upon login to system.
depCity: RecID value in the list of countries coming from GetDepCity method. If 0 is entered,it doesn't
check departure city
arrCity: RecID value in the list of countries coming from GetArrCity method. Must be bigger than 0
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters:
Flight days return as Dataset. -
GetFlightDaysForOnlyTicket
Description: Gets all flight days from selected departure city to selected arrival city.
Parameters Sent:
token: Key number given upon login to system.
depCity: RecID value in the list of countries coming from GetDepCity method. If 0 is entered,it doesn't
check departure city
arrCity: RecID value in the list of countries coming from GetArrCity method. Must be bigger than 0
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters:
Flight days return as Dataset. -
GetFlightDaysWithDetail
Description: Gets all flight days with detail.
Parameters Sent:
token: Key number given upon login to system.
depCity: RecID value in the list of countries coming from GetDepCity method. If 0 is entered,it doesn't
check departure city
arrCity: RecID value in the list of countries coming from GetArrCity method. Must be bigger than 0
minRecordDate = If minRecordDate is 01.01.0001, it gets all records. Otherwise, if minRecordDate is bigger than 01.01.1900 (it can not be less than 01.01.1900 except 01.01.0001 or it returns error), it gets records which added or changed after this date. errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters:
Flight days return as Dataset. -
GetFlightDaysWithHotel
Description: Gets all flight days from selected departure city to selected arrival city.
Parameters Sent:
token: Key number given upon login to system.
depCity: RecID value in the list of countries coming from GetDepCity method. If 0 is entered,it doesn't
check departure city
arrCity: RecID value in the list of countries coming from GetArrCity method. Must be bigger than 0
hotelCode: HotelCode
errorMsg: Used to control whether any fault will return or not.This is both returning and sent parameter.
Returning Parameters:
Flight days return as Dataset. - GetFlightDetail
- GetFlightInfos
- GetFlightListForB2C
- GetFlightListWitArrCityForB2C
-
GetFlightMonitor
For TourVisio Team -
GetFlightPrice
Description: Gets all flight days from selected departure city to selected arrival city.
Parameters Sent:
token: Key number given upon login to system
cInDate1: Flight date
cInDate2: Checks flights in the intervals from cInDate1 to cInDate2.
Must be bigger than or equal to cindate1
day1: If return exists,it states after how many days returning will be
day2: To make return control on days from day1 to day2
flyClass: Flight Class for flight prices
routeFrom: Departure place
routeTo: Arrival place
isRT: If return exists 'true' ,if not exists 'false' is sent.
minFreeSeat: Gets Flight Prices that has minimum free seat with this parameter
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Flight prices return as Dataset. - GetFlightPriceWithFlightNo
-
GetFlightPriceXML
Description: Gets all flights and flight prices from given criteria.
Parameters Sent:
token: Key number given upon login to system
cInDate1: Flight date
cInDate2: Checks flights in the intervals from cInDate1 to cInDate2.
Must be bigger than or equal to cindate1
day1: If return exists,it states after how many days returning will be
day2: To make return control on days from day1 to day2
flyClass: Flight Class for flight prices
routeFrom: Departure place
routeTo: Arrival place
isRT: If return exists 'true' ,if not exists 'false' is sent.
minFreeSeat: Gets Flight Prices that has minimum free seat with this parameter
Returning Parameters:
Flight prices return as xml. In Return Value tag FlightPrice and Service Extra tags has a relationship with RecId. -
GetFlightReservationDataSet
Description: Reservation info of flight selected in flightsearch return as DataSet. ResCust and ResCustInfo
DataTable in this dataset are sent to SaveOnlyTicketReservation method after being updated.
Parameters Sent
token: Key number given upon login to system
selectedFlight: selected row in DataSet returning from GetFlightPrice
adult: number of adults for reservation
child: number of children for reservation
infant: number of infats for reservation
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters
Reservation info of flight selected in flightsearch return as ReturnXml. ResCust and ResCustInfo Tag in this
returnxml are sent to SaveOnlyTicketReservationXML method after being updated
-
GetFlightReservationDataSetWithHandicap
Description: Reservation info of flight selected in flightsearch return as DataSet. ResCust and ResCustInfo
DataTable in this dataset are sent to SaveOnlyTicketReservation method after being updated.
Parameters Sent
token: Key number given upon login to system
selectedFlight: selected row in DataSet returning from GetFlightPrice
adult: number of adults for reservation
child: number of children for reservation
infant: number of infats for reservation
getFlightHandicapDetail:Is true, return dataset FlightHandicap
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters
Reservation info of flight selected in flightsearch return as ReturnXml. ResCust and ResCustInfo Tag in this
returnxml are sent to SaveOnlyTicketReservationXML method after being updated
-
GetFlightReservationDataXML
Description: Reservation info of flight selected in flightsearch return as ReturnXML. ResCust and ResCustInfo
DataTable in this dataset are sent to SaveOnlyTicketReservationXML method after being updated.
Parameters Sent
token: Key number given upon login to system
selectedFlight: selected row in returnxml returning from GetFlightPriceXML
adult: number of adults for reservation
child: number of children for reservation
infant: number of infats for reservation
Returning Parameters
Reservation info of flight selected in flightsearch return as ReturnXml. ResCust and ResCustInfo Tag in this
returnxml are sent to SaveOnlyTicketReservationXML method after being updated
-
GetFlightStopSaleList
Description: Get stop sale list
resource:0:ForB2B;1:ForB2C -
GetPriceOfFlightNumber
Description: Gets price of flight number from given criteria.
Parameters Sent:
token: Key number given upon login to system
flightNo: Flight no that getting price
dayRange: Day range
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters:
Prices of Flight Number return as Dataset. -
SaveExtTicket
For TourVisio Team -
SaveOnlyTicketReservation
Description: Reservation is saved after reorganized ResData is sent. Reservation is successful if ControlOK in
returning dataset is true. Reservation number returns in Message field.
Parameters Sent
token: Key number given upon login to system
dsReservationData: DataSet returning from GetFlightReservationData is sent.
saveAsDraft: Sets ticket reservation as Draft or Real
Returning Parameters
Returns saved as ReturnXML.
-
SaveOnlyTicketReservationXML
Description: Reservation is saved after reorganized ResData is sent. Reservation is successful if ControlOK in
returning dataset is true. Reservation number returns in Message field.
Parameters Sent
token: Key number given upon login to system
resData: XML returning from GetFlightReservationDataXML is sent.
saveAsDraft: Sets ticket reservation as Draft or Real
Returning Parameters
Returns saved as ReturnXML.
-
UpdateAtlasPnrNo
For TourVisio Team -
UpdateFlightCustomerInfo
Description: Updates Flight customer info from given reservation number
Parameters Sent
token: Key number given upon login to system
resNumber: Reservation number of flight customer
customerInfoXML: Informations returning from GetFlightCustomerInfo method converted to xml format and send this information as string. CustomerInfo table must be added to Customers tag.
errorMsg: Used to control whether any fault will return or not.This both returning and sent parameter.
Returning Parameters
Returns true if update successful