Booking
The following operations are supported. For a formal definition, please review the Service Description.
-
AddExtResService
SanTSG -
AddResService
Description: For San Computer Developer />
Parameters Sent
token: Key number given upon login to system
resData: Reservation Data
serviceCode: Selected service Item code
serviceType: Selected service Type
addOrRemove: Add or toCancel
selectedCustomer: Selected customers
serviceDate: Selected service date
location1: Selected service Item location1 ([TRANSPORT,Route],[])
location2: Selected service Item location2 ([TRANSPORT,PickUp],[])
night: Night for Additional Service
errorMsg:
- ChangeFlightServiceFromPriceList
- CheckReservationByMobilePhone
-
CreateSelectedCustomerTable
Description: With this method structure of the selectedcustomers parameter that will be sent to SetExtraServices. Customer list returns as dataset from this method. Which customers want to buy which extra services, select value in customer row must be sent to SetExtraServices method.Before this method is used, ResCust table must be updated in ResData Dataset.
Parameters Sent
token: Key number given upon login to system
resData: Dataset returning from GetReservationDataSet is sent.(ResCust Table must be updated and
real names of the customers must be written.)
- CreateSelectedCustomerTableXML
-
GetAdditionalServiceDescription
Description:Get Additional Service Description Text
Parameters Sent
token: Key number given upon login to system
serviceCode: Selected service Item code
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
- GetAdditionalServiceList
- GetAgencyReservationDataList
- GetAgencyReservations
-
GetBusSeatCheckIns
Get bus seat checkins by ResService.RecId -
GetBusSeatPlan
Get bus seat plan by bus code -
GetEmptyReservationData
SanTSG -
GetExtraServiceDescription
Description:Get Extra Service Description Text
Parameters Sent
token: Key number given upon login to system
serviceCode: Selected service Item code
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
-
GetExtraServices
Description: By sending ResData returning from GetReservationDataSet, available extra services are listed.
Parameters Sent
token: Key number given upon login to system
resData: Dataset returning from GetReservationDataSet is sent.
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
Returning Parameters
Extra services return as dataset.
-
GetExtraServicesXML
Description: By sending ResData returning from GetReservationDataxml, available extra services are listed.
Parameters Sent
token: Key number given upon login to system
resData: ): returning from xml document of GetReservationDataXML function's ReturnValue element including schema.
Returning Parameters
Extra services return as xml.
- GetFlightAllotment
- GetFlightOptionsFromPriceList
-
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
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 SaveReservation method after being updated
-
GetInsuranceList
Description: By sending ResData returning from GetReservationDataSet, available insurances are listed.
Parameters Sent
token: Key number given upon login to system
resData: Dataset returning from GetReservationDataSet is sent.
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
Returning Parameters
Extra services return as dataset.
-
GetMinPriceInfo
Description: If minimum price information of an hotel in a certain date interval is wanted to be taken, it is more
appropriate to use GetMinPriceInfo methodinstead of GetPriceSearchForB2C method.
Parameters Sent
token: Key number given upon login to system'
dsCreteria: By the entery of room information to dataset returning from GetPriceDataSet method
cin1: From Date
cin2: To Date
night: night (>0)
getFlightAllot: Bring plane allotment info (if it is false it doesn't bring hotel allotments)'
getHotelAllot: Bring hotel allotment info (if it is false it doesn't bring hotel allotments)
onlyAvailable: For bringing the hotels with available hotel and flight occupancies, true must be sent.
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
and sent.
Returning Parameters
Minimum adult prices of the sent rooms on the specified dates return as DataSet.
- GetMinPriceInfoForFibulaBus
-
GetMinPriceInfoXML
Description: If minimum price information of an hotel in a certain date interval is wanted to be taken, it is more
appropriate to use GetMinPriceInfo methodinstead of GetPriceSearchForB2C method.
Parameters Sent
token: Key number given upon login to system'
dsCreteria: By the entery of room information to dataset returning from GetPriceDataSet method
cin1: From Date
cin2: To Date
night: night (>0)
getFlightAllot: Bring plane allotment info (if it is false it doesn't bring hotel allotments)'
getHotelAllot: Bring hotel allotment info (if it is false it doesn't bring hotel allotments)
onlyAvailable: For bringing the hotels with available hotel and flight occupancies, true must be sent.
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
and sent.
Returning Parameters
Minimum adult prices of the sent rooms on the specified dates return as DataSet.
-
GetPackages
Description: Retrieves Packages
Parameters Sent
token: Key number given upon login to system
Country: Country from Tourvisio database
DepCity: Departure City from Tourvisio database
ArrCity: Arrival City from Tourvisio database
Returning Parameters
Packages informations return as dataset.
- GetPenaltyPrice
- GetPenaltyPriceByMerlinXID
-
GetPriceByHotelLocation
Description:Special Method For Sejour (Not Recommended for Use)
-
GetPriceDataSet
Description: Structure of room information return as Dataset for the usage in GetMinPriceInfo.
It is advised to get once in Web application , on Application base.
Parameters Sent
token: Key number given upon login to system (string)
Returning Parameters
Structure of room information return as Dataset
- GetPriceSearch
-
GetPriceSearchByID
Description: GetSearchPriceById method is used to get the detail information of the row selected in the records
returning from GetMinPriceInfo and send it to reservation.A row is selected in the dataset returning from
GetPriceById method and sent to GetReservation Dataset method as parameter. And reservation process gets
started.
Parameters Sent
token: Key number given upon login to system
catPackID: CatPackID returning from GetMinPriceInfo method
aRecNo: ArecNO returning from GetMinPriceInfo method
pRecNo: PrecNo returning from GetMinPriceInfo method
HapRecID: HapRecId returning from GetMinPriceInfo method
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both
returning and sent.
Returning Parameters
Might be used to get all the information of the minimum price returning from GetMinPriceInfo and send to
GetReservationDataSet method. (Has same structure with the dataset returning from GetPriceSearchB2C
method.)
- GetPriceSearchByIDForCultureTour
- GetPriceSearchByIDForMerlin
- GetPriceSearchByIDWithPayPlan
-
GetPriceSearchByIDXML
Description: GetSearchPriceById method is used to get the detail information of the row selected in the records
returning from GetMinPriceInfo and send it to reservation.A row is selected in the dataset returning from
GetPriceById method and sent to GetReservation Dataset method as parameter. And reservation process gets
started.
Parameters Sent
token: Key number given upon login to system
catPackID: CatPackID returning from GetMinPriceInfo method
aRecNo: ArecNO returning from GetMinPriceInfo method
pRecNo: PrecNo returning from GetMinPriceInfo method
HapRecID: HapRecId returning from GetMinPriceInfo method
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both
returning and sent.
Returning Parameters
Might be used to get all the information of the minimum price returning from GetMinPriceInfo and send to
GetReservationDataXML method. (Has same structure with the dataset returning from GetPriceSearchB2C
method.)
-
GetPriceSearchByPagingV2
Description: ForTvsearch customer -
GetPriceSearchForB2C
Description: This method brings the price lists according to selected criterias.A row in the dataset returning from this method is selected and sent to GetReservation Dataset method as parameter. And reservation process gets started.
Parameters Sent
token: Key number given upon login to system
cin1: The first checkin date(>today)
cin2: The last checkin date(>today)
night1: (>0) from night
night2: (>0) to night
hotelCode: Hotel code
catName: Category code
room: if roomAndBoardGroup true then Room Group code (Code value in GetHotelRoomGroups method)
else Room code (Code value in GetHotelRoom method)
board: if roomAndBoardGroup true then Board Group code(Code value in GetHotelBoardGroup method) else
Board code(Code value in GetHotelBoard method)
arrCity: Arrival city(not compulsory to be entered for b2c) Recid value returning from GetArrCity in
Common.asmx
depCity: Departure city (not compulsory to be entered for b2c) Recid value returning from GetDepCity in
Common.asmx
town: Departure Region(not compulsory to be entered for b2c)Recid value returning from GetTown in
Common.asmx
hotelLocation: Hotel Location(not compulsory to be entered for b2c)Recid value returning from
GetHotelLocation in Common.asmx
adult: Adult number (>0)
child: Child number (>:0)
chdAge1: child age1 (>:-1) If there is no child, -1 must be entered.
chdAge2: child age2 (>:-1) If there is no child, -1 must be entered.
chdAge3: child age3 (>:-1) If there is no child, -1 must be entered.
chdAge4: child age4 (>:-1) If there is no child, -1 must be entered.
getFlightAllot: Bring plane allotment info (if it is false it doesn't bring hotel allotments)
getHotelAllot: Bring hotel allotment info (if it is false it doesn't bring hotel allotments)
packType: if it is 'O', only the packages come that have hotel price.
roomAndBoardGroup: If this parameter is sent true,group codes of room and board must be sent.
noStopSaleControl: if send true, it also gets hotels with stop sale.
errorMsg: Used to control whether any fault will occur or not.This is both returning and sent parameter
Returning Parameters
Return as Dataset in a result of searching price.SPWithEB returning from dataset shows package's price One of the rows returning from dataset is sent to
GetReservationDatset method as parameter. -
GetPriceSearchForB2CWithPromotion
GetPriceSearchForB2C WithPromotion -
GetPriceSearchWithPagingForB2C
Description: This method brings the price lists according to selected criterias.A row in the dataset returning from this method is selected and sent to GetReservation Dataset method as parameter. And reservation process gets started.
Parameters Sent
token: Key number given upon login to system
cin1: The first checkin date(>today)
cin2: The last checkin date(>today)
night1: (>0) from night
night2: (>0) to night
hotelCode: Hotel code
catName: Category code
room: if roomAndBoardGroup true then Room Group code (Code value in GetHotelRoomGroups method)
else Room code (Code value in GetHotelRoom method)
board: if roomAndBoardGroup true then Board Group code(Code value in GetHotelBoardGroup method) else
Board code(Code value in GetHotelBoard method)
arrCity: Arrival city(not compulsory to be entered for b2c) Recid value returning from GetArrCity in
Common.asmx
depCity: Departure city (not compulsory to be entered for b2c) Recid value returning from GetDepCity in
Common.asmx
town: Departure Region(not compulsory to be entered for b2c)Recid value returning from GetTown in
Common.asmx
hotelLocation: Hotel Location(not compulsory to be entered for b2c)Recid value returning from
GetHotelLocation in Common.asmx
adult: Adult number (>0)
child: Child number (>:0)
chdAge1: child age1 (>:-1) If there is no child, -1 must be entered.
chdAge2: child age2 (>:-1) If there is no child, -1 must be entered.
chdAge3: child age3 (>:-1) If there is no child, -1 must be entered.
chdAge4: child age4 (>:-1) If there is no child, -1 must be entered.
getFlightAllot: Bring plane allotment info (if it is false it doesn't bring hotel allotments)
getHotelAllot: Bring hotel allotment info (if it is false it doesn't bring hotel allotments)
packType: if it is 'O', only the packages come that have hotel price.
roomAndBoardGroup: If this parameter is sent true,group codes of room and board must be sent.
noStopSaleControl: if send true, it also gets hotels with stop sale.
errorMsg: Used to control whether any fault will occur or not.This is both returning and sent parameter
Returning Parameters
Return as Dataset in a result of searching price.SPWithEB returning from dataset shows package's price One of the rows returning from dataset is sent to
GetReservationDatset method as parameter. -
GetPriceSearchXML
Description: This method brings the price lists according to selected criterias.A row in the xml returning from this method is selected and sent to GetReservationDataXML method as parameter. And reservation process gets started.
Parameters Sent
token: Key number given upon login to system
cin1: The first checkin date(>today)
cin2: The last checkin date(>today)
night1: (>0) from night
night2: (>0) to night
hotelCode: Hotel code
catName: Category code
room: if roomAndBoardGroup true then Room Group code (Code value in GetHotelRoomGroups method)
else Room code (Code value in GetHotelRoom method)
board: if roomAndBoardGroup true then Board Group code(Code value in GetHotelBoardGroup method) else
Board code(Code value in GetHotelBoard method)
arrCity: Arrival city(not compulsory to be entered for b2c) Recid value returning from GetArrCity in
Common.asmx
depCity: Departure city (not compulsory to be entered for b2c) Recid value returning from GetDepCity in
Common.asmx
town: Departure Region(not compulsory to be entered for b2c)Recid value returning from GetTown in
Common.asmx
hotelLocation: Hotel Location(not compulsory to be entered for b2c)Recid value returning from
GetHotelLocation in Common.asmx
adult: Adult number (>0)
child: Child number (>:0)
chdAge1: child age1 (>:-1) If there is no child, -1 must be entered.
chdAge2: child age2 (>:-1) If there is no child, -1 must be entered.
chdAge3: child age3 (>:-1) If there is no child, -1 must be entered.
chdAge4: child age4 (>:-1) If there is no child, -1 must be entered.
getFlightAllot: Bring plane allotment info (if it is false it doesn't bring hotel allotments)
getHotelAllot: Bring hotel allotment info (if it is false it doesn't bring hotel allotments)
packType: if it is 'O', only the packages come that have hotel price.
roomAndBoardGroup: If this parameter is sent true,group codes of room and board must be sent.
noStopSaleControl: if send true, it also gets hotels with stop sale.
errorMsg: Used to control whether any fault will occur or not.This is both returning and sent parameter
Returning Parameters
Return as Dataset in a result of searching price.SPWithEB returning from dataset shows package's price One of the rows returning from dataset is sent to
GetReservationDatset method as parameter. -
GetReservationAvailableOptionData
Description:Get Reservation Option Date
-
GetReservationDataSet
Description: Reservation info of hotel selected in pricesearch return as dataset.ResCust and ResCustInfo
DataTable in this dataset are sent to savereservation method after being updated.
Parameters Sent
token: Key number given upon login to system
selectedHotel: selected line in dataset returning in pricesearchforB2c
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
and sent
Returning Parameters
Reservation info of hotel selected in pricesearch return as dataset.ResCust and ResCustInfo DataTable in this
dataset are sent to savereservation method after being updated
-
GetReservationDataSetForMerlin
Description: Reservation info of hotel selected in pricesearch return as dataset.ResCust and ResCustInfo
DataTable in this dataset are sent to savereservation method after being updated.
Parameters Sent
token: Key number given upon login to system
selectedHotel: selected line in dataset returning in pricesearchforB2c
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
and sent
Returning Parameters
Reservation info of hotel selected in pricesearch return as dataset.ResCust and ResCustInfo DataTable in this
dataset are sent to savereservation method after being updated
- GetReservationDataSetForOnlyHotelV2
- GetReservationDataSetForPackPrice
-
GetReservationDataSetbyID
Description: Uses selected hotels' CatPackId, ARecNo, PRecNo and HapRecId returning from
GetMinPriceInfo and gets reservation information as dataset.
Parameters Sent
token: Key number given upon login to system
selectedHotel: selected line in dataset returning in pricesearchforB2c
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
and sent
Returning Parameters
Reservation info of hotel selected in pricesearch return as dataset.ResCust and ResCustInfo DataTable in this
dataset are sent to savereservation method after being updated
-
GetReservationDataSetbyIDForFlightExtras
Description: Uses selected hotels' CatPackId, ARecNo, PRecNo and HapRecId returning from
GetMinPriceInfo and gets reservation information as dataset.
Parameters Sent
token: Key number given upon login to system
selectedHotel: selected line in dataset returning in pricesearchforB2c
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
and sent
Returning Parameters
Reservation info of hotel selected in pricesearch return as dataset.ResCust and ResCustInfo DataTable in this
dataset are sent to savereservation method after being updated
-
GetReservationDataWithResNo
SanTSG -
GetReservationDataXML
Description: Reservation info of hotel selected in pricesearch return as ReturnXML.ResCust and ResCustInfo
DataTable in this dataset are sent to savereservation method after being updated.
Parameters Sent
token: Key number given upon login to system
selectedHotel: selected line in dataset returning in pricesearchforB2c
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
and sent
Returning Parameters
Reservation info of hotel selected in pricesearch return as ReturnXml.ResCust and ResCustInfo DataTable in this
dataset are sent to savereservation method after being updated
-
GetReservationOptionDate
Description:Get Reservation Option Date
if option date is null return value DateTime.MinValue -
GetReservationReport2PDF
DocumentTypes:Contract,FlyTicket,Invoice,Proforma,Voucher,Excursion,Transfer,Insurance - GetReservationTotalInfo
- GetReservationTotalInfoByMerlinXId
-
GetServiceDescription
Description:Get General Service Description Text and Image
Parameters Sent
token: Key number given upon login to system
serviceType: Excursion,Insurance,Transfer
serviceCode: Selected service Item code
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
-
GetSupplementDiscount
Description: Gets supplement discount as Dataset
Parameters Sent
token: Key number given upon login to system
Returning Parameters
Supplement discount returns as dataset.
- GetTemplatePayPlan
- GetTourPriceSearchB2C
- GetTourReservationDataSet
-
GetTransportServices
Get transport services by reservation number. -
SaveReservation
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: Dataset returning from GetReservationDataSet is sent.
saveAsDraft: If this property is set true, reservation saves as draft. This means saved reservation did not
effected to allotments.
Returning Parameters
Returns saved reservation dataset.
-
SaveReservationXML
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: Dataset returning from GetReservationDataSet is sent.
saveAsDraft: If this property is set true, reservation saves as draft. This means saved reservation did not
effected to allotments.
Returning Parameters
Returns saved reservation XML.
-
SetBusSeatCheckIn
Set new checkin -
SetExtraServices
Description: By sending ResData returning from GetReservationDataSet and selectedExtras dataset selected
from GetExtraServices dataset and selectedCustomers as dataset, sets selected extra services to selected
customers and returns reservation dataset with stored extra services.
Parameters Sent
token: Key number given upon login to system
resData: Dataset returning from GetReservationDataSet is sent.
selectedExtras: Extra line among the Dataset returning from GetExtraServices method is selected which is
wanted to be added to reservation and DataSet is sent
selectedCustomers: If the customers want to get the selected extra ,dataset returning from
CreateSelectedCustomerTable method is sent by making the select field in it true
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
Returning Parameters
Returns reservation dataset with added extra services.
-
SetExtraServicesXML
Parameters Sent
token: Key number given upon login to system
resData: XML returning from GetReservationDataXML is sent.
selectedExtras: Extra line among the xml returning from GetExtraServicesxml method is selected which is
wanted to be added to reservation and xml is sent
selectedCustomers: If the customers want to get the selected extra ,xml returning from
CreateSelectedCustomerTableXML method is sent by making the select field in it true
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
Returning Parameters
Returns reservation xml with added extra services.
- SetPromotion
-
SetReservationCancel
Description: Cancels reservation with cancel reason.
Parameters Sent
token: Key number given upon login to system
resNo: Reservation number for canceling operation
canReasonID: Cancel reason id
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
Returning Parameters
Returns true or false for success or failure.
-
SetReservationCancelWithPenalty
Description: Cancels reservation with cancel reason.
Parameters Sent
token: Key number given upon login to system
resNo: Reservation number for canceling operation
canReasonID: Cancel reason id
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
Returning Parameters
Returns true or false for success or failure.
- SetReservationComplete
-
SetSupplemenDiscount
Description: By sending ResData returning from GetReservationDataSet and selected supplement discounts
selected from GetSupplemenDiscount, sets selected supplement discounts to reservation dataset and returns
reservation dataset
Parameters Sent
token: Key number given upon login to system
resData: Dataset returning from GetReservationDataSet is sent.
dsSelectedSupplementDiscount: Supplement discounts selected from dataset returning from
GetSupplementDiscount.
errorMsg: Used to control whether any fault will return or not. This is the parameter which is both returning
Returning Parameters
Returns reservation dataset with added supplement discounts.